@Entity public class EntityBo extends DataObjectBase implements EntityContract
objectId, versionNumber
Constructor and Description |
---|
EntityBo() |
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public EntityBo()
public static EntityDefault toDefault(EntityBo bo)
public static EntityBo fromAndUpdate(Entity immutable, EntityBo toUpdate)
immutable
- an immutable Entitypublic EntityTypeContactInfoBo getEntityTypeContactInfoByTypeCode(String entityTypeCode)
EntityContract
EntityContract
's identity type for the given type codegetEntityTypeContactInfoByTypeCode
in interface EntityContract
entityTypeCode
- the type codepublic EntityEmploymentBo getPrimaryEmployment()
EntityContract
EntityContract
's employment informationgetPrimaryEmployment
in interface EntityContract
EntityEmploymentContract
for this EntityContract
,
or null if none has been assigned.public EntityAffiliationBo getDefaultAffiliation()
EntityContract
EntityContract
's default affiliationgetDefaultAffiliation
in interface EntityContract
EntityAffiliationContract
for the identity. If no default is defined, then
it returns the first one found. If none are defined, it returns null.public EntityExternalIdentifierBo getEntityExternalIdentifier(String externalIdentifierTypeCode)
EntityContract
EntityContract
's external identifier for the given type codegetEntityExternalIdentifier
in interface EntityContract
externalIdentifierTypeCode
- the type codeEntityExternalIdentifierContract
for this EntityContract
, or null if none has been assigned.public EntityNameContract getDefaultName()
EntityContract
EntityContract
's default namegetDefaultName
in interface EntityContract
EntityNameContract
record for the identity. If no default is defined, then
it returns the first one found. If none are defined, it returns null.public EntityPrivacyPreferencesBo getPrivacyPreferences()
EntityContract
EntityContract
's privacy preferencesgetPrivacyPreferences
in interface EntityContract
EntityPrivacyPreferences
for this EntityContract
,
or null if none has been assigned.public EntityBioDemographicsBo getBioDemographics()
EntityContract
EntityContract
's demographic informationgetBioDemographics
in interface EntityContract
EntityBioDemographicsContract
for this EntityContract
,
or null if none has been assigned.public String getId()
Identifiable
getId
in interface Identifiable
public List<EntityNameBo> getNames()
EntityContract
EntityContract
's namesgetNames
in interface EntityContract
EntityNameContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setNames(List<EntityNameBo> names)
public List<PrincipalBo> getPrincipals()
EntityContract
EntityContract
's principalsgetPrincipals
in interface EntityContract
PrincipalContract
s for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setPrincipals(List<PrincipalBo> principals)
public List<EntityExternalIdentifierBo> getExternalIdentifiers()
EntityContract
EntityContract
's external identifiersgetExternalIdentifiers
in interface EntityContract
EntityExternalIdentifierContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setExternalIdentifiers(List<EntityExternalIdentifierBo> externalIdentifiers)
public List<EntityAffiliationBo> getAffiliations()
EntityContract
EntityContract
's affiliationsgetAffiliations
in interface EntityContract
EntityAffiliationContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setAffiliations(List<EntityAffiliationBo> affiliations)
public List<EntityEmploymentBo> getEmploymentInformation()
EntityContract
EntityContract
's employment information ListgetEmploymentInformation
in interface EntityContract
EntityEmploymentContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setEmploymentInformation(List<EntityEmploymentBo> employmentInformation)
public List<EntityTypeContactInfoBo> getEntityTypeContactInfos()
EntityContract
EntityContract
's identity typesgetEntityTypeContactInfos
in interface EntityContract
EntityTypeContactInfoContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setEntityTypeContactInfos(List<EntityTypeContactInfoBo> entityTypeContactInfos)
public void setPrivacyPreferences(EntityPrivacyPreferencesBo privacyPreferences)
public void setBioDemographics(EntityBioDemographicsBo bioDemographics)
public List<EntityCitizenshipBo> getCitizenships()
EntityContract
EntityContract
's citizenship informationgetCitizenships
in interface EntityContract
EntityCitizenshipContract
s for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setCitizenships(List<EntityCitizenshipBo> citizenships)
public List<EntityEthnicityBo> getEthnicities()
EntityContract
EntityContract
's ethnicitiesgetEthnicities
in interface EntityContract
EntityEthnicityContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setEthnicities(List<EntityEthnicityBo> ethnicities)
public List<EntityResidencyBo> getResidencies()
EntityContract
EntityContract
's residenciesgetResidencies
in interface EntityContract
EntityResidencyContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setResidencies(List<EntityResidencyBo> residencies)
public List<EntityVisaBo> getVisas()
EntityContract
EntityContract
's visasgetVisas
in interface EntityContract
EntityVisaContract
S for this EntityContract
.
The returned List will never be null, an empty List will be assigned and returned if needed.public void setVisas(List<EntityVisaBo> visas)
public boolean getActive()
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.