|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.identity.personal.EntityEthnicity.Builder
public static final class EntityEthnicity.Builder
A builder which can be used to construct EntityEthnicity instances. Enforces the constraints of the EntityEthnicityContract.
| Method Summary | |
|---|---|
EntityEthnicity |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityEthnicity.Builder |
create()
|
static EntityEthnicity.Builder |
create(EntityEthnicityContract contract)
|
String |
getEntityId()
Gets this EntityEthnicityContract's identity id. |
String |
getEthnicityCode()
Gets this EntityEthnicityContract's ethnicity code. |
String |
getEthnicityCodeUnmasked()
Gets this EntityEthnicityContract's unmasked ethnicity code. |
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getSubEthnicityCode()
Gets this EntityEthnicityContract's sub-ethnicity code. |
String |
getSubEthnicityCodeUnmasked()
Gets this EntityEthnicityContract's unmasked sub-ethnicity code. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isSuppressPersonal()
Returns a boolean value that determines if personal fields should be suppressed. |
void |
setEntityId(String entityId)
|
void |
setEthnicityCode(String ethnicityCode)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setSubEthnicityCode(String subEthnicityCode)
|
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 EntityEthnicity.Builder create()
public static EntityEthnicity.Builder create(EntityEthnicityContract contract)
public EntityEthnicity build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityEthnicityContractEntityEthnicityContract's identity id.
getEntityId in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getEthnicityCode()
EntityEthnicityContractEntityEthnicityContract's ethnicity code.
getEthnicityCode in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getEthnicityCodeUnmasked()
EntityEthnicityContractEntityEthnicityContract's unmasked ethnicity code.
getEthnicityCodeUnmasked in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getSubEthnicityCode()
EntityEthnicityContractEntityEthnicityContract's sub-ethnicity code.
getSubEthnicityCode in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getSubEthnicityCodeUnmasked()
EntityEthnicityContractEntityEthnicityContract's unmasked sub-ethnicity code.
getSubEthnicityCodeUnmasked in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public boolean isSuppressPersonal()
EntityEthnicityContract
isSuppressPersonal in interface EntityEthnicityContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic String getId()
Identifiable
getId in interface Identifiablepublic void setEntityId(String entityId)
public void setEthnicityCode(String ethnicityCode)
public void setSubEthnicityCode(String subEthnicityCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setId(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||