com.citygrid.content.places.detail
Class CGPlacesDetailLocation
java.lang.Object
com.citygrid.content.places.detail.CGPlacesDetailLocation
- All Implemented Interfaces:
- CGLocation, HasLocationIdAndImpressionId, Serializable
public class CGPlacesDetailLocation
- extends Object
- implements CGLocation, Serializable
- See Also:
- Serialized Form
baseLocation
private CGBaseLocation baseLocation
referenceId
private int referenceId
displayAd
private boolean displayAd
infoUsaId
private int infoUsaId
publicId
private String publicId
teaser
private String teaser
callPhone
private String callPhone
displayUrl
private URI displayUrl
markets
private String[] markets
neighborhoods
private String[] neighborhoods
urls
private CGPlacesDetailUrls urls
customerContent
private CGPlacesDetailCustomerContent customerContent
offers
private CGPlacesDetailOffer[] offers
categories
private CGPlacesDetailCategory[] categories
attributes
private CGPlacesDetailAttribute[] attributes
businessHours
private String businessHours
parking
private String parking
tips
private CGPlacesDetailTip[] tips
images
private CGPlacesDetailImage[] images
editorials
private CGPlacesDetailEditorial[] editorials
reviews
private CGPlacesDetailReviews reviews
CGPlacesDetailLocation
private CGPlacesDetailLocation(CGPlacesDetailLocation.Builder builder)
getLocationId
public int getLocationId()
- Specified by:
getLocationId
in interface HasLocationIdAndImpressionId
getImpressionId
public String getImpressionId()
- Specified by:
getImpressionId
in interface HasLocationIdAndImpressionId
getName
public String getName()
- Specified by:
getName
in interface CGLocation
getAddress
public CGAddress getAddress()
- Specified by:
getAddress
in interface CGLocation
getLatlon
public CGLatLon getLatlon()
- Specified by:
getLatlon
in interface CGLocation
getImage
public URI getImage()
- Specified by:
getImage
in interface CGLocation
getPhone
public String getPhone()
- Specified by:
getPhone
in interface CGLocation
getRating
public int getRating()
- Specified by:
getRating
in interface CGLocation
getReferenceId
public int getReferenceId()
isDisplayAd
public boolean isDisplayAd()
getInfoUsaId
public int getInfoUsaId()
getPublicId
public String getPublicId()
getTeaser
public String getTeaser()
getCallPhone
public String getCallPhone()
getDisplayUrl
public URI getDisplayUrl()
getMarkets
public String[] getMarkets()
getNeighborhoods
public String[] getNeighborhoods()
getUrls
public CGPlacesDetailUrls getUrls()
getCustomerContent
public CGPlacesDetailCustomerContent getCustomerContent()
getOffers
public CGPlacesDetailOffer[] getOffers()
getCategories
public CGPlacesDetailCategory[] getCategories()
getAttributes
public CGPlacesDetailAttribute[] getAttributes()
getBusinessHours
public String getBusinessHours()
getParking
public String getParking()
getTips
public CGPlacesDetailTip[] getTips()
getImages
public CGPlacesDetailImage[] getImages()
getEditorials
public CGPlacesDetailEditorial[] getEditorials()
getReviews
public CGPlacesDetailReviews getReviews()
adsTracker
public CGAdsTracker adsTracker(String muid,
String mobileType)
throws CGException
- Convenience method to provider a builder for Ads tracking, i.e.
CGAdsTracker
for current location.
- Throws:
CGException
track
public void track(String muid,
String mobileType,
CGAdsTrackerActionTarget actionTarget)
throws CGException
- Convenience method to track current location with a
CGAdsTrackerActionTarget
- Parameters:
actionTarget
-
- Throws:
CGException
track
public void track(String muid,
String mobileType,
CGAdsTrackerActionTarget actionTarget,
String placement)
throws CGException
- Convenience method to track current location with a
CGAdsTrackerActionTarget
and a placement
- Parameters:
actionTarget
- placement
-
- Throws:
CGException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.