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()
Identifiable
getId
in interface Identifiable
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
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.