public class PersonImpl extends EntityImpl implements Person
Person.AgeRange, Person.Gender, Person.Name, Person.PersonType
Constructor and Description |
---|
PersonImpl() |
PersonImpl(EntityId id) |
Modifier and Type | Method and Description |
---|---|
Person.AgeRange |
getAgeRange() |
Location |
getBestLocation() |
LocationAssociation |
getBestLocationAssociation() |
java.lang.String |
getBestName() |
Person.Gender |
getGender() |
java.lang.String |
getName()
A standardized method for getting the primary, human readable,
formatted String version of this entity.
|
java.util.List<Person.Name> |
getNames() |
Person.PersonType |
getType() |
void |
setAgeRange(Person.AgeRange ageRange) |
void |
setBestLocationAssociation(LocationAssociation bestLocationAssociation) |
void |
setBestName(java.lang.String bestName) |
void |
setGender(Person.Gender gender) |
void |
setNames(java.util.List<Person.Name> names) |
void |
setType(Person.PersonType type) |
getAssociations, getBusinessAssociations, getBusinesses, getEntities, getId, getLocationAssociations, getLocations, getPeople, getPersonAssociations, getPhoneAssociations, getPhones, isLoaded, isProxy, load, setBusinessAssociations, setId, setLocationAssociations, setPersonAssociations, setPhoneAssociations
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAssociations, getBusinessAssociations, getBusinesses, getEntities, getId, getLocationAssociations, getLocations, getPeople, getPersonAssociations, getPhoneAssociations, getPhones, isLoaded, isProxy, load
public PersonImpl()
public PersonImpl(EntityId id)
public Person.PersonType getType()
public void setType(Person.PersonType type)
public java.util.List<Person.Name> getNames()
public void setNames(java.util.List<Person.Name> names)
public Person.AgeRange getAgeRange()
getAgeRange
in interface Person
public void setAgeRange(Person.AgeRange ageRange)
public Person.Gender getGender()
public void setGender(Person.Gender gender)
public java.lang.String getBestName()
getBestName
in interface Person
public void setBestName(java.lang.String bestName)
public LocationAssociation getBestLocationAssociation()
getBestLocationAssociation
in interface Person
public void setBestLocationAssociation(LocationAssociation bestLocationAssociation)
public Location getBestLocation()
getBestLocation
in interface Person
public java.lang.String getName()
Entity
getName
in interface Entity
getName
in class EntityImpl