|
||||||||||
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
.
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 |
getEntityId()
Gets this Entity 's id. |
String |
getFirstName()
Gets this EntityNameContract 's first name. |
String |
getFirstNameUnmasked()
Gets this EntityNameContract 's unmasked first name. |
String |
getFormattedName()
Return the entire name as the person or system wants it displayed. |
String |
getFormattedNameUnmasked()
Gets this EntityNameContract 's unmasked formatted 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. |
Type.Builder |
getNameType()
Gets this EntityNameContract 's TypeContract. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getSuffix()
Gets this EntityNameContract 's suffix. |
String |
getSuffixUnmasked()
Gets this EntityNameContract 's unmasked suffix. |
String |
getTitle()
Gets this EntityNameContract 's title. |
String |
getTitleUnmasked()
Gets this EntityNameContract 's unmasked title. |
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 |
setNameType(Type.Builder nameType)
|
void |
setObjectId(String objectId)
|
void |
setSuffix(String suffix)
|
void |
setTitle(String title)
|
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 getSuffix()
EntityNameContract
EntityNameContract
's suffix.
getSuffix
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 Type.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 getTitle()
EntityNameContract
EntityNameContract
's title.
getTitle
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getTitleUnmasked()
EntityNameContract
EntityNameContract
's unmasked title.
getTitleUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getSuffixUnmasked()
EntityNameContract
EntityNameContract
's unmasked suffix.
getSuffixUnmasked
in interface EntityNameContract
EntityNameContract
, or null if none has been assigned.public String getFormattedName()
EntityNameContract
getFormattedName
in interface EntityNameContract
public String getFormattedNameUnmasked()
EntityNameContract
EntityNameContract
's unmasked formatted name.
getFormattedNameUnmasked
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 setSuffix(String suffix)
public void setEntityId(String entityId)
public void setNameType(Type.Builder nameType)
public void setFirstName(String firstName)
public void setMiddleName(String middleName)
public void setLastName(String lastName)
public void setTitle(String title)
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 |