public static final class PositionBase.Builder extends Object implements Serializable, PositionBaseContract, org.kuali.rice.core.api.mo.ModelBuilder
PositionBase
instances. Enforces the constraints of the PositionBaseContract
.CACHE_NAME
Modifier and Type | Method and Description |
---|---|
PositionBase |
build() |
static PositionBase.Builder |
create(PositionBaseContract contract) |
static PositionBase.Builder |
create(String positionNumber) |
org.joda.time.DateTime |
getCreateTime()
The timestamp of when this HrBusinessObject was last created/updated
|
String |
getDescription()
The description of a PositionBase
|
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 |
getHrPositionId()
The Primary Key of a PositionBase entry saved in a database
|
String |
getId() |
String |
getObjectId() |
String |
getPositionNumber()
The position number of a PositionBase
|
String |
getUserPrincipalId()
The userPrincipalId of when this HrBusinessObject was last created/updated
|
Long |
getVersionNumber() |
boolean |
isActive() |
void |
setActive(boolean active) |
void |
setCreateTime(org.joda.time.DateTime createTime) |
void |
setDescription(String description) |
void |
setEffectiveLocalDate(org.joda.time.LocalDate effectiveLocalDate) |
void |
setGroupKey(HrGroupKey.Builder groupKey) |
void |
setGroupKeyCode(String groupKeyCode) |
void |
setHrPositionId(String hrPositionId) |
void |
setId(String id) |
void |
setObjectId(String objectId) |
void |
setPositionNumber(String positionNumber) |
void |
setUserPrincipalId(String userPrincipalId) |
void |
setVersionNumber(Long versionNumber) |
public static PositionBase.Builder create(String positionNumber)
public static PositionBase.Builder create(PositionBaseContract contract)
public PositionBase build()
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
public String getPositionNumber()
PositionBaseContract
positionNumber of a PositionBase
getPositionNumber
in interface PositionBaseContract
public String getHrPositionId()
PositionBaseContract
hrPositionId of a PositionBase
getHrPositionId
in interface PositionBaseContract
public String getDescription()
PositionBaseContract
description of a PositionBase
getDescription
in interface PositionBaseContract
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 String getGroupKeyCode()
KeyedData
effectiveLocalDate of HrBusinessObject
getGroupKeyCode
in interface KeyedData
public HrGroupKey.Builder getGroupKey()
getGroupKey
in interface KeyedData
public void setPositionNumber(String positionNumber)
public void setHrPositionId(String hrPositionId)
public void setDescription(String description)
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)
public void setGroupKeyCode(String groupKeyCode)
public void setGroupKey(HrGroupKey.Builder groupKey)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.