Class DocumentAttribute

java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.attribute.DocumentAttribute
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, DocumentAttributeContract
Direct Known Subclasses:
DocumentAttributeDateTime, DocumentAttributeDecimal, DocumentAttributeInteger, DocumentAttributeString

public abstract class DocumentAttribute extends 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:
  • Constructor Details

    • DocumentAttribute

      protected DocumentAttribute()
  • Method Details

    • getName

      public String getName()
      Description copied from interface: DocumentAttributeContract
      Returns 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:
      getName in interface DocumentAttributeContract
      Returns:
      the name of the document attribute