com.citygrid.content.places.detail
Class CGPlacesDetailLocation

java.lang.Object
  extended by com.citygrid.content.places.detail.CGPlacesDetailLocation
All Implemented Interfaces:
CGLocation, HasLocationIdAndImpressionId, Serializable

public class CGPlacesDetailLocation
extends Object
implements CGLocation, Serializable

See Also:
Serialized Form

Nested Class Summary
static class CGPlacesDetailLocation.Builder
           
 
Field Summary
private  CGPlacesDetailAttribute[] attributes
           
private  CGBaseLocation baseLocation
           
private  String businessHours
           
private  String callPhone
           
private  CGPlacesDetailCategory[] categories
           
private  CGPlacesDetailCustomerContent customerContent
           
private  boolean displayAd
           
private  URI displayUrl
           
private  CGPlacesDetailEditorial[] editorials
           
private  CGPlacesDetailImage[] images
           
private  int infoUsaId
           
private  String[] markets
           
private  String[] neighborhoods
           
private  CGPlacesDetailOffer[] offers
           
private  String parking
           
private  String publicId
           
private  int referenceId
           
private  CGPlacesDetailReviews reviews
           
private  String teaser
           
private  CGPlacesDetailTip[] tips
           
private  CGPlacesDetailUrls urls
           
 
Constructor Summary
private CGPlacesDetailLocation(CGPlacesDetailLocation.Builder builder)
           
 
Method Summary
 CGAdsTracker adsTracker(String muid, String mobileType)
          Convenience method to provider a builder for Ads tracking, i.e.
 boolean equals(Object o)
           
 CGAddress getAddress()
           
 CGPlacesDetailAttribute[] getAttributes()
           
 String getBusinessHours()
           
 String getCallPhone()
           
 CGPlacesDetailCategory[] getCategories()
           
 CGPlacesDetailCustomerContent getCustomerContent()
           
 URI getDisplayUrl()
           
 CGPlacesDetailEditorial[] getEditorials()
           
 URI getImage()
           
 CGPlacesDetailImage[] getImages()
           
 String getImpressionId()
           
 int getInfoUsaId()
           
 CGLatLon getLatlon()
           
 int getLocationId()
           
 String[] getMarkets()
           
 String getName()
           
 String[] getNeighborhoods()
           
 CGPlacesDetailOffer[] getOffers()
           
 String getParking()
           
 String getPhone()
           
 String getPublicId()
           
 int getRating()
           
 int getReferenceId()
           
 CGPlacesDetailReviews getReviews()
           
 String getTeaser()
           
 CGPlacesDetailTip[] getTips()
           
 CGPlacesDetailUrls getUrls()
           
 int hashCode()
           
 boolean isDisplayAd()
           
 String toString()
           
 void track(String muid, String mobileType, CGAdsTrackerActionTarget actionTarget)
          Convenience method to track current location with a CGAdsTrackerActionTarget
 void track(String muid, String mobileType, CGAdsTrackerActionTarget actionTarget, String placement)
          Convenience method to track current location with a CGAdsTrackerActionTarget and a placement
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

CGPlacesDetailLocation

private CGPlacesDetailLocation(CGPlacesDetailLocation.Builder builder)
Method Detail

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.