Class DocumentAttributeDateTime

  extended by
      extended by org.kuali.rice.kew.api.document.attribute.DocumentAttribute
          extended by org.kuali.rice.kew.api.document.attribute.DocumentAttributeDateTime
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, DocumentAttributeContract

public final class DocumentAttributeDateTime
extends DocumentAttribute

A document attribute which contains date/time data. Construct instances of DocumentAttributeDateTime using it's builder or the DocumentAttributeFactory.

Kuali Rice Team (
See Also:
Serialized Form

Nested Class Summary
static class DocumentAttributeDateTime.Builder
          A builder implementation which allows for construction of a DocumentAttributeDateTime.
Nested classes/interfaces inherited from class org.kuali.rice.kew.api.document.attribute.DocumentAttribute
Method Summary
 DocumentAttributeDataType getDataType()
          Returns the data type of this document attribute.
 org.joda.time.DateTime getValue()
          Returns the value of this document attribute.
Methods inherited from class org.kuali.rice.kew.api.document.attribute.DocumentAttribute
Methods inherited from class
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

Method Detail


public org.joda.time.DateTime getValue()
Description copied from interface: DocumentAttributeContract
Returns the value of this document attribute. It can be of any type as defined by the implementations of this interface. It is possible that this value may be null in cases where the document has a particular attribute but no actual value associated with that attribute.

the value of the document attribute


public DocumentAttributeDataType getDataType()
Description copied from interface: DocumentAttributeContract
Returns the data type of this document attribute. This will generally inform the type of object returned from the #getValue method. This method should never return a null value.

the data type of this document attribute

Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.