|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.api.identity.employment.EntityEmploymentHistory.Builder
public static final class EntityEmploymentHistory.Builder
A builder which can be used to construct EntityEmploymentHistory instances. Enforces the constraints of the EntityEmploymentContract.
| Method Summary | |
|---|---|
EntityEmploymentHistory |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityEmploymentHistory.Builder |
create()
|
static EntityEmploymentHistory.Builder |
create(EntityEmploymentHistoryContract 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. |
KualiDecimal |
getBaseSalaryAmount()
Gets this EntityEmploymentContract's base salary amount. |
String |
getEmployeeId()
Gets this EntityEmploymentContract's employee id. |
CodedAttributeHistory.Builder |
getEmployeeStatus()
Gets this EntityEmploymentContract's employee status. |
CodedAttributeHistory.Builder |
getEmployeeType()
Gets this EntityEmploymentContract's employee type. |
String |
getEmploymentRecordId()
Gets this EntityEmploymentContract's employment record id. |
EntityAffiliationHistory.Builder |
getEntityAffiliation()
Gets this EntityEmploymentContract's identity affiliation. |
String |
getEntityId()
Gets this id of the parent identity object. |
Long |
getHistoryId()
|
String |
getId()
The unique identifier for an object. |
String |
getObjectId()
Return the globally unique object id of this object. |
String |
getPrimaryDepartmentCode()
Gets this EntityEmploymentContract's primary department code. |
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 |
isPrimary()
The primary value for this object. |
boolean |
isTenured()
The tenure indicator value for this object. |
void |
setActive(boolean active)
|
void |
setActiveFromDate(org.joda.time.DateTime activeFromDate)
|
void |
setActiveToDate(org.joda.time.DateTime activeToDate)
|
void |
setBaseSalaryAmount(KualiDecimal baseSalaryAmount)
|
void |
setEmployeeId(String employeeId)
|
void |
setEmployeeStatus(CodedAttributeHistory.Builder employeeStatus)
|
void |
setEmployeeType(CodedAttributeHistory.Builder employeeType)
|
void |
setEmploymentRecordId(String employmentRecordId)
|
void |
setEntityAffiliation(EntityAffiliationHistory.Builder entityAffiliation)
|
void |
setEntityId(String entityId)
|
void |
setHistoryId(Long historyId)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setPrimary(boolean primary)
|
void |
setPrimaryDepartmentCode(String primaryDepartmentCode)
|
void |
setTenured(boolean tenured)
|
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 EntityEmploymentHistory.Builder create()
public static EntityEmploymentHistory.Builder create(EntityEmploymentHistoryContract contract)
public EntityEmploymentHistory build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityEmploymentContract
getEntityId in interface EntityEmploymentContractEntityEmailContractpublic EntityAffiliationHistory.Builder getEntityAffiliation()
EntityEmploymentHistoryContractEntityEmploymentContract's identity affiliation.
getEntityAffiliation in interface EntityEmploymentContractgetEntityAffiliation in interface EntityEmploymentHistoryContractEntityEmploymentContract, or null if none has been assigned.public CodedAttributeHistory.Builder getEmployeeStatus()
EntityEmploymentHistoryContractEntityEmploymentContract's employee status.
getEmployeeStatus in interface EntityEmploymentContractgetEmployeeStatus in interface EntityEmploymentHistoryContractEntityEmploymentContract, or null if none has been assigned.public CodedAttributeHistory.Builder getEmployeeType()
EntityEmploymentHistoryContractEntityEmploymentContract's employee type.
getEmployeeType in interface EntityEmploymentContractgetEmployeeType in interface EntityEmploymentHistoryContractEntityEmploymentContract, or null if none has been assigned.public String getPrimaryDepartmentCode()
EntityEmploymentContractEntityEmploymentContract's primary department code.
getPrimaryDepartmentCode in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public String getEmployeeId()
EntityEmploymentContractEntityEmploymentContract's employee id.
getEmployeeId in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public String getEmploymentRecordId()
EntityEmploymentContractEntityEmploymentContract's employment record id.
getEmploymentRecordId in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public KualiDecimal getBaseSalaryAmount()
EntityEmploymentContractEntityEmploymentContract's base salary amount.
getBaseSalaryAmount in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public boolean isPrimary()
EntityEmploymentContract
isPrimary in interface EntityEmploymentContractpublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic String getObjectId()
GloballyUnique
getObjectId in interface GloballyUniquepublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic String getId()
Identifiable
getId in interface Identifiablepublic Long getHistoryId()
getHistoryId in interface Historicalpublic boolean isActiveNow()
isActiveNow in interface Historicalpublic 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 boolean isTenured()
EntityEmploymentContract
isTenured in interface EntityEmploymentContractpublic void setHistoryId(Long historyId)
public void setActiveFromDate(org.joda.time.DateTime activeFromDate)
public void setActiveToDate(org.joda.time.DateTime activeToDate)
public void setEntityAffiliation(EntityAffiliationHistory.Builder entityAffiliation)
public void setEmployeeStatus(CodedAttributeHistory.Builder employeeStatus)
public void setEmployeeType(CodedAttributeHistory.Builder employeeType)
public void setEntityId(String entityId)
public void setPrimaryDepartmentCode(String primaryDepartmentCode)
public void setEmployeeId(String employeeId)
public void setEmploymentRecordId(String employmentRecordId)
public void setBaseSalaryAmount(KualiDecimal baseSalaryAmount)
public void setPrimary(boolean primary)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
public void setTenured(boolean tenured)
public void setId(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||