public class PhoneAssociation extends Association implements ContactTyped
The Phone
type specific Association
.
This class also adds accessors for the contact type of the location.
Phone
,
Association
ContactTyped.ContactType
Constructor and Description |
---|
PhoneAssociation(EntityId entityId,
ResponseDictionary responseDictionary) |
PhoneAssociation(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() |
Phone |
getPhone() |
void |
setContactType(ContactTyped.ContactType contactType) |
getContactCreationDate, getEntityId, getHistorical, getValidFor, setContactCreationDate, setHistorical, setValidFor
public PhoneAssociation(EntityId entityId, ResponseDictionary responseDictionary)
public PhoneAssociation(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 Phone getPhone()
public Entity getEntity()
Association
PersonAssociation.getPerson()
,
BusinessAssociation.getBusiness()
,
getPhone()
, and
LocationAssociation.getLocation()
.getEntity
in class Association
PersonAssociation.getPerson()
,
BusinessAssociation.getBusiness()
,
getPhone()
,
LocationAssociation.getLocation()
public EntityId.EntityType getEntityIdType()
getEntityIdType
in class Association