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()
ModelBuilder
build
in interface ModelBuilder
public String getEntityId()
EntityEthnicityContract
EntityEthnicityContract
's identity id.getEntityId
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public String getEthnicityCode()
EntityEthnicityContract
EntityEthnicityContract
's ethnicity code.getEthnicityCode
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public String getEthnicityCodeUnmasked()
EntityEthnicityContract
EntityEthnicityContract
's unmasked ethnicity code.getEthnicityCodeUnmasked
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public String getSubEthnicityCode()
EntityEthnicityContract
EntityEthnicityContract
's sub-ethnicity code.getSubEthnicityCode
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public String getSubEthnicityCodeUnmasked()
EntityEthnicityContract
EntityEthnicityContract
's unmasked sub-ethnicity code.getSubEthnicityCodeUnmasked
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public boolean isSuppressPersonal()
EntityEthnicityContract
isSuppressPersonal
in interface EntityEthnicityContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public String getId()
Identifiable
getId
in interface Identifiable
public 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–2015 The Kuali Foundation. All rights reserved.