org.exolab.castor.xml.schema.simpletypes
Class RealType
java.lang.Object
org.exolab.castor.xml.schema.Structure
org.exolab.castor.xml.schema.Annotated
org.exolab.castor.xml.schema.XMLType
org.exolab.castor.xml.schema.SimpleType
org.exolab.castor.xml.schema.simpletypes.AtomicType
org.exolab.castor.xml.schema.simpletypes.RealType
- All Implemented Interfaces:
- java.io.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:
- Serialized Form
Fields inherited from class org.exolab.castor.xml.schema.Structure |
ANNOTATION, ANYTYPE, APPINFO, ATTRIBUTE, ATTRIBUTE_GROUP, COMPLEX_CONTENT, COMPLEX_TYPE, DOCUMENTATION, ELEMENT, FACET, GROUP, IDENTITY_FIELD, IDENTITY_SELECTOR, KEY, KEYREF, LIST, MODELGROUP, MODELGROUP_REF, REDEFINE, SCHEMA, SIMPLE_CONTENT, SIMPLE_TYPE, UNION, UNIQUE, UNKNOWN, WILDCARD |
Methods inherited from class org.exolab.castor.xml.schema.SimpleType |
addFacet, copyFacets, createReference, getBuiltInBaseType, getFacet, getFacets, getFacets, getFinal, getLength, getLocalFacets, getMaxLength, getMinLength, getParent, getReferenceId, getStructureType, getTypeCode, hasFacet, isBuiltInType, isRedefined, removeFacet, removeFacet, resolveReference, setFinal, setParent, setRedefined, validate |
Methods inherited from class org.exolab.castor.xml.schema.XMLType |
getBaseType, getDerivationMethod, getId, getName, getSchema, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setSchema |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealType
public RealType()
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()
Intalio Inc. (C) 1999-2004. All rights reserved http://www.intalio.com