|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.identity.name.EntityName.Builder
public static final class EntityName.Builder
A builder which can be used to construct EntityName
instances. Enforces the constraints of the EntityNameContract
.
Field Summary |
---|
Fields inherited from interface org.kuali.rice.kim.api.identity.name.EntityNameContract |
---|
NAME_CHANGED_DATE_FORMAT |
Method Summary | |
---|---|
EntityName |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityName.Builder |
create()
|
static EntityName.Builder |
create(EntityNameContract contract)
|
String |
getCompositeName()
Return the entire name as the person or system wants it displayed. |
String |
getCompositeNameUnmasked()
Gets this EntityNameContract 's unmasked formatted name. |
String |
getEntityId()
Gets this Entity 's id. |
String |
getFirstName()
Gets this EntityNameContract 's first name. |
String |
getFirstNameUnmasked()
Gets this EntityNameContract 's unmasked first name. |
String |
getId()
The unique identifier for an object. |
String |
getLastName()
Gets this EntityNameContract 's last name. |
String |
getLastNameUnmasked()
Gets this EntityNameContract 's unmasked last name. |
String |
getMiddleName()
Gets this EntityNameContract 's middle name. |
String |
getMiddleNameUnmasked()
Gets this EntityNameContract 's unmasked middle name. |
org.joda.time.DateTime |
getNameChangedDate()
Get the name change date EntityNameContract
Corresponds to PESC name changed date |
String |
getNamePrefix()
Gets this EntityNameContract 's name prefix. |
String |
getNamePrefixUnmasked()
Gets this EntityNameContract 's unmasked name prefix. |
String |
getNameSuffix()
Gets this EntityNameContract 's suffix. |
String |
getNameSuffixUnmasked()
Gets this EntityNameContract 's unmasked suffix. |
String |
getNameTitle()
Gets this EntityNameContract 's name title. |
String |
getNameTitleUnmasked()
Gets this EntityNameContract 's unmasked name title. |
CodedAttribute.Builder |
getNameType()
Gets this EntityNameContract 's TypeContract. |
String |
getNoteMessage()
Get the note associated with this EntityNameContract
Corresponds to PESC NoteMessage |
String |
getObjectId()
Return the globally unique object id of this object. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isDefaultValue()
The default value for this object. |
boolean |
isSuppressName()
Returns a boolean value that determines if email fields should be suppressed. |
void |
setActive(boolean active)
|
void |
setDefaultValue(boolean defaultValue)
|
void |
setEntityId(String entityId)
|
void |
setFirstName(String firstName)
|
void |
setId(String id)
|
void |
setLastName(String lastName)
|
void |
setMiddleName(String middleName)
|
void |
setNameChangedDate(org.joda.time.DateTime nameChangedDate)
|
void |
setNamePrefix(String namePrefix)
|
void |
setNameSuffix(String nameSuffix)
|
void |
setNameTitle(String nameTitle)
|
void |
setNameType(CodedAttribute.Builder nameType)
|
void |
setNoteMessage(String noteMessage)
|
void |
setObjectId(String objectId)
|
void |
setVersionNumber(Long versionNumber)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EntityName.Builder create()
public static EntityName.Builder create(EntityNameContract contract)
public EntityName build()
ModelBuilder
build
in interface ModelBuilder
public String getNameSuffix()
EntityNameContract
EntityNameContract
's suffix.
Corresponds to PESC NameSuffix.
getNameSuffix
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getEntityId()
EntityNameContract
Entity
's id.
getEntityId
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public CodedAttribute.Builder getNameType()
EntityNameContract
EntityNameContract
's TypeContract.
getNameType
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getFirstName()
EntityNameContract
EntityNameContract
's first name.
getFirstName
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getFirstNameUnmasked()
EntityNameContract
EntityNameContract
's unmasked first name.
getFirstNameUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getMiddleName()
EntityNameContract
EntityNameContract
's middle name.
getMiddleName
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getMiddleNameUnmasked()
EntityNameContract
EntityNameContract
's unmasked middle name.
getMiddleNameUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getLastName()
EntityNameContract
EntityNameContract
's last name.
getLastName
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getLastNameUnmasked()
EntityNameContract
EntityNameContract
's unmasked last name.
getLastNameUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getNamePrefix()
EntityNameContract
EntityNameContract
's name prefix.
Corresponds to PESC NamePrefix.
getNamePrefix
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getNamePrefixUnmasked()
EntityNameContract
EntityNameContract
's unmasked name prefix.
Corresponds to PESC NamePrefix.
getNamePrefixUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getNameTitle()
EntityNameContract
EntityNameContract
's name title.
Corresponds to PESC NameTitle.
getNameTitle
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getNameTitleUnmasked()
EntityNameContract
EntityNameContract
's unmasked name title.
Corresponds to PESC NameTitle.
getNameTitleUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getNameSuffixUnmasked()
EntityNameContract
EntityNameContract
's unmasked suffix.
Corresponds to PESC NameSuffix.
getNameSuffixUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getCompositeName()
EntityNameContract
getCompositeName
in interface EntityNameContract
public String getCompositeNameUnmasked()
EntityNameContract
EntityNameContract
's unmasked formatted name.
Corresponds to PESC CompositeName.
getCompositeNameUnmasked
in interface EntityNameContract
public String getNoteMessage()
EntityNameContract
EntityNameContract
Corresponds to PESC NoteMessage
getNoteMessage
in interface EntityNameContract
public org.joda.time.DateTime getNameChangedDate()
EntityNameContract
EntityNameContract
Corresponds to PESC name changed date
getNameChangedDate
in interface EntityNameContract
public boolean isSuppressName()
EntityNameContract
isSuppressName
in interface EntityNameContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isDefaultValue()
Defaultable
isDefaultValue
in interface Defaultable
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public String getId()
Identifiable
getId
in interface Identifiable
public void setNameSuffix(String nameSuffix)
public void setEntityId(String entityId)
public void setNameType(CodedAttribute.Builder nameType)
public void setFirstName(String firstName)
public void setMiddleName(String middleName)
public void setLastName(String lastName)
public void setNamePrefix(String namePrefix)
public void setNameTitle(String nameTitle)
public void setNoteMessage(String noteMessage)
public void setNameChangedDate(org.joda.time.DateTime nameChangedDate)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setDefaultValue(boolean defaultValue)
public void setActive(boolean active)
public void setId(String id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |