|
||||||||||
| 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.EntityEthnicityHistory.Builder
public static final class EntityEthnicityHistory.Builder
A builder which can be used to construct EntityEthnicityHistory instances. Enforces the constraints of the EntityEthnicityContract.
| Method Summary | |
|---|---|
EntityEthnicityHistory |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityEthnicityHistory.Builder |
create()
|
static EntityEthnicityHistory.Builder |
create(EntityEthnicityHistoryContract contract)
|
org.joda.time.DateTime |
getActiveFromDate()
Gets the date for which the record become active. |
org.joda.time.DateTime |
getActiveToDate()
Gets the date for which the record become inactive. |
String |
getEntityId()
Gets this EntityEthnicityContract's identity id. |
String |
getEthnicityCode()
|
String |
getEthnicityCodeUnmasked()
|
Long |
getHistoryId()
|
String |
getId()
The unique identifier for an object. |
String |
getLocalRaceEthnicityCode()
Categories used in local exchanges (such as within states or provinces) to describe groups to which individuals belong or identify with by race or ethnicity. |
String |
getLocalRaceEthnicityCodeUnmasked()
Unmasked categories used in local exchanges (such as within states or provinces) to describe groups to which individuals belong or identify with by race or ethnicity. |
String |
getObjectId()
Return the globally unique object id of this object. |
Double |
getPercentage()
Gets a EntityEthnicityContract's ethnicity code's percentage. |
Double |
getPercentageUnmasked()
Gets a EntityEthnicityContract's ethnicity code's unmasked percentage. |
CodedAttributeHistory.Builder |
getRaceEthnicityCode()
Gets a list of this EntityEthnicityContract's ethnicity codes. |
CodedAttributeHistory.Builder |
getRaceEthnicityCodeUnmasked()
Gets a list of unmasked EntityEthnicityContract's ethnicity codes. |
String |
getSubEthnicityCode()
|
String |
getSubEthnicityCodeUnmasked()
|
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
boolean |
isActive(org.joda.time.DateTime activeAsOf)
Returns if the record is active for a given Time. |
boolean |
isActiveNow()
|
boolean |
isHispanicOrLatino()
Gets this EntityEthnicityContract's is hispanic or latino. |
boolean |
isSuppressPersonal()
Returns a boolean value that determines if personal fields should be suppressed. |
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setEntityId(String entityId)
|
void |
setEthnicityCode(String ethnicityCode)
|
void |
setHispanicOrLatino(boolean hispanicOrLatino)
|
void |
setHistoryId(Long historyId)
|
void |
setId(String id)
|
void |
setLocalRaceEthnicityCode(String localRaceEthnicityCode)
|
void |
setObjectId(String objectId)
|
void |
setPercentage(Double percentage)
|
void |
setRaceEthnicityCodes(CodedAttributeHistory.Builder raceEthnicityCode)
|
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 EntityEthnicityHistory.Builder create()
public static EntityEthnicityHistory.Builder create(EntityEthnicityHistoryContract contract)
public EntityEthnicityHistory 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()
getEthnicityCode in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getEthnicityCodeUnmasked()
getEthnicityCodeUnmasked in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getSubEthnicityCode()
getSubEthnicityCode in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assigned.public String getSubEthnicityCodeUnmasked()
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 boolean isHispanicOrLatino()
EntityEthnicityContractEntityEthnicityContract's is hispanic or latino.
isHispanicOrLatino in interface EntityEthnicityContractEntityEthnicityContract, is hispanic or latino.public CodedAttributeHistory.Builder getRaceEthnicityCode()
EntityEthnicityHistoryContractEntityEthnicityContract's ethnicity codes.
getRaceEthnicityCode in interface EntityEthnicityContractgetRaceEthnicityCode in interface EntityEthnicityHistoryContractEntityEthnicityContract, or an empty list if none has been assigned.public CodedAttributeHistory.Builder getRaceEthnicityCodeUnmasked()
EntityEthnicityHistoryContractEntityEthnicityContract's ethnicity codes.
getRaceEthnicityCodeUnmasked in interface EntityEthnicityContractgetRaceEthnicityCodeUnmasked in interface EntityEthnicityHistoryContractEntityEthnicityContract, or an empty list if none has been assigned.public String getLocalRaceEthnicityCode()
EntityEthnicityContract
getLocalRaceEthnicityCode in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assignedpublic String getLocalRaceEthnicityCodeUnmasked()
EntityEthnicityContract
getLocalRaceEthnicityCodeUnmasked in interface EntityEthnicityContractEntityEthnicityContract, or null if none has been assignedpublic Long getHistoryId()
getHistoryId in interface Historicalpublic boolean isActiveNow()
isActiveNow in interface Historicalpublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic boolean isActive(org.joda.time.DateTime activeAsOf)
InactivatableFromTo
isActive in interface InactivatableFromTopublic org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate in interface InactivatableFromTopublic org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate in interface InactivatableFromTopublic Double getPercentage()
EntityEthnicityContractEntityEthnicityContract's ethnicity code's percentage.
getPercentage in interface EntityEthnicityContractEntityEthnicityContract record.public Double getPercentageUnmasked()
EntityEthnicityContractEntityEthnicityContract's ethnicity code's unmasked percentage.
getPercentageUnmasked in interface EntityEthnicityContractEntityEthnicityContract record.public void setHistoryId(Long historyId)
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public void setHispanicOrLatino(boolean hispanicOrLatino)
public void setRaceEthnicityCodes(CodedAttributeHistory.Builder raceEthnicityCode)
public void setLocalRaceEthnicityCode(String localRaceEthnicityCode)
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)
public void setId(String id)
public void setPercentage(Double percentage)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||