org.exolab.castor.xml.schema.simpletypes
Class RealType

java.lang.Object
  extended by org.exolab.castor.xml.schema.Structure
      extended by org.exolab.castor.xml.schema.Annotated
          extended by org.exolab.castor.xml.schema.XMLType
              extended by org.exolab.castor.xml.schema.SimpleType
                  extended by org.exolab.castor.xml.schema.simpletypes.AtomicType
                      extended by 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

Field Summary
 
Fields inherited from class org.exolab.castor.xml.schema.SimpleType
FINAL_ALL, FINAL_LIST, FINAL_RESTRICTION, FINAL_UNION
 
Fields inherited from class org.exolab.castor.xml.schema.XMLType
NULL_ARGUMENT
 
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
 
Constructor Summary
RealType()
           
 
Method Summary
 long getMaxExponent()
           
 long getMaxMantissa()
           
 long getMinExponent()
           
 long getMinMantissa()
           
 void setMaxExponent(long maxExponent)
           
 void setMaxMantissa(long maxMantissa)
           
 void setMinExponent(long minExponent)
           
 void setMinMantissa(long minMantissa)
           
 
Methods inherited from class org.exolab.castor.xml.schema.simpletypes.AtomicType
getMax, getMin, getPattern, isMaxInclusive, isMinInclusive
 
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 org.exolab.castor.xml.schema.Annotated
addAnnotation, getAnnotations, removeAnnotation
 
Methods inherited from class org.exolab.castor.xml.schema.Structure
isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealType

public RealType()
Method Detail

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