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
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_ |
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.