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()
ModelBuilder
build
in interface ModelBuilder
public String getName()
CodedAttributeContract
getName
in interface CodedAttributeContract
public String getCode()
Coded
public String getSortCode()
CodedAttributeContract
getSortCode
in interface CodedAttributeContract
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setSortCode(String sortCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.