|
||||||||||
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.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 ModelBuilder
public String getEntityId()
EntityEmploymentContract
getEntityId
in interface EntityEmploymentContract
EntityEmailContract
public EntityAffiliation.Builder getEntityAffiliation()
EntityEmploymentContract
EntityEmploymentContract
's identity affiliation.
getEntityAffiliation
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public CodedAttribute.Builder getEmployeeStatus()
EntityEmploymentContract
EntityEmploymentContract
's employee status.
getEmployeeStatus
in interface EntityEmploymentContract
EntityEmploymentContract
, or null if none has been assigned.public CodedAttribute.Builder getEmployeeType()
EntityEmploymentContract
EntityEmploymentContract
's employee type.
getEmployeeType
in interface EntityEmploymentContract
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 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 |