public static final class KimAttribute.Builder extends Object implements KimAttributeContract, ModelBuilder, Serializable
KimAttributeContract.| Modifier and Type | Method and Description |
|---|---|
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) |
public static KimAttribute.Builder create(String componentName, String attributeName, String namespaceCode)
public static KimAttribute.Builder create(KimAttributeContract contract)
KimAttributeContract.public String getId()
IdentifiablegetId in interface Identifiablepublic String getComponentName()
KimAttributeContractKimAttributeContract.getAttributeName(). This cannot be null or a blank string.getComponentName in interface KimAttributeContractpublic void setComponentName(String componentName)
public String getAttributeName()
KimAttributeContractKimAttributeContract.getComponentName(). This cannot be null or a blank string.getAttributeName in interface KimAttributeContractpublic void setAttributeName(String attributeName)
public String getNamespaceCode()
KimAttributeContractgetNamespaceCode in interface KimAttributeContractpublic void setNamespaceCode(String namespaceCode)
public String getAttributeLabel()
KimAttributeContractgetAttributeLabel in interface KimAttributeContractpublic void setAttributeLabel(String attributeLabel)
public boolean isActive()
InactivatableisActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
VersionedgetVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
GloballyUniquegetObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public KimAttribute build()
ModelBuilderbuild in interface ModelBuilderCopyright © 2005-2015 The Kuali Foundation. All Rights Reserved.