org.jbind.xml.core.data
Interface IDecimalData

All Superinterfaces:
IAnySimpleTypeData, IAnyTypeData, IHasDigits, IHasOrder, IHasTotalOrder, ISimpleData, ITextContentProvider
All Known Subinterfaces:
IByteData, IIntData, IIntegerData, ILongData, INegativeIntegerData, INonNegativeIntegerData, INonPositiveIntegerData, IPositiveIntegerData, IShortData, IUnsignedByteData, IUnsignedIntData, IUnsignedLongData, IUnsignedShortData
All Known Implementing Classes:
AbstractDecimalData, AbstractIntData, AbstractIntegerData, AbstractLongData, AbstractShortData, AbstractUnsignedIntData, AbstractUnsignedShortData, ByteData, NegativeIntegerData, NonNegativeIntegerData, NonPositiveIntegerData, PositiveIntegerData, UnsignedByteData, UnsignedLongData

public interface IDecimalData
extends IHasTotalOrder, IHasDigits, IAnySimpleTypeData


Method Summary
 int compareDecimal_(IDecimalData aData)
           
 int compareSubTypeData_(IDecimalData aData)
          Compares this decimal data with the specified data.
 java.math.BigDecimal getBigDecimal()
           
 void setBigDecimal(java.math.BigDecimal aNewValue)
           
 
Methods inherited from interface org.jbind.xml.core.data.IHasOrder
isEqual, isGreater, isGreaterOrEqual, isLess, isLessOrEqual
 
Methods inherited from interface org.jbind.xml.core.data.IHasDigits
getNbDigits, getNbFractionDigits
 
Methods inherited from interface org.jbind.xml.core.data.IAnySimpleTypeData
getObject, setObject, toString
 
Methods inherited from interface org.jbind.xml.core.data.IAnyTypeData
accept_, acceptImpl_, addReferencedData_, createElement_, createElement_, equals, getAttribute_, getDataDesc_, getImpl_, getParent_, getSubstitutionHead_, getType_, hashCode, isDefault_, isNil_, iterAttributes_, iterElements_, setAttribute_, setDataDesc_, setImpl_, setSubstitutionHead_, setType_
 
Methods inherited from interface org.jbind.xml.core.data.ISimpleData
getCanonicalForm_, getLexicalValue_, getNormalizedValue_, getSimpleStorageObject, setLexicalValue_, simpleStorageValueEquals, simpleStorageValueHashCode
 
Methods inherited from interface org.jbind.xml.core.base.ITextContentProvider
getTextContent_
 

Method Detail

getBigDecimal

public java.math.BigDecimal getBigDecimal()

setBigDecimal

public void setBigDecimal(java.math.BigDecimal aNewValue)
                   throws XmlException
Throws:
XmlException

compareDecimal_

public int compareDecimal_(IDecimalData aData)

compareSubTypeData_

public int compareSubTypeData_(IDecimalData aData)
Compares this decimal data with the specified data. The type of this decimal data must be a base type of the type of the specified data.

Returns:
Returns -1, 0, or 1 if this decimal data is less than, equal to, or greater than the specified data, respectively.