org.kuali.rice.kim.bo.entity.impl
Class KimEntityImpl

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kim.bo.entity.impl.KimEntityDataBase
              extended by org.kuali.rice.kim.bo.entity.impl.KimInactivatableEntityDataBase
                  extended by org.kuali.rice.kim.bo.entity.impl.KimEntityImpl
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, KimEntity, BusinessObject, Inactivateable, PersistableBusinessObject

public class KimEntityImpl
extends KimInactivatableEntityDataBase
implements KimEntity

This is a description of what this class does - jonathan don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  List<KimEntityAffiliationImpl> affiliations
           
protected  KimEntityBioDemographicsImpl bioDemographics
           
protected  List<KimEntityCitizenshipImpl> citizenships
           
protected  List<KimEntityEmploymentInformationImpl> employmentInformation
           
protected  String entityId
           
protected  List<KimEntityEntityTypeImpl> entityTypes
           
protected  List<KimEntityEthnicityImpl> ethnicities
           
protected  List<KimEntityExternalIdentifierImpl> externalIdentifiers
           
protected  List<KimEntityNameImpl> names
           
protected  List<KimPrincipalImpl> principals
           
protected  KimEntityPrivacyPreferencesImpl privacyPreferences
           
protected  List<KimEntityResidencyImpl> residencies
           
private static long serialVersionUID
           
protected  List<KimEntityVisaImpl> visas
           
 
Fields inherited from class org.kuali.rice.kim.bo.entity.impl.KimInactivatableEntityDataBase
active
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
KimEntityImpl()
           
 
Method Summary
 List<KimEntityAffiliationImpl> getAffiliations()
          Gets this KimEntity's affiliations
 KimEntityBioDemographicsImpl getBioDemographics()
          Gets this KimEntity's demographic information
 List<KimEntityCitizenshipImpl> getCitizenships()
          Gets this KimEntity's citizenship information
 KimEntityAffiliationImpl getDefaultAffiliation()
          This overridden method ...
 KimEntityNameImpl getDefaultName()
          This overridden method ...
 List<KimEntityEmploymentInformationImpl> getEmploymentInformation()
          Gets this KimEntity's employment information List
 KimEntityExternalIdentifierImpl getEntityExternalIdentifier(String externalIdentifierTypeCode)
          This overridden method ...
 String getEntityId()
          Gets this KimEntity's entity id.
 KimEntityEntityTypeImpl getEntityType(String entityTypeCode)
          Gets this KimEntity's entity type for the given type code
 List<KimEntityEntityTypeImpl> getEntityTypes()
          Gets this KimEntity's entity types
 List<KimEntityEthnicityImpl> getEthnicities()
          Gets this KimEntity's ethnicities
 List<KimEntityExternalIdentifierImpl> getExternalIdentifiers()
          Gets this KimEntity's external identifiers
 List<KimEntityNameImpl> getNames()
          Gets this KimEntity's names
 KimEntityEmploymentInformationImpl getPrimaryEmployment()
          This overridden method ...
 List<KimPrincipalImpl> getPrincipals()
          Gets this KimEntity's principals
 KimEntityPrivacyPreferencesImpl getPrivacyPreferences()
          Gets this KimEntity's privacy preferences
 List<KimEntityResidencyImpl> getResidencies()
          Gets this KimEntity's residencies
 List<KimEntityVisaImpl> getVisas()
          Gets this KimEntity's visas
 void setAffiliations(List<KimEntityAffiliationImpl> affiliations)
           
 void setBioDemographics(KimEntityBioDemographicsImpl bioDemographics)
           
 void setCitizenships(List<KimEntityCitizenshipImpl> citizenships)
           
 void setEmploymentInformation(List<KimEntityEmploymentInformationImpl> employmentInformation)
           
 void setEntityId(String entityId)
           
 void setEntityTypes(List<KimEntityEntityTypeImpl> entityTypes)
           
 void setEthnicities(List<KimEntityEthnicityImpl> ethnicities)
           
 void setExternalIdentifiers(List<KimEntityExternalIdentifierImpl> externalIdentifiers)
           
 void setNames(List<KimEntityNameImpl> names)
           
 void setPrincipals(List<KimPrincipalImpl> principals)
           
 void setPrivacyPreferences(KimEntityPrivacyPreferencesImpl privacyPreferences)
           
 void setResidencies(List<KimEntityResidencyImpl> residencies)
           
 void setVisas(List<KimEntityVisaImpl> visas)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kim.bo.entity.impl.KimInactivatableEntityDataBase
isActive, setActive
 
Methods inherited from class org.kuali.rice.kim.bo.entity.impl.KimEntityDataBase
getDefaultItem
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.Inactivateable
isActive, setActive
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entityId

protected String entityId

names

protected List<KimEntityNameImpl> names

entityTypes

protected List<KimEntityEntityTypeImpl> entityTypes

principals

protected List<KimPrincipalImpl> principals

externalIdentifiers

protected List<KimEntityExternalIdentifierImpl> externalIdentifiers

affiliations

protected List<KimEntityAffiliationImpl> affiliations

employmentInformation

protected List<KimEntityEmploymentInformationImpl> employmentInformation

privacyPreferences

protected KimEntityPrivacyPreferencesImpl privacyPreferences

bioDemographics

protected KimEntityBioDemographicsImpl bioDemographics

citizenships

protected List<KimEntityCitizenshipImpl> citizenships

ethnicities

protected List<KimEntityEthnicityImpl> ethnicities

residencies

protected List<KimEntityResidencyImpl> residencies

visas

protected List<KimEntityVisaImpl> visas
Constructor Detail

KimEntityImpl

public KimEntityImpl()
Method Detail

getEntityId

public String getEntityId()
Description copied from interface: KimEntity
Gets this KimEntity's entity id.

Specified by:
getEntityId in interface KimEntity
Returns:
the entityId

setEntityId

public void setEntityId(String entityId)
Parameters:
entityId - the entityId to set

getEntityTypes

public List<KimEntityEntityTypeImpl> getEntityTypes()
Description copied from interface: KimEntity
Gets this KimEntity's entity types

Specified by:
getEntityTypes in interface KimEntity
Returns:
the entityTypes

setEntityTypes

public void setEntityTypes(List<KimEntityEntityTypeImpl> entityTypes)
Parameters:
entityTypes - the entityTypes to set

toStringMapper

protected LinkedHashMap toStringMapper()
Specified by:
toStringMapper in class BusinessObjectBase
Returns:
Map containing the fieldValues of the key fields for this class, indexed by fieldName
See Also:
org.kuali.core.bo.BusinessObjectBase#toStringMapper()

getExternalIdentifiers

public List<KimEntityExternalIdentifierImpl> getExternalIdentifiers()
Description copied from interface: KimEntity
Gets this KimEntity's external identifiers

Specified by:
getExternalIdentifiers in interface KimEntity
Returns:
the externalIdentifiers

setExternalIdentifiers

public void setExternalIdentifiers(List<KimEntityExternalIdentifierImpl> externalIdentifiers)
Parameters:
externalIdentifiers - the externalIdentifiers to set

getPrivacyPreferences

public KimEntityPrivacyPreferencesImpl getPrivacyPreferences()
Description copied from interface: KimEntity
Gets this KimEntity's privacy preferences

Specified by:
getPrivacyPreferences in interface KimEntity
Returns:
the privacyPreferences

setPrivacyPreferences

public void setPrivacyPreferences(KimEntityPrivacyPreferencesImpl privacyPreferences)
Parameters:
privacyPreferences - the privacyPreferences to set

getBioDemographics

public KimEntityBioDemographicsImpl getBioDemographics()
Description copied from interface: KimEntity
Gets this KimEntity's demographic information

Specified by:
getBioDemographics in interface KimEntity
Returns:
the bioDemographics

setBioDemographics

public void setBioDemographics(KimEntityBioDemographicsImpl bioDemographics)
Parameters:
bioDemographics - the bioDemographics to set

getAffiliations

public List<KimEntityAffiliationImpl> getAffiliations()
Description copied from interface: KimEntity
Gets this KimEntity's affiliations

Specified by:
getAffiliations in interface KimEntity
Returns:
the affiliations

setAffiliations

public void setAffiliations(List<KimEntityAffiliationImpl> affiliations)
Parameters:
affiliations - the affiliations to set

getEmploymentInformation

public List<KimEntityEmploymentInformationImpl> getEmploymentInformation()
Description copied from interface: KimEntity
Gets this KimEntity's employment information List

Specified by:
getEmploymentInformation in interface KimEntity
Returns:
the employmentInformation

setEmploymentInformation

public void setEmploymentInformation(List<KimEntityEmploymentInformationImpl> employmentInformation)
Parameters:
employmentInformation - the employmentInformation to set

getPrincipals

public List<KimPrincipalImpl> getPrincipals()
Description copied from interface: KimEntity
Gets this KimEntity's principals

Specified by:
getPrincipals in interface KimEntity
Returns:
the List of KimPrincipalS for this KimEntity. The returned List will never be null, an empty List will be assigned and returned if needed.
See Also:
KimEntity.getPrincipals()

getEntityType

public KimEntityEntityTypeImpl getEntityType(String entityTypeCode)
Description copied from interface: KimEntity
Gets this KimEntity's entity type for the given type code

Specified by:
getEntityType in interface KimEntity
Parameters:
entityTypeCode - the type code
Returns:
the EntityEntityType object corresponding to the given code or null if this entity does not have data for that type.
See Also:
KimEntity.getEntityType(java.lang.String)

getDefaultAffiliation

public KimEntityAffiliationImpl getDefaultAffiliation()
This overridden method ...

Specified by:
getDefaultAffiliation in interface KimEntity
Returns:
the default KimEntityAffiliation for the entity. If no default is defined, then it returns the first one found. If none are defined, it returns null.
See Also:
KimEntity.getDefaultAffiliation()

getEntityExternalIdentifier

public KimEntityExternalIdentifierImpl getEntityExternalIdentifier(String externalIdentifierTypeCode)
This overridden method ...

Specified by:
getEntityExternalIdentifier in interface KimEntity
Parameters:
externalIdentifierTypeCode - the type code
Returns:
the KimEntityExternalIdentifier for this KimEntity, or null if none has been assigned.
See Also:
KimEntity.getEntityExternalIdentifier(java.lang.String)

getPrimaryEmployment

public KimEntityEmploymentInformationImpl getPrimaryEmployment()
This overridden method ...

Specified by:
getPrimaryEmployment in interface KimEntity
Returns:
the primary KimEntityEmploymentInformation for this KimEntity, or null if none has been assigned.
See Also:
KimEntity.getPrimaryEmployment()

getNames

public List<KimEntityNameImpl> getNames()
Description copied from interface: KimEntity
Gets this KimEntity's names

Specified by:
getNames in interface KimEntity
Returns:
the List of KimEntityNameS for this KimEntity. The returned List will never be null, an empty List will be assigned and returned if needed.

setNames

public void setNames(List<KimEntityNameImpl> names)

getDefaultName

public KimEntityNameImpl getDefaultName()
This overridden method ...

Specified by:
getDefaultName in interface KimEntity
Returns:
the default KimEntityName record for the entity. If no default is defined, then it returns the first one found. If none are defined, it returns null.
See Also:
KimEntity.getDefaultName()

getCitizenships

public List<KimEntityCitizenshipImpl> getCitizenships()
Description copied from interface: KimEntity
Gets this KimEntity's citizenship information

Specified by:
getCitizenships in interface KimEntity
Returns:
the citizenships

setCitizenships

public void setCitizenships(List<KimEntityCitizenshipImpl> citizenships)
Parameters:
citizenships - the citizenships to set

getEthnicities

public List<KimEntityEthnicityImpl> getEthnicities()
Description copied from interface: KimEntity
Gets this KimEntity's ethnicities

Specified by:
getEthnicities in interface KimEntity
Returns:
the ethnicities

setEthnicities

public void setEthnicities(List<KimEntityEthnicityImpl> ethnicities)
Parameters:
ethnicities - the ethnicities to set

getResidencies

public List<KimEntityResidencyImpl> getResidencies()
Description copied from interface: KimEntity
Gets this KimEntity's residencies

Specified by:
getResidencies in interface KimEntity
Returns:
the residencies

setResidencies

public void setResidencies(List<KimEntityResidencyImpl> residencies)
Parameters:
residencies - the residencies to set

getVisas

public List<KimEntityVisaImpl> getVisas()
Description copied from interface: KimEntity
Gets this KimEntity's visas

Specified by:
getVisas in interface KimEntity
Returns:
the visas

setVisas

public void setVisas(List<KimEntityVisaImpl> visas)
Parameters:
visas - the visas to set

setPrincipals

public void setPrincipals(List<KimPrincipalImpl> principals)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.