public static final class CodedAttribute.Builder extends Object implements Serializable, ModelBuilder, CodedAttributeContract
CodedAttribute instances. Enforces the constraints of the CodedAttributeContract.| Modifier and Type | Method and Description |
|---|---|
CodedAttribute |
build()
Returns an instance of the object being built by this builder based
on the current state of the builder.
|
static CodedAttribute.Builder |
create(CodedAttributeContract contract) |
static CodedAttribute.Builder |
create(String code) |
String |
getCode()
The code value for this object.
|
String |
getName()
This the name for the AddressType.
|
String |
getObjectId()
Return the globally unique object id of this object.
|
String |
getSortCode()
This the sort code for the AddressType.
|
Long |
getVersionNumber()
Returns the version number for this object.
|
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setCode(String code) |
void |
setName(String name) |
void |
setObjectId(String objectId) |
void |
setSortCode(String sortCode) |
void |
setVersionNumber(Long versionNumber) |
public static CodedAttribute.Builder create(String code)
public static CodedAttribute.Builder create(CodedAttributeContract contract)
public CodedAttribute build()
ModelBuilderbuild in interface ModelBuilderpublic String getName()
CodedAttributeContractgetName in interface CodedAttributeContractpublic String getCode()
Codedpublic String getSortCode()
CodedAttributeContractgetSortCode in interface CodedAttributeContractpublic Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setSortCode(String sortCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.