org.kuali.rice.kim.impl.identity.personal
Class EntityEthnicityBo

java.lang.Object
  extended by org.kuali.rice.krad.bo.DataObjectBase
      extended by org.kuali.rice.kim.impl.identity.personal.EntityEthnicityBo
All Implemented Interfaces:
Serializable, GloballyUnique, Identifiable, Versioned, EntityEthnicityContract

@Entity
public class EntityEthnicityBo
extends DataObjectBase
implements EntityEthnicityContract

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber
 
Constructor Summary
EntityEthnicityBo()
           
 
Method Summary
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)
           
 
Methods inherited from class org.kuali.rice.krad.bo.DataObjectBase
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 

Constructor Detail

EntityEthnicityBo

public EntityEthnicityBo()
Method Detail

to

public static EntityEthnicity to(EntityEthnicityBo bo)

from

public static EntityEthnicityBo from(EntityEthnicity immutable)
Creates a EntityEthnicityBo business object from an immutable representation of a EntityEthnicity.

Parameters:
immutable - an immutable EntityEthnicity
Returns:
a EntityEthnicityBo

isSuppressPersonal

public boolean isSuppressPersonal()
Description copied from interface: EntityEthnicityContract
Returns a boolean value that determines if personal fields should be suppressed.

Specified by:
isSuppressPersonal in interface EntityEthnicityContract
Returns:
boolean value that determines if personal fields should be suppressed.

getEthnicityCode

public String getEthnicityCode()
Description copied from interface: EntityEthnicityContract
Gets this EntityEthnicityContract's ethnicity code.

Specified by:
getEthnicityCode in interface EntityEthnicityContract
Returns:
the ethnicity code for this EntityEthnicityContract, or null if none has been assigned.

getSubEthnicityCode

public String getSubEthnicityCode()
Description copied from interface: EntityEthnicityContract
Gets this EntityEthnicityContract's sub-ethnicity code.

Specified by:
getSubEthnicityCode in interface EntityEthnicityContract
Returns:
the sub-ethnicity code for this EntityEthnicityContract, or null if none has been assigned.

getEthnicityCodeUnmasked

public String getEthnicityCodeUnmasked()
Description copied from interface: EntityEthnicityContract
Gets this EntityEthnicityContract's unmasked ethnicity code.

Specified by:
getEthnicityCodeUnmasked in interface EntityEthnicityContract
Returns:
the unmasked ethnicity code for this EntityEthnicityContract, or null if none has been assigned.

getSubEthnicityCodeUnmasked

public String getSubEthnicityCodeUnmasked()
Description copied from interface: EntityEthnicityContract
Gets this EntityEthnicityContract's unmasked sub-ethnicity code.

Specified by:
getSubEthnicityCodeUnmasked in interface EntityEthnicityContract
Returns:
the unmasked sub-ethnicity code for this EntityEthnicityContract, or null if none has been assigned.

getId

public String getId()
Description copied from interface: Identifiable
The unique identifier for an object. This can be null.

Specified by:
getId in interface Identifiable
Returns:
the id

setId

public void setId(String id)

getEntityId

public String getEntityId()
Description copied from interface: EntityEthnicityContract
Gets this EntityEthnicityContract's identity id.

Specified by:
getEntityId in interface EntityEthnicityContract
Returns:
the identity id for this EntityEthnicityContract, or null if none has been assigned.

setEntityId

public void setEntityId(String entityId)

setEthnicityCode

public void setEthnicityCode(String ethnicityCode)

setSubEthnicityCode

public void setSubEthnicityCode(String subEthnicityCode)

getSuppressPersonal

public boolean getSuppressPersonal()

setSuppressPersonal

public void setSuppressPersonal(boolean suppressPersonal)


Copyright © 2005–2014 The Kuali Foundation. All rights reserved.