Interface EntityContract
- All Superinterfaces:
GloballyUnique,Identifiable,Inactivatable,Versioned
- All Known Implementing Classes:
Entity,Entity.Builder
Represents an Entity (person/vendor/system) within the Rice system.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionList<? extends EntityAffiliationContract>Gets thisEntityContract's affiliationsGets thisEntityContract's demographic informationList<? extends EntityCitizenshipContract>Gets thisEntityContract's citizenship informationGets thisEntityContract's default affiliationGets thisEntityContract's default nameList<? extends EntityEmploymentContract>Gets thisEntityContract's employment information ListgetEntityExternalIdentifier(String externalIdentifierTypeCode) Gets thisEntityContract's external identifier for the given type codegetEntityTypeContactInfoByTypeCode(String entityTypeCode) Gets thisEntityContract's identity type for the given type codeList<? extends EntityTypeContactInfoContract>Gets thisEntityContract's identity typesList<? extends EntityEthnicityContract>Gets thisEntityContract's ethnicitiesList<? extends EntityExternalIdentifierContract>Gets thisEntityContract's external identifiersList<? extends EntityNameContract>getNames()Gets thisEntityContract's namesGets thisEntityContract's employment informationList<? extends PrincipalContract>Gets thisEntityContract's principalsGets thisEntityContract's privacy preferencesList<? extends EntityResidencyContract>Gets thisEntityContract's residenciesList<? extends EntityVisaContract>getVisas()Gets thisEntityContract's visasMethods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectIdMethods inherited from interface org.kuali.rice.core.api.mo.common.Identifiable
getIdMethods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActiveMethods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
-
Method Details
-
getEntityTypeContactInfos
List<? extends EntityTypeContactInfoContract> getEntityTypeContactInfos()Gets thisEntityContract's identity types- Returns:
- the List of
EntityTypeContactInfoContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getPrincipals
List<? extends PrincipalContract> getPrincipals()Gets thisEntityContract's principals- Returns:
- the List of
PrincipalContracts for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getExternalIdentifiers
List<? extends EntityExternalIdentifierContract> getExternalIdentifiers()Gets thisEntityContract's external identifiers- Returns:
- the List of
EntityExternalIdentifierContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getAffiliations
List<? extends EntityAffiliationContract> getAffiliations()Gets thisEntityContract's affiliations- Returns:
- the List of
EntityAffiliationContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getNames
List<? extends EntityNameContract> getNames()Gets thisEntityContract's names- Returns:
- the List of
EntityNameContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getEmploymentInformation
List<? extends EntityEmploymentContract> getEmploymentInformation()Gets thisEntityContract's employment information List- Returns:
- the List of
EntityEmploymentContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getPrivacyPreferences
EntityPrivacyPreferencesContract getPrivacyPreferences()Gets thisEntityContract's privacy preferences- Returns:
- the
EntityPrivacyPreferencesfor thisEntityContract, or null if none has been assigned.
-
getBioDemographics
EntityBioDemographicsContract getBioDemographics()Gets thisEntityContract's demographic information- Returns:
- the
EntityBioDemographicsContractfor thisEntityContract, or null if none has been assigned.
-
getCitizenships
List<? extends EntityCitizenshipContract> getCitizenships()Gets thisEntityContract's citizenship information- Returns:
- the List of
EntityCitizenshipContracts for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getEntityTypeContactInfoByTypeCode
Gets thisEntityContract's identity type for the given type code- Parameters:
entityTypeCode- the type code- Returns:
- the EntityEntityType object corresponding to the given code or null if this identity does not have data for that type.
-
getPrimaryEmployment
EntityEmploymentContract getPrimaryEmployment()Gets thisEntityContract's employment information- Returns:
- the primary
EntityEmploymentContractfor thisEntityContract, or null if none has been assigned.
-
getDefaultAffiliation
EntityAffiliationContract getDefaultAffiliation()Gets thisEntityContract's default affiliation- Returns:
- the default
EntityAffiliationContractfor the identity. If no default is defined, then it returns the first one found. If none are defined, it returns null.
-
getEntityExternalIdentifier
Gets thisEntityContract's external identifier for the given type code- Parameters:
externalIdentifierTypeCode- the type code- Returns:
- the
EntityExternalIdentifierContractfor thisEntityContract, or null if none has been assigned.
-
getDefaultName
EntityNameContract getDefaultName()Gets thisEntityContract's default name- Returns:
- the default
EntityNameContractrecord for the identity. If no default is defined, then it returns the first one found. If none are defined, it returns null.
-
getEthnicities
List<? extends EntityEthnicityContract> getEthnicities()Gets thisEntityContract's ethnicities- Returns:
- the List of
EntityEthnicityContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getResidencies
List<? extends EntityResidencyContract> getResidencies()Gets thisEntityContract's residencies- Returns:
- the List of
EntityResidencyContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-
getVisas
List<? extends EntityVisaContract> getVisas()Gets thisEntityContract's visas- Returns:
- the List of
EntityVisaContractS for thisEntityContract. The returned List will never be null, an empty List will be assigned and returned if needed.
-