|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.api.common.attribute.KimAttribute.Builder
public static final class KimAttribute.Builder
This builder constructs an KimAttribute enforcing the constraints of the KimAttributeContract
.
Method Summary | |
---|---|
KimAttribute |
build()
Returns an instance of the object being built by this builder based on the current state of the builder. |
static KimAttribute.Builder |
create(KimAttributeContract contract)
creates a KimAttribute from an existing KimAttributeContract . |
static KimAttribute.Builder |
create(String componentName,
String attributeName,
String namespaceCode)
creates a KimAttribute with the required fields. |
String |
getAttributeLabel()
The label for the kim attribute. |
String |
getAttributeName()
The name of the attribute on the KimAttributeContract.getComponentName() . |
String |
getComponentName()
A fully-qualified class name which contains the KimAttributeContract.getAttributeName() . |
String |
getId()
The unique identifier for an object. |
String |
getNamespaceCode()
The namespace code that this kim attribute belongs too. |
String |
getObjectId()
Return the globally unique object id of this object. |
Long |
getVersionNumber()
Returns the version number for this object. |
boolean |
isActive()
The active indicator for an object. |
void |
setActive(boolean active)
|
void |
setAttributeLabel(String attributeLabel)
|
void |
setAttributeName(String attributeName)
|
void |
setComponentName(String componentName)
|
void |
setId(String id)
|
void |
setNamespaceCode(String namespaceCode)
|
void |
setObjectId(String objectId)
|
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 KimAttribute.Builder create(String componentName, String attributeName, String namespaceCode)
public static KimAttribute.Builder create(KimAttributeContract contract)
KimAttributeContract
.
public String getId()
Identifiable
getId
in interface Identifiable
public void setId(String id)
public String getComponentName()
KimAttributeContract
KimAttributeContract.getAttributeName()
. This cannot be null or a blank string.
getComponentName
in interface KimAttributeContract
public void setComponentName(String componentName)
public String getAttributeName()
KimAttributeContract
KimAttributeContract.getComponentName()
. This cannot be null or a blank string.
getAttributeName
in interface KimAttributeContract
public void setAttributeName(String attributeName)
public String getNamespaceCode()
KimAttributeContract
getNamespaceCode
in interface KimAttributeContract
public void setNamespaceCode(String namespaceCode)
public String getAttributeLabel()
KimAttributeContract
getAttributeLabel
in interface KimAttributeContract
public void setAttributeLabel(String attributeLabel)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUnique
getObjectId
in interface GloballyUnique
public void setObjectId(String objectId)
public KimAttribute build()
ModelBuilder
build
in interface ModelBuilder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |