|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krms.api.repository.BaseAttribute.Builder
public abstract static class BaseAttribute.Builder
This builder is used to construct the fields that BaseAttribute
is responsible for. It is abstract,
and intended to be subclassed by extenders of BaseAttribute
.
Constructor Summary | |
---|---|
protected |
BaseAttribute.Builder(BaseAttributeContract attr)
|
protected |
BaseAttribute.Builder(String id,
String attributeDefinitionId,
String value)
Private constructor for creating a builder with all of it's required attributes. |
Method Summary | |
---|---|
KrmsAttributeDefinition.Builder |
getAttributeDefinition()
This is the definition of the attribute |
String |
getAttributeDefinitionId()
This is the id of the definition of the attribute. |
String |
getId()
The unique identifier for an object. |
String |
getValue()
This is the value of the attribute |
void |
setAttributeDefinition(KrmsAttributeDefinition.Builder attributeDefinition)
|
void |
setAttributeDefinitionId(String attributeDefinitionId)
|
void |
setId(String id)
Sets the value of the id on this builder to the given value. |
void |
setValue(String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelBuilder |
---|
build |
Constructor Detail |
---|
protected BaseAttribute.Builder(String id, String attributeDefinitionId, String value)
protected BaseAttribute.Builder(BaseAttributeContract attr)
Method Detail |
---|
public void setId(String id)
id
- the id value to set, must not be null or blank
IllegalArgumentException
- if the id is null or blankpublic void setAttributeDefinitionId(String attributeDefinitionId)
public void setValue(String value)
public void setAttributeDefinition(KrmsAttributeDefinition.Builder attributeDefinition)
public String getId()
Identifiable
getId
in interface Identifiable
public String getAttributeDefinitionId()
BaseAttributeContract
It identifies the attribute definition
getAttributeDefinitionId
in interface BaseAttributeContract
public String getValue()
BaseAttributeContract
getValue
in interface BaseAttributeContract
public KrmsAttributeDefinition.Builder getAttributeDefinition()
BaseAttributeContract
getAttributeDefinition
in interface BaseAttributeContract
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |