|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.identity.CodedAttribute.Builder
public static final class CodedAttribute.Builder
A builder which can be used to construct CodedAttribute
instances. Enforces the constraints of the CodedAttributeContract
.
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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
getCode
in interface 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 setName(String name)
public void setCode(String code)
public void setSortCode(String sortCode)
public void setVersionNumber(Long versionNumber)
public void setObjectId(String objectId)
public void setActive(boolean active)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |