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() |
static CodedAttribute.Builder |
create(CodedAttributeContract contract) |
static CodedAttribute.Builder |
create(String code) |
String |
getCode() |
String |
getName()
This the name for the AddressType.
|
String |
getObjectId() |
String |
getSortCode()
This the sort code for the AddressType.
|
Long |
getVersionNumber() |
boolean |
isActive() |
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()
build in interface ModelBuilderpublic String getName()
CodedAttributeContractgetName in interface CodedAttributeContractpublic String getSortCode()
CodedAttributeContractgetSortCode in interface CodedAttributeContractpublic Long getVersionNumber()
getVersionNumber in interface Versionedpublic String getObjectId()
getObjectId in interface GloballyUniquepublic boolean isActive()
isActive in interface Inactivatablepublic void setSortCode(String sortCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005–2017 The Kuali Foundation. All rights reserved.