public static final class PositionDuty.Builder extends Object implements Serializable, PositionDutyContract, org.kuali.rice.core.api.mo.ModelBuilder
PositionDuty
instances. Enforces the constraints of the PositionDutyContract
.Modifier and Type | Method and Description |
---|---|
PositionDuty |
build() |
static PositionDuty.Builder |
create() |
static PositionDuty.Builder |
create(PositionDutyContract contract) |
String |
getDescription()
The description associated with the PositionDuty
|
org.joda.time.LocalDate |
getEffectiveLocalDateOfOwner() |
String |
getHrPositionId() |
String |
getName()
The name associated with the PositionDuty
|
String |
getObjectId() |
BigDecimal |
getPercentage()
The percentage associated with the PositionDuty
|
String |
getPmDutyId()
The primary key for a PositionDuty entry saved in the database
|
Long |
getVersionNumber() |
void |
setDescription(String description) |
void |
setEffectiveLocalDateOfOwner(org.joda.time.LocalDate effectiveLocalDateOfOwner) |
void |
setHrPositionId(String hrPositionId) |
void |
setName(String name) |
void |
setObjectId(String objectId) |
void |
setPercentage(BigDecimal percentage) |
void |
setPmDutyId(String pmDutyId) |
void |
setVersionNumber(Long versionNumber) |
public static PositionDuty.Builder create()
public static PositionDuty.Builder create(PositionDutyContract contract)
public PositionDuty build()
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
public String getName()
PositionDutyContract
name of a PositionDuty
getName
in interface PositionDutyContract
public String getDescription()
PositionDutyContract
description of a PositionDuty.
getDescription
in interface PositionDutyContract
public BigDecimal getPercentage()
PositionDutyContract
percentage of a PositionDuty.
getPercentage
in interface PositionDutyContract
public String getPmDutyId()
PositionDutyContract
pmDutyId of a PositinDuty.
getPmDutyId
in interface PositionDutyContract
public String getHrPositionId()
getHrPositionId
in interface PositionDerivedContract
public org.joda.time.LocalDate getEffectiveLocalDateOfOwner()
getEffectiveLocalDateOfOwner
in interface KpmeEffectiveDerivedDataTransferObject
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 void setDescription(String description)
public void setPercentage(BigDecimal percentage)
public void setPmDutyId(String pmDutyId)
public void setHrPositionId(String hrPositionId)
public void setEffectiveLocalDateOfOwner(org.joda.time.LocalDate effectiveLocalDateOfOwner)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.