org.kuali.rice.kew.api.document.attribute
Class DocumentAttributeDecimal
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.attribute.DocumentAttribute
org.kuali.rice.kew.api.document.attribute.DocumentAttributeDecimal
- All Implemented Interfaces:
- Serializable, ModelObjectBasic, ModelObjectComplete, DocumentAttributeContract
public final class DocumentAttributeDecimal
- extends DocumentAttribute
A document attribute which contains decimal or "real" data. Construct instances of DocumentAttributeDecimal
using it's builder or the DocumentAttributeFactory
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
getValue
public BigDecimal 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-2014 The Kuali Foundation. All Rights Reserved.