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

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.KimDefaultableEntityDataBase
                      extended by org.kuali.rice.kim.bo.entity.impl.KimEntityNameImpl
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, KimEntityName, BusinessObject, Defaultable, DefaultableInactivateable, Inactivateable, PersistableBusinessObject

public class KimEntityNameImpl
extends KimDefaultableEntityDataBase
implements KimEntityName

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

Field Summary
protected  String entityId
           
protected  String entityNameId
           
protected  EntityNameType entityNameType
           
protected  String firstName
           
protected  String lastName
           
protected  String middleName
           
protected  String nameTypeCode
           
private static long serialVersionUID
           
protected  String suffix
           
protected  Boolean suppressName
           
protected  String title
           
 
Fields inherited from class org.kuali.rice.kim.bo.entity.impl.KimDefaultableEntityDataBase
dflt
 
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
KimEntityNameImpl()
           
 
Method Summary
 String getEntityId()
           
 String getEntityNameId()
          Gets this KimEntityName's id.
 EntityNameType getEntityNameType()
           
 String getFirstName()
          Gets this KimEntityName's first name.
 String getFirstNameUnmasked()
          Gets this KimEntityName's unmasked first name.
 String getFormattedName()
          This default implementation formats the name as LAST, FIRST MIDDLE.
 String getFormattedNameUnmasked()
          Gets this KimEntityName's unmasked formatted name.
 String getLastName()
          Gets this KimEntityName's last name.
 String getLastNameUnmasked()
          Gets this KimEntityName's unmasked last name.
 String getMiddleName()
          Gets this KimEntityName's middle name.
 String getMiddleNameUnmasked()
          Gets this KimEntityName's unmasked middle name.
 String getNameTypeCode()
          Gets this KimEntityName's type code.
 String getSuffix()
          Gets this KimEntityName's suffix.
 String getSuffixUnmasked()
          Gets this KimEntityName's unmasked suffix.
 String getTitle()
          Gets this KimEntityName's title.
 String getTitleUnmasked()
          Gets this KimEntityName's unmasked title.
 boolean isSuppressName()
           
 void setEntityId(String entityId)
           
 void setEntityNameId(String entityNameId)
           
 void setEntityNameType(EntityNameType entityNameType)
           
 void setFirstName(String firstName)
           
 void setLastName(String lastName)
           
 void setMiddleName(String middleName)
           
 void setNameTypeCode(String nameTypeCode)
           
 void setSuffix(String suffix)
           
 void setTitle(String title)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kim.bo.entity.impl.KimDefaultableEntityDataBase
isDefault, isDflt, setDefault, setDflt
 
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.Defaultable
isDefault, setDefault
 
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

entityNameId

protected String entityNameId

entityId

protected String entityId

nameTypeCode

protected String nameTypeCode

firstName

protected String firstName

middleName

protected String middleName

lastName

protected String lastName

title

protected String title

suffix

protected String suffix

entityNameType

protected EntityNameType entityNameType

suppressName

protected Boolean suppressName
Constructor Detail

KimEntityNameImpl

public KimEntityNameImpl()
Method Detail

getEntityNameId

public String getEntityNameId()
Description copied from interface: KimEntityName
Gets this KimEntityName's id.

Specified by:
getEntityNameId in interface KimEntityName
Returns:
the id for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getEntityNameId()

getFirstName

public String getFirstName()
Description copied from interface: KimEntityName
Gets this KimEntityName's first name.

Specified by:
getFirstName in interface KimEntityName
Returns:
the first name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getFirstName()

getLastName

public String getLastName()
Description copied from interface: KimEntityName
Gets this KimEntityName's last name.

Specified by:
getLastName in interface KimEntityName
Returns:
the last name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getLastName()

getMiddleName

public String getMiddleName()
Description copied from interface: KimEntityName
Gets this KimEntityName's middle name.

Specified by:
getMiddleName in interface KimEntityName
Returns:
the middle name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getMiddleName()

getNameTypeCode

public String getNameTypeCode()
Description copied from interface: KimEntityName
Gets this KimEntityName's type code.

Specified by:
getNameTypeCode in interface KimEntityName
Returns:
the type code for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getNameTypeCode()

getSuffix

public String getSuffix()
Description copied from interface: KimEntityName
Gets this KimEntityName's suffix.

Specified by:
getSuffix in interface KimEntityName
Returns:
the suffix for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getSuffix()

getTitle

public String getTitle()
Description copied from interface: KimEntityName
Gets this KimEntityName's title.

Specified by:
getTitle in interface KimEntityName
Returns:
the title for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getTitle()

setFirstName

public void setFirstName(String firstName)

setLastName

public void setLastName(String lastName)

setMiddleName

public void setMiddleName(String middleName)

setNameTypeCode

public void setNameTypeCode(String nameTypeCode)

setSuffix

public void setSuffix(String suffix)

setTitle

public void setTitle(String title)

getFormattedName

public String getFormattedName()
This default implementation formats the name as LAST, FIRST MIDDLE.

Specified by:
getFormattedName in interface KimEntityName
See Also:
KimEntityName.getFormattedName()

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:
BusinessObjectBase.toStringMapper()

getEntityId

public String getEntityId()

setEntityId

public void setEntityId(String entityId)

getEntityNameType

public EntityNameType getEntityNameType()

setEntityNameType

public void setEntityNameType(EntityNameType entityNameType)

setEntityNameId

public void setEntityNameId(String entityNameId)

getFirstNameUnmasked

public String getFirstNameUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked first name.

Specified by:
getFirstNameUnmasked in interface KimEntityName
Returns:
the unmasked first name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getFirstNameUnmasked()

getFormattedNameUnmasked

public String getFormattedNameUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked formatted name.

Specified by:
getFormattedNameUnmasked in interface KimEntityName
See Also:
KimEntityName.getFormattedNameUnmasked()

getLastNameUnmasked

public String getLastNameUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked last name.

Specified by:
getLastNameUnmasked in interface KimEntityName
Returns:
the unmasked last name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getLastNameUnmasked()

getMiddleNameUnmasked

public String getMiddleNameUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked middle name.

Specified by:
getMiddleNameUnmasked in interface KimEntityName
Returns:
the unmasked middle name for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getMiddleNameUnmasked()

getSuffixUnmasked

public String getSuffixUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked suffix.

Specified by:
getSuffixUnmasked in interface KimEntityName
Returns:
the unmasked suffix for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getSuffixUnmasked()

getTitleUnmasked

public String getTitleUnmasked()
Description copied from interface: KimEntityName
Gets this KimEntityName's unmasked title.

Specified by:
getTitleUnmasked in interface KimEntityName
Returns:
the unmasked title for this KimEntityName, or null if none has been assigned.
See Also:
KimEntityName.getTitleUnmasked()

isSuppressName

public boolean isSuppressName()
Specified by:
isSuppressName in interface KimEntityName


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