public static final class DepartmentAffiliation.Builder extends Object implements Serializable, DepartmentAffiliationContract, org.kuali.rice.core.api.mo.ModelBuilder
DepartmentAffiliation instances. Enforces the constraints of the DepartmentAffiliationContract.| Modifier and Type | Method and Description |
|---|---|
DepartmentAffiliation |
build() |
static DepartmentAffiliation.Builder |
create() |
static DepartmentAffiliation.Builder |
create(DepartmentAffiliationContract contract) |
org.joda.time.DateTime |
getCreateTime()
The timestamp of when this HrBusinessObject was last created/updated
|
String |
getDeptAfflType()
The name of affiliation types positions may have with departments
|
org.joda.time.LocalDate |
getEffectiveLocalDate()
The localDate format of the effective date of the HrBusinessObject
|
String |
getHrDeptAfflId()
The primary key for a DepartmentAffiliation entry saved in the database
|
String |
getId() |
String |
getObjectId() |
String |
getUserPrincipalId()
The userPrincipalId of when this HrBusinessObject was last created/updated
|
Long |
getVersionNumber() |
boolean |
isActive() |
boolean |
isPrimaryIndicator()
The flag that indicates the department affiliation is the primary department that could be used to determine department's access to modify position data
|
void |
setActive(boolean active) |
void |
setCreateTime(org.joda.time.DateTime createTime) |
void |
setDeptAfflType(String deptAfflType) |
void |
setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate) |
void |
setHrDeptAfflId(String hrDeptAfflId) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setPrimaryIndicator(boolean primaryIndicator) |
void |
setUserPrincipalId(String userPrincipalId) |
void |
setVersionNumber(Long versionNumber) |
public static DepartmentAffiliation.Builder create()
public static DepartmentAffiliation.Builder create(DepartmentAffiliationContract contract)
public DepartmentAffiliation build()
build in interface org.kuali.rice.core.api.mo.ModelBuilderpublic String getDeptAfflType()
DepartmentAffiliationContractdeptAfflType of a DepartmentAffiliation.
getDeptAfflType in interface DepartmentAffiliationContractpublic String getHrDeptAfflId()
DepartmentAffiliationContracthrDeptAfflId of a DepartmentAffiliation.
getHrDeptAfflId in interface DepartmentAffiliationContractpublic boolean isPrimaryIndicator()
DepartmentAffiliationContractprimaryIndicator of a Department Affiliation.
isPrimaryIndicator in interface DepartmentAffiliationContractpublic 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.LocalDate getEffectiveLocalDate()
EffectiveeffectiveLocalDate of HrBusinessObject
getEffectiveLocalDate in interface Effectivepublic org.joda.time.DateTime getCreateTime()
CreateTimetimestamp of HrBusinessObject
getCreateTime in interface CreateTimepublic String getUserPrincipalId()
UserModifieduserPrincipalId of HrBusinessObject
getUserPrincipalId in interface UserModifiedpublic void setDeptAfflType(String deptAfflType)
public void setHrDeptAfflId(String hrDeptAfflId)
public void setPrimaryIndicator(boolean primaryIndicator)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
public void setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate)
public void setCreateTime(org.joda.time.DateTime createTime)
public void setUserPrincipalId(String userPrincipalId)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.