public class LocationAssociation extends Association implements ContactTyped
The Location
type specific Association
.
This class also adds accessors for the contact type of the location.
Location
,
Association
ContactTyped.ContactType
Constructor and Description |
---|
LocationAssociation(EntityId entityId,
ResponseDictionary responseDictionary) |
LocationAssociation(EntityId entityId,
ResponseDictionary dictionary,
TimePeriod validFor,
java.lang.Boolean historical,
java.util.Date contactCreationDate,
ContactTyped.ContactType contactType) |
Modifier and Type | Method and Description |
---|---|
ContactTyped.ContactType |
getContactType() |
Entity |
getEntity() |
EntityId.EntityType |
getEntityIdType() |
Location |
getLocation() |
void |
setContactType(ContactTyped.ContactType contactType) |
getContactCreationDate, getEntityId, getHistorical, getValidFor, setContactCreationDate, setHistorical, setValidFor
public LocationAssociation(EntityId entityId, ResponseDictionary responseDictionary)
public LocationAssociation(EntityId entityId, ResponseDictionary dictionary, TimePeriod validFor, java.lang.Boolean historical, java.util.Date contactCreationDate, ContactTyped.ContactType contactType)
public ContactTyped.ContactType getContactType()
getContactType
in interface ContactTyped
public void setContactType(ContactTyped.ContactType contactType)
public Location getLocation()
public Entity getEntity()
Association
PersonAssociation.getPerson()
,
BusinessAssociation.getBusiness()
,
PhoneAssociation.getPhone()
, and
getLocation()
.getEntity
in class Association
PersonAssociation.getPerson()
,
BusinessAssociation.getBusiness()
,
PhoneAssociation.getPhone()
,
getLocation()
public EntityId.EntityType getEntityIdType()
getEntityIdType
in class Association