@Entity public class EntityEthnicityBo extends DataObjectBase implements EntityEthnicityContract
objectId, versionNumber
Constructor and Description |
---|
EntityEthnicityBo() |
Modifier and Type | Method and Description |
---|---|
static EntityEthnicityBo |
from(EntityEthnicity immutable)
Creates a EntityEthnicityBo business object from an immutable representation of a EntityEthnicity.
|
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 |
getSubEthnicityCode()
Gets this
EntityEthnicityContract 's sub-ethnicity code. |
String |
getSubEthnicityCodeUnmasked()
Gets this
EntityEthnicityContract 's unmasked sub-ethnicity code. |
boolean |
getSuppressPersonal() |
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 |
setSubEthnicityCode(String subEthnicityCode) |
void |
setSuppressPersonal(boolean suppressPersonal) |
static EntityEthnicity |
to(EntityEthnicityBo bo) |
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
public EntityEthnicityBo()
public static EntityEthnicity to(EntityEthnicityBo bo)
public static EntityEthnicityBo from(EntityEthnicity immutable)
immutable
- an immutable EntityEthnicitypublic boolean isSuppressPersonal()
EntityEthnicityContract
isSuppressPersonal
in interface EntityEthnicityContract
public String getEthnicityCode()
EntityEthnicityContract
EntityEthnicityContract
's ethnicity code.getEthnicityCode
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 getEthnicityCodeUnmasked()
EntityEthnicityContract
EntityEthnicityContract
's unmasked ethnicity code.getEthnicityCodeUnmasked
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 String getId()
Identifiable
getId
in interface Identifiable
public String getEntityId()
EntityEthnicityContract
EntityEthnicityContract
's identity id.getEntityId
in interface EntityEthnicityContract
EntityEthnicityContract
, or null if none has been assigned.public void setEntityId(String entityId)
public void setEthnicityCode(String ethnicityCode)
public void setSubEthnicityCode(String subEthnicityCode)
public boolean getSuppressPersonal()
public void setSuppressPersonal(boolean suppressPersonal)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.