public static final class Department.Builder extends Object implements Serializable, DepartmentContract, org.kuali.rice.core.api.mo.ModelBuilder
Department instances. Enforces the constraints of the DepartmentContract.CACHE_NAME| Modifier and Type | Method and Description |
|---|---|
Department |
build() |
static Department.Builder |
create(DepartmentContract contract) |
static Department.Builder |
create(String groupKeyCode,
String dept) |
String |
getChart()
Chart value under which the Department is defined
|
org.joda.time.DateTime |
getCreateTime()
The timestamp of when this HrBusinessObject was last created/updated
|
String |
getDept()
Text field used to identify the Department
|
String |
getDescription()
Text which describes the department value
|
org.joda.time.LocalDate |
getEffectiveLocalDate()
The localDate format of the effective date of the HrBusinessObject
|
HrGroupKey.Builder |
getGroupKey() |
String |
getGroupKeyCode()
The localDate format of the effective date of the HrBusinessObject
|
String |
getHrDeptId()
The Primary Key of a Department entry saved in a database
|
String |
getId() |
String |
getObjectId() |
String |
getOrg()
Organization value under which the Department is defined
|
String |
getUserPrincipalId()
The userPrincipalId of when this HrBusinessObject was last created/updated
|
Long |
getVersionNumber() |
boolean |
isActive() |
boolean |
isPayrollApproval()
Indicates if this Department needs payroll approval
|
void |
setActive(boolean active) |
void |
setChart(String chart) |
void |
setCreateTime(org.joda.time.DateTime createTime) |
void |
setDept(String dept) |
void |
setDescription(String description) |
void |
setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate) |
void |
setGroupKey(HrGroupKey.Builder groupKey) |
void |
setGroupKeyCode(String groupKeyCode) |
void |
setHrDeptId(String hrDeptId) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setOrg(String org) |
void |
setPayrollApproval(boolean payrollApproval) |
void |
setUserPrincipalId(String userPrincipalId) |
void |
setVersionNumber(Long versionNumber) |
public static Department.Builder create(String groupKeyCode, String dept)
public static Department.Builder create(DepartmentContract contract)
public Department build()
build in interface org.kuali.rice.core.api.mo.ModelBuilderpublic String getHrDeptId()
DepartmentContracthrDeptId of Department
getHrDeptId in interface DepartmentContractpublic String getDept()
DepartmentContractdept of Department
getDept in interface DepartmentContractpublic String getGroupKeyCode()
KeyedDataeffectiveLocalDate of HrBusinessObject
getGroupKeyCode in interface KeyedDatapublic HrGroupKey.Builder getGroupKey()
getGroupKey in interface KeyedDatapublic String getDescription()
DepartmentContractdescription of Department
getDescription in interface DepartmentContractpublic String getChart()
DepartmentContractchart of Department
getChart in interface DepartmentContractpublic String getOrg()
DepartmentContractorg of Department
getOrg in interface DepartmentContractpublic boolean isPayrollApproval()
DepartmentContractpayrollApproval of Department
isPayrollApproval in interface DepartmentContractpublic Long getVersionNumber()
getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versionedpublic String getObjectId()
getObjectId in interface org.kuali.rice.core.api.mo.common.GloballyUniquepublic boolean isActive()
isActive in interface org.kuali.rice.core.api.mo.common.active.Inactivatablepublic String getId()
getId in interface org.kuali.rice.core.api.mo.common.Identifiablepublic org.joda.time.DateTime getCreateTime()
CreateTimetimestamp of HrBusinessObject
getCreateTime in interface CreateTimepublic org.joda.time.LocalDate getEffectiveLocalDate()
EffectiveeffectiveLocalDate of HrBusinessObject
getEffectiveLocalDate in interface Effectivepublic String getUserPrincipalId()
UserModifieduserPrincipalId of HrBusinessObject
getUserPrincipalId in interface UserModifiedpublic void setHrDeptId(String hrDeptId)
public void setGroupKeyCode(String groupKeyCode)
public void setGroupKey(HrGroupKey.Builder groupKey)
public void setDescription(String description)
public void setPayrollApproval(boolean payrollApproval)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
public void setCreateTime(org.joda.time.DateTime createTime)
public void setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate)
public void setUserPrincipalId(String userPrincipalId)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.