public final class Entity extends AbstractDataTransferObject implements EntityContract
| Modifier and Type | Class and Description |
|---|---|
static class |
Entity.Builder
A builder which can be used to construct
Entity instances. |
static class |
Entity.Cache |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringpublic List<Principal> 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 List<EntityTypeContactInfo> 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 List<EntityExternalIdentifier> 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 List<EntityAffiliation> 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 List<EntityName> 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 List<EntityEmployment> 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 EntityPrivacyPreferences getPrivacyPreferences()
EntityContractEntityContract's privacy preferencesgetPrivacyPreferences in interface EntityContractEntityPrivacyPreferences for this EntityContract,
or null if none has been assigned.public EntityBioDemographics getBioDemographics()
EntityContractEntityContract's demographic informationgetBioDemographics in interface EntityContractEntityBioDemographicsContract for this EntityContract,
or null if none has been assigned.public List<EntityCitizenship> 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 EntityEmployment getPrimaryEmployment()
EntityContractEntityContract's employment informationgetPrimaryEmployment in interface EntityContractEntityEmploymentContract for this EntityContract,
or null if none has been assigned.public EntityAffiliation 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 EntityExternalIdentifier 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 List<EntityEthnicity> 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 List<EntityResidency> 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 List<EntityVisa> 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 Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic String getId()
IdentifiablegetId in interface Identifiablepublic EntityTypeContactInfo getEntityTypeContactInfoByTypeCode(String entityTypeCode)
EntityContractEntityContract's identity type for the given type codegetEntityTypeContactInfoByTypeCode in interface EntityContractentityTypeCode - the type codeCopyright © 2005–2016 The Kuali Foundation. All rights reserved.