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.ModelBuilder
public String getDeptAfflType()
DepartmentAffiliationContract
deptAfflType of a DepartmentAffiliation.
getDeptAfflType
in interface DepartmentAffiliationContract
public String getHrDeptAfflId()
DepartmentAffiliationContract
hrDeptAfflId of a DepartmentAffiliation.
getHrDeptAfflId
in interface DepartmentAffiliationContract
public boolean isPrimaryIndicator()
DepartmentAffiliationContract
primaryIndicator of a Department Affiliation.
isPrimaryIndicator
in interface DepartmentAffiliationContract
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.LocalDate getEffectiveLocalDate()
Effective
effectiveLocalDate of HrBusinessObject
getEffectiveLocalDate
in interface Effective
public org.joda.time.DateTime getCreateTime()
CreateTime
timestamp of HrBusinessObject
getCreateTime
in interface CreateTime
public String getUserPrincipalId()
UserModified
userPrincipalId of HrBusinessObject
getUserPrincipalId
in interface UserModified
public 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.