public static final class EntityEthnicity.Builder extends Object implements Serializable, ModelBuilder, EntityEthnicityContract
EntityEthnicity instances. Enforces the constraints of the EntityEthnicityContract.| Modifier and Type | Method and Description |
|---|---|
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) |
public static EntityEthnicity.Builder create()
public static EntityEthnicity.Builder create(EntityEthnicityContract contract)
public EntityEthnicity build()
ModelBuilderbuild 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()
EntityEthnicityContractisSuppressPersonal in interface EntityEthnicityContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic String getId()
IdentifiablegetId 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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.