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.ModelBuilder
public String getHrDeptId()
DepartmentContract
hrDeptId of Department
getHrDeptId
in interface DepartmentContract
public String getDept()
DepartmentContract
dept of Department
getDept
in interface DepartmentContract
public String getGroupKeyCode()
KeyedData
effectiveLocalDate of HrBusinessObject
getGroupKeyCode
in interface KeyedData
public HrGroupKey.Builder getGroupKey()
getGroupKey
in interface KeyedData
public String getDescription()
DepartmentContract
description of Department
getDescription
in interface DepartmentContract
public String getChart()
DepartmentContract
chart of Department
getChart
in interface DepartmentContract
public String getOrg()
DepartmentContract
org of Department
getOrg
in interface DepartmentContract
public boolean isPayrollApproval()
DepartmentContract
payrollApproval of Department
isPayrollApproval
in interface DepartmentContract
public Long getVersionNumber()
getVersionNumber
in interface org.kuali.rice.core.api.mo.common.Versioned
public String getObjectId()
getObjectId
in interface org.kuali.rice.core.api.mo.common.GloballyUnique
public boolean isActive()
isActive
in interface org.kuali.rice.core.api.mo.common.active.Inactivatable
public String getId()
getId
in interface org.kuali.rice.core.api.mo.common.Identifiable
public org.joda.time.DateTime getCreateTime()
CreateTime
timestamp of HrBusinessObject
getCreateTime
in interface CreateTime
public org.joda.time.LocalDate getEffectiveLocalDate()
Effective
effectiveLocalDate of HrBusinessObject
getEffectiveLocalDate
in interface Effective
public String getUserPrincipalId()
UserModified
userPrincipalId of HrBusinessObject
getUserPrincipalId
in interface UserModified
public 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.