public static final class EntityEmployment.Builder extends Object implements Serializable, ModelBuilder, EntityEmploymentContract
EntityEmployment instances. Enforces the constraints of the EntityEmploymentContract.| Modifier and Type | Method and Description |
|---|---|
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) |
public static EntityEmployment.Builder create()
public static EntityEmployment.Builder create(EntityEmploymentContract contract)
public EntityEmployment build()
ModelBuilderbuild in interface ModelBuilderpublic String getEntityId()
EntityEmploymentContractgetEntityId 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()
EntityEmploymentContractisPrimary in interface EntityEmploymentContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic String getId()
IdentifiablegetId 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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.