Class DocumentAttribute
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.attribute.DocumentAttribute
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.ModelObjectBasic,org.kuali.rice.core.api.mo.ModelObjectComplete,DocumentAttributeContract
- Direct Known Subclasses:
DocumentAttributeDateTime,DocumentAttributeDecimal,DocumentAttributeInteger,DocumentAttributeString
public abstract class DocumentAttribute
extends org.kuali.rice.core.api.mo.AbstractDataTransferObject
implements DocumentAttributeContract
An abstract representation of the
DocumentAttributeContract which can be used as the super class for
concrete immutable data transfer object implementations of document attributes. This class also defines an abstract
builder implementation which can be extended by it's subclasses to create their own internal builder implementations.
The KEW api defines the understood set of document attribute implementations, so it is not generally of value for a client of the api to subclass this class.
- Author:
- Kuali Rice Team (rice.collab@kuali.org).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn abstract base class that can be extended by concrete builder implementations of subclasses ofDocumentAttribute. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.kew.api.document.attribute.DocumentAttributeContract
getDataType, getValue
-
Constructor Details
-
DocumentAttribute
protected DocumentAttribute()
-
-
Method Details
-
getName
Description copied from interface:DocumentAttributeContractReturns the name of this document attribute which serves as an identifier for this attribute on the document. A document may have more then one attribute with the same name, in which case it is treated as a multi-valued attribute. This method should never return a null or blank value.- Specified by:
getNamein interfaceDocumentAttributeContract- Returns:
- the name of the document attribute
-