public static final class ClassificationDuty.Builder extends Object implements Serializable, ClassificationDutyContract, org.kuali.rice.core.api.mo.ModelBuilder
ClassificationDuty
instances. Enforces the constraints of the ClassificationDutyContract
.Modifier and Type | Method and Description |
---|---|
ClassificationDuty |
build() |
static ClassificationDuty.Builder |
create() |
static ClassificationDuty.Builder |
create(ClassificationDutyContract contract) |
String |
getDescription()
The text area used for detailed description of the Duty
|
org.joda.time.LocalDate |
getEffectiveLocalDateOfOwner() |
String |
getName()
The short name of the duty associated with the ClassificationDuty
|
String |
getObjectId() |
BigDecimal |
getPercentage()
The percent of time performing the specified duty
|
String |
getPmDutyId()
The Primary Key that a ClassificationDuty record will be saved to a database with
|
String |
getPmPositionClassId() |
Long |
getVersionNumber() |
void |
setDescription(String description) |
void |
setEffectiveLocalDateOfOwner(org.joda.time.LocalDate effectiveLocalDateOfOwner) |
void |
setName(String name) |
void |
setObjectId(String objectId) |
void |
setPercentage(BigDecimal percentage) |
void |
setPmDutyId(String pmDutyId) |
void |
setPmPositionClassId(String pmPositionClassId) |
void |
setVersionNumber(Long versionNumber) |
public static ClassificationDuty.Builder create()
public static ClassificationDuty.Builder create(ClassificationDutyContract contract)
public ClassificationDuty build()
build
in interface org.kuali.rice.core.api.mo.ModelBuilder
public String getName()
ClassificationDutyContract
name of a ClassificationDuty.
getName
in interface ClassificationDutyContract
public String getDescription()
ClassificationDutyContract
description of a ClassificationDuty.
getDescription
in interface ClassificationDutyContract
public BigDecimal getPercentage()
ClassificationDutyContract
percentage of a ClassificationDuty.
getPercentage
in interface ClassificationDutyContract
public String getPmDutyId()
ClassificationDutyContract
pmDutyId of a ClassificationDuty.
getPmDutyId
in interface ClassificationDutyContract
public String getPmPositionClassId()
getPmPositionClassId
in interface ClassificationDerivedContract
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 setPmPositionClassId(String pmPositionClassId)
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.