|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 ModelBuilder
public String getEntityId()
EntityEmploymentContract
getEntityId
in interface EntityEmploymentContract
EntityEmailContract
public EntityAffiliationHistory.Builder getEntityAffiliation()
EntityEmploymentHistoryContract
EntityEmploymentContract
's identity affiliation.
getEntityAffiliation
in interface EntityEmploymentContract
getEntityAffiliation
in interface EntityEmploymentHistoryContract
EntityEmploymentContract
, or null if none has been assigned.public CodedAttributeHistory.Builder getEmployeeStatus()
EntityEmploymentHistoryContract
EntityEmploymentContract
's employee status.
getEmployeeStatus
in interface EntityEmploymentContract
getEmployeeStatus
in interface EntityEmploymentHistoryContract
EntityEmploymentContract
, or null if none has been assigned.public CodedAttributeHistory.Builder getEmployeeType()
EntityEmploymentHistoryContract
EntityEmploymentContract
's employee type.
getEmployeeType
in interface EntityEmploymentContract
getEmployeeType
in interface EntityEmploymentHistoryContract
EntityEmploymentContract
, or null if none has been assigned.public String getPrimaryDepartmentCode()
EntityEmploymentContract
EntityEmploymentContract
's primary department code.
getPrimaryDepartmentCode
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public String getEmployeeId()
EntityEmploymentContract
EntityEmploymentContract
's employee id.
getEmployeeId
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public String getEmploymentRecordId()
EntityEmploymentContract
EntityEmploymentContract
's employment record id.
getEmploymentRecordId
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public KualiDecimal getBaseSalaryAmount()
EntityEmploymentContract
EntityEmploymentContract
's base salary amount.
getBaseSalaryAmount
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public boolean isPrimary()
EntityEmploymentContract
isPrimary
in interface EntityEmploymentContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public String getId()
Identifiable
getId
in interface Identifiable
public Long getHistoryId()
getHistoryId
in interface Historical
public boolean isActiveNow()
isActiveNow
in interface Historical
public boolean isActive(org.joda.time.DateTime activeAsOf)
InactivatableFromTo
isActive
in interface InactivatableFromTo
public org.joda.time.DateTime getActiveFromDate()
InactivatableFromTo
getActiveFromDate
in interface InactivatableFromTo
public org.joda.time.DateTime getActiveToDate()
InactivatableFromTo
getActiveToDate
in interface InactivatableFromTo
public boolean isTenured()
EntityEmploymentContract
isTenured
in interface EntityEmploymentContract
public 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 |