|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.DataObjectBase org.kuali.rice.kim.impl.identity.entity.EntityBo
@Entity public class EntityBo
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase |
---|
objectId, versionNumber |
Constructor Summary | |
---|---|
EntityBo()
|
Methods inherited from class org.kuali.rice.krad.bo.DataObjectBase |
---|
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
---|
getVersionNumber |
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
---|
getObjectId |
Constructor Detail |
---|
public EntityBo()
Method Detail |
---|
public static Entity to(EntityBo bo)
public static EntityDefault toDefault(EntityBo bo)
public static EntityBo from(Entity immutable)
public static EntityBo fromAndUpdate(Entity immutable, EntityBo toUpdate)
immutable
- an immutable Entity
public EntityTypeContactInfoBo getEntityTypeContactInfoByTypeCode(String entityTypeCode)
EntityContract
EntityContract
's identity type for the given type code
getEntityTypeContactInfoByTypeCode
in interface EntityContract
entityTypeCode
- the type code
public EntityEmploymentBo getPrimaryEmployment()
EntityContract
EntityContract
's employment information
getPrimaryEmployment
in interface EntityContract
EntityEmploymentContract
for this EntityContract
,
or null if none has been assigned.public EntityAffiliationBo getDefaultAffiliation()
EntityContract
EntityContract
's default affiliation
getDefaultAffiliation
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 code
getEntityExternalIdentifier
in interface EntityContract
externalIdentifierTypeCode
- the type code
EntityExternalIdentifierContract
for this EntityContract
, or null if none has been assigned.public EntityNameContract getDefaultName()
EntityContract
EntityContract
's default name
getDefaultName
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 preferences
getPrivacyPreferences
in interface EntityContract
EntityPrivacyPreferences
for this EntityContract
,
or null if none has been assigned.public EntityBioDemographicsBo getBioDemographics()
EntityContract
EntityContract
's demographic information
getBioDemographics
in interface EntityContract
EntityBioDemographicsContract
for this EntityContract
,
or null if none has been assigned.public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
public List<EntityNameBo> getNames()
EntityContract
EntityContract
's names
getNames
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 principals
getPrincipals
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 identifiers
getExternalIdentifiers
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 affiliations
getAffiliations
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 List
getEmploymentInformation
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 types
getEntityTypeContactInfos
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 information
getCitizenships
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 ethnicities
getEthnicities
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 residencies
getResidencies
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 visas
getVisas
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |