|
||||||||||
| 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.EntityEmployment.Builder
public static final class EntityEmployment.Builder
A builder which can be used to construct EntityEmployment instances. Enforces the constraints of the EntityEmploymentContract.
| Method Summary | |
|---|---|
EntityEmployment |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static EntityEmployment.Builder |
create()
|
static EntityEmployment.Builder |
create(EntityEmploymentContract contract)
|
KualiDecimal |
getBaseSalaryAmount()
Gets this EntityEmploymentContract's base salary amount. |
String |
getEmployeeId()
Gets this EntityEmploymentContract's employee id. |
CodedAttribute.Builder |
getEmployeeStatus()
Gets this EntityEmploymentContract's employee status. |
CodedAttribute.Builder |
getEmployeeType()
Gets this EntityEmploymentContract's employee type. |
String |
getEmploymentRecordId()
Gets this EntityEmploymentContract's employment record id. |
EntityAffiliation.Builder |
getEntityAffiliation()
Gets this EntityEmploymentContract's identity affiliation. |
String |
getEntityId()
Gets this id of the parent identity object. |
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 |
isPrimary()
The primary value for this object. |
void |
setActive(boolean active)
|
void |
setBaseSalaryAmount(KualiDecimal baseSalaryAmount)
|
void |
setEmployeeId(String employeeId)
|
void |
setEmployeeStatus(CodedAttribute.Builder employeeStatus)
|
void |
setEmployeeType(CodedAttribute.Builder employeeType)
|
void |
setEmploymentRecordId(String employmentRecordId)
|
void |
setEntityAffiliation(EntityAffiliation.Builder entityAffiliation)
|
void |
setEntityId(String entityId)
|
void |
setId(String id)
|
void |
setObjectId(String objectId)
|
void |
setPrimary(boolean primary)
|
void |
setPrimaryDepartmentCode(String primaryDepartmentCode)
|
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 EntityEmployment.Builder create()
public static EntityEmployment.Builder create(EntityEmploymentContract contract)
public EntityEmployment build()
ModelBuilder
build in interface ModelBuilderpublic String getEntityId()
EntityEmploymentContract
getEntityId in interface EntityEmploymentContractEntityEmailContractpublic EntityAffiliation.Builder getEntityAffiliation()
EntityEmploymentContractEntityEmploymentContract's identity affiliation.
getEntityAffiliation in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public CodedAttribute.Builder getEmployeeStatus()
EntityEmploymentContractEntityEmploymentContract's employee status.
getEmployeeStatus in interface EntityEmploymentContractEntityEmploymentContract, or null if none has been assigned.public CodedAttribute.Builder getEmployeeType()
EntityEmploymentContractEntityEmploymentContract's employee type.
getEmployeeType in interface EntityEmploymentContractEntityEmploymentContract, 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 void setEntityAffiliation(EntityAffiliation.Builder entityAffiliation)
public void setEmployeeStatus(CodedAttribute.Builder employeeStatus)
public void setEmployeeType(CodedAttribute.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 setId(String id)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||