org.exolab.castor.xml.schema.simpletypes

Class RealType

Implemented Interfaces:
Referable, java.io.Serializable

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

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, resolveReference, setFinal, setParent, setTypeCode, validate

Methods inherited from class org.exolab.castor.xml.schema.XMLType

getBaseType, getDerivationMethod, getId, getName, getSchema, getType, isAnyType, isComplexType, isSimpleType, setBaseType, setDerivationMethod, setId, setName, setParent, setSchema

Methods inherited from class org.exolab.castor.xml.schema.Annotated

addAnnotation, getAnnotations, removeAnnotation

Methods inherited from class org.exolab.castor.xml.schema.Structure

getStructureType, isValid, validate

Method Details

getMaxExponent

public long getMaxExponent()

getMaxMantissa

public long getMaxMantissa()

getMinExponent

public long getMinExponent()

getMinMantissa

public long getMinMantissa()

setMaxExponent

public void setMaxExponent(long maxExponent)

setMaxMantissa

public void setMaxMantissa(long maxMantissa)

setMinExponent

public void setMinExponent(long minExponent)

setMinMantissa

public void setMinMantissa(long minMantissa)

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com