@Entity public class EntityBo extends DataObjectBase implements EntityContract
objectId, versionNumber| Constructor and Description |
|---|
EntityBo() |
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersionNumbergetObjectIdpublic EntityBo()
public static EntityDefault toDefault(EntityBo bo)
public static EntityBo fromAndUpdate(Entity immutable, EntityBo toUpdate)
immutable - an immutable Entitypublic EntityTypeContactInfoBo getEntityTypeContactInfoByTypeCode(String entityTypeCode)
EntityContractEntityContract's identity type for the given type codegetEntityTypeContactInfoByTypeCode in interface EntityContractentityTypeCode - the type codepublic EntityEmploymentBo getPrimaryEmployment()
EntityContractEntityContract's employment informationgetPrimaryEmployment in interface EntityContractEntityEmploymentContract for this EntityContract,
or null if none has been assigned.public EntityAffiliationBo getDefaultAffiliation()
EntityContractEntityContract's default affiliationgetDefaultAffiliation in interface EntityContractEntityAffiliationContract 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)
EntityContractEntityContract's external identifier for the given type codegetEntityExternalIdentifier in interface EntityContractexternalIdentifierTypeCode - the type codeEntityExternalIdentifierContract for this EntityContract, or null if none has been assigned.public EntityNameContract getDefaultName()
EntityContractEntityContract's default namegetDefaultName in interface EntityContractEntityNameContract 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()
EntityContractEntityContract's privacy preferencesgetPrivacyPreferences in interface EntityContractEntityPrivacyPreferences for this EntityContract,
or null if none has been assigned.public EntityBioDemographicsBo getBioDemographics()
EntityContractEntityContract's demographic informationgetBioDemographics in interface EntityContractEntityBioDemographicsContract for this EntityContract,
or null if none has been assigned.public String getId()
IdentifiablegetId in interface Identifiablepublic List<EntityNameBo> getNames()
EntityContractEntityContract's namesgetNames in interface EntityContractEntityNameContractS 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()
EntityContractEntityContract's principalsgetPrincipals in interface EntityContractPrincipalContracts 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()
EntityContractEntityContract's external identifiersgetExternalIdentifiers in interface EntityContractEntityExternalIdentifierContractS 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()
EntityContractEntityContract's affiliationsgetAffiliations in interface EntityContractEntityAffiliationContractS 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()
EntityContractEntityContract's employment information ListgetEmploymentInformation in interface EntityContractEntityEmploymentContractS 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()
EntityContractEntityContract's identity typesgetEntityTypeContactInfos in interface EntityContractEntityTypeContactInfoContractS 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()
EntityContractEntityContract's citizenship informationgetCitizenships in interface EntityContractEntityCitizenshipContracts 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()
EntityContractEntityContract's ethnicitiesgetEthnicities in interface EntityContractEntityEthnicityContractS 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()
EntityContractEntityContract's residenciesgetResidencies in interface EntityContractEntityResidencyContractS 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()
EntityContractEntityContract's visasgetVisas in interface EntityContractEntityVisaContractS 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()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.