public static final class KimAttribute.Builder extends Object implements KimAttributeContract, ModelBuilder, Serializable
KimAttributeContract.| Modifier and Type | Method and Description |
|---|---|
KimAttribute |
build() |
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() |
String |
getNamespaceCode()
The namespace code that this kim attribute belongs too.
|
String |
getObjectId() |
Long |
getVersionNumber() |
boolean |
isActive() |
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()
getId 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()
isActive in interface Inactivatablepublic void setActive(boolean active)
public Long getVersionNumber()
getVersionNumber in interface Versionedpublic void setVersionNumber(Long versionNumber)
public String getObjectId()
getObjectId in interface GloballyUniquepublic void setObjectId(String objectId)
public KimAttribute build()
build in interface ModelBuilderCopyright © 2005–2016 The Kuali Foundation. All rights reserved.