org.kuali.rice.kew.api.document.attribute
Class DocumentAttributeInteger

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.kew.api.document.attribute.DocumentAttribute
          extended by org.kuali.rice.kew.api.document.attribute.DocumentAttributeInteger
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, DocumentAttributeContract

public final class DocumentAttributeInteger
extends DocumentAttribute

A document attribute which contains integer data. Construct instances of DocumentAttributeInteger using it's builder or the DocumentAttributeFactory.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
static class DocumentAttributeInteger.Builder
          A builder implementation which allows for construction of a DocumentAttributeInteger.
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.api.document.attribute.DocumentAttribute
DocumentAttribute.AbstractBuilder<T>
 
Method Summary
 DocumentAttributeDataType getDataType()
          Returns the data type of this document attribute.
 BigInteger getValue()
          Returns the value of this document attribute.
 
Methods inherited from class org.kuali.rice.kew.api.document.attribute.DocumentAttribute
getName
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getValue

public BigInteger 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.

Returns:
the value of the document attribute

getDataType

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.

Returns:
the data type of this document attribute


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