All Implemented Interfaces:
Serializable, Referable

public class RealType extends AtomicType
Represents "real numbers" (float, double and user types derived from them) Those numbers are of the form m x 2^e The min and max values for m are accessed with get/setMin/MaxMantissa e are accessed with get/setMin/MaxExponent m and e are not facets as specified by the xmlschema, they are just a way to regroup real and float under the same class.
Version:
$Revision:
Author:
Arnaud Berry
See Also:
  • Constructor Details

    • RealType

      public RealType()
  • Method Details

    • setMinMantissa

      public void setMinMantissa(long minMantissa)
    • setMaxMantissa

      public void setMaxMantissa(long maxMantissa)
    • setMinExponent

      public void setMinExponent(long minExponent)
    • setMaxExponent

      public void setMaxExponent(long maxExponent)
    • getMinMantissa

      public long getMinMantissa()
    • getMaxMantissa

      public long getMaxMantissa()
    • getMinExponent

      public long getMinExponent()
    • getMaxExponent

      public long getMaxExponent()
    • isNumericType

      public boolean isNumericType()
      Indicates whether this SimpleType is a numeric type.
      Overrides:
      isNumericType in class SimpleType
      Returns:
      True if this SimpleType is a numeric type
      See Also: