public abstract class BaseAttribute extends AbstractDataTransferObject implements BaseAttributeContract
BaseAttributeContract,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
BaseAttribute.Builder
This builder is used to construct the fields that
BaseAttribute is responsible for. |
static class |
BaseAttribute.Elements
A protected class which exposes constants which define the XML element names to use
when this object is marshalled to XML.
|
AbstractDataTransferObject.Constants| Modifier | Constructor and Description |
|---|---|
protected |
BaseAttribute()
This constructor should only be called by the private default constructor of subclasses,
which should only be used by JAXB and never invoked directly.
|
protected |
BaseAttribute(BaseAttribute.Builder builder)
Constructs a BaseAttribute from the given builder.
|
| Modifier and Type | Method and Description |
|---|---|
KrmsAttributeDefinition |
getAttributeDefinition()
Returns a
KrmsAttributeDefinitionContract. |
String |
getAttributeDefinitionId()
Returns the id of the attribute definition.
|
String |
getId()
The unique identifier for an object.
|
String |
getValue()
Returns the value of the attribute
|
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringprotected BaseAttribute()
protected BaseAttribute(BaseAttribute.Builder builder)
builder - the Builder from which to construct the BaseAttributepublic String getId()
IdentifiablegetId in interface Identifiablepublic String getAttributeDefinitionId()
BaseAttributeContractThe attribute definition contains metadata about the attribute. This is a required field and may not be null or blank. Many attribute instances may share the same attribute definition.
getAttributeDefinitionId in interface BaseAttributeContractpublic String getValue()
BaseAttributeContractgetValue in interface BaseAttributeContractpublic KrmsAttributeDefinition getAttributeDefinition()
BaseAttributeContractKrmsAttributeDefinitionContract.
This is the object referred to by the attributeDefinitionId. The full object is also kept here for performance purposes. This is because the name of the attribute is referenced often for resolving name / value attribute pairs.
getAttributeDefinition in interface BaseAttributeContractCopyright © 2005–2016 The Kuali Foundation. All rights reserved.