public class LocationProxy extends EntityProxy implements Location
EntityProxy
for Location
entities.EntityProxy
,
Location
,
Entity
Location.AddressType, Location.AddressUsage, Location.BoxType, Location.DeliveryPoint, Location.LatLong, Location.LocationType, Location.NotReceivingMailReason
Constructor and Description |
---|
LocationProxy(EntityId entityId,
Client client) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress() |
Location.AddressType |
getAddressType() |
java.lang.String |
getAptNumber() |
java.lang.String |
getAptType() |
java.lang.String |
getBoxNumber() |
Location.BoxType |
getBoxType() |
java.lang.String |
getCity() |
java.lang.String |
getCountryCode() |
java.lang.Boolean |
getDeliverable() |
Location.DeliveryPoint |
getDeliveryPoint() |
java.lang.String |
getHouse() |
Location.LatLong |
getLatLong() |
Location.NotReceivingMailReason |
getNotReceivingMailReason() |
java.lang.String |
getPostalCode() |
java.lang.String |
getPostDir() |
java.lang.String |
getPreDir() |
java.lang.Boolean |
getReceivingMail() |
java.lang.String |
getStandardAddressLine1() |
java.lang.String |
getStandardAddressLine2() |
java.lang.String |
getStandardAddressLocation() |
java.lang.String |
getStateCode() |
java.lang.String |
getStreetName() |
java.lang.String |
getStreetType() |
Location.LocationType |
getType() |
Location.AddressUsage |
getUsage() |
TimePeriod |
getValidFor() |
java.lang.String |
getZip4() |
void |
load()
Causes this instance to load its data by contacting
the remote service and requesting information.
|
getAssociations, getBusinessAssociations, getBusinesses, getEntities, getId, getLocationAssociations, getLocations, getName, getPeople, getPersonAssociations, getPhoneAssociations, getPhones, isLoaded, isProxy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssociations, getBusinessAssociations, getBusinesses, getEntities, getId, getLocationAssociations, getLocations, getName, getPeople, getPersonAssociations, getPhoneAssociations, getPhones, isLoaded, isProxy
public void load() throws FindException
Entity
Causes this instance to load its data by contacting the remote service and requesting information. Once loaded, subsequent calls to this method have no effect.
This method is useful for proxy entities found at the edge of the graph.
load
in interface Entity
load
in class EntityProxy
FindException
- If the lookup fails before it is able to generate a Response
object.Entity.isProxy()
,
Entity.isLoaded()
,
EntityProxy
public Location.LocationType getType()
public java.lang.String getAddress()
getAddress
in interface Location
public java.lang.String getStandardAddressLine1()
getStandardAddressLine1
in interface Location
public java.lang.String getStandardAddressLine2()
getStandardAddressLine2
in interface Location
public java.lang.String getStandardAddressLocation()
getStandardAddressLocation
in interface Location
public java.lang.String getPostalCode()
getPostalCode
in interface Location
public java.lang.String getStateCode()
getStateCode
in interface Location
public java.lang.String getCountryCode()
getCountryCode
in interface Location
public java.lang.String getAptType()
getAptType
in interface Location
public java.lang.String getStreetName()
getStreetName
in interface Location
public java.lang.String getStreetType()
getStreetType
in interface Location
public java.lang.String getPostDir()
getPostDir
in interface Location
public java.lang.String getAptNumber()
getAptNumber
in interface Location
public java.lang.String getBoxNumber()
getBoxNumber
in interface Location
public TimePeriod getValidFor()
getValidFor
in interface Location
public java.lang.Boolean getReceivingMail()
getReceivingMail
in interface Location
public Location.NotReceivingMailReason getNotReceivingMailReason()
getNotReceivingMailReason
in interface Location
public Location.AddressUsage getUsage()
public Location.DeliveryPoint getDeliveryPoint()
getDeliveryPoint
in interface Location
public Location.BoxType getBoxType()
getBoxType
in interface Location
public Location.AddressType getAddressType()
getAddressType
in interface Location
public Location.LatLong getLatLong()
getLatLong
in interface Location
public java.lang.Boolean getDeliverable()
getDeliverable
in interface Location