com.bea.schema.type
Class PrimitiveFloat

java.lang.Object
  extended bycom.bea.schema.SOMObject
      extended bycom.bea.schema.type.SOMType
          extended bycom.bea.schema.type.SOMElementalType
              extended bycom.bea.schema.type.PrimitiveFloat
All Implemented Interfaces:
Serializable

public class PrimitiveFloat
extends SOMElementalType

float corresponds to the IEEE single-precision 32-bit floating point type [IEEE 754-1985]. The basic value space of float consists of the values m × 2^e, where m is an integer whose absolute value is less than 2^24, and e is an integer between -149 and 104, inclusive. In addition to the basic value space described above, the value space of float also contains the following special values: positive and negative zero, positive negative infinity and not-a-number. The order-relation on float is: x < y iff y - x is positive.

float has the following constraining facets:

Version:
1.0
Author:
sharpe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bea.schema.type.SOMType
ANYURI, BASE64BINARY, BINARY, BOOLEAN, BYTE, CDATA, CENTURY, DATE, DATETIME, DECIMAL, DOUBLE, DURATION, ENTITIES, ENTITY, FLOAT, GDAY, GMONTH, GMONTHDAY, GYEAR, GYEARMONTH, HEXBINARY, ID, IDREF, IDREFS, INT, INTEGER, LANGUAGE, LONG, MONTH, NAME, NCNAME, NEGATIVEINTEGER, NMTOKEN, NMTOKENS, NONNEGATIVEINTEGER, NONPOSITIVEINTEGER, NORMALIZEDSTRING, NOTATION, NUMBER, POSITIVEINTEGER, QNAME, RECURRINGDATE, RECURRINGDAY, RECURRINGDURATION, SHORT, STRING, TIME, TIMEDURATION, TIMEINSTANT, TIMEPERIOD, TOKEN, UNSIGNEDBYTE, UNSIGNEDINT, UNSIGNEDLONG, UNSIGNEDSHORT, URIREFERENCE, YEAR
 
Constructor Summary
PrimitiveFloat()
           
 
Method Summary
 Vector getAllowedFacets()
          By default, all sub-classes of SOMType do not allow facets (restrictions).
 String getID()
          <xsd:anyType>
 
Methods inherited from class com.bea.schema.type.SOMElementalType
createDefault, getTypeRestrictions, isSchemaChild, isValid
 
Methods inherited from class com.bea.schema.type.SOMType
getType, isElementalType, isUserDefinedType, toXML
 
Methods inherited from class com.bea.schema.SOMObject
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimitiveFloat

public PrimitiveFloat()
Method Detail

getID

public String getID()
Description copied from class: SOMType
<xsd:anyType>

Overrides:
getID in class SOMType

getAllowedFacets

public Vector getAllowedFacets()
Description copied from class: SOMType
By default, all sub-classes of SOMType do not allow facets (restrictions). For types that do allow facets, the getAllowedFacets() method returns an Enumeration of String objects for the names of allowable facets.

Overrides:
getAllowedFacets in class SOMType
Returns:
Vector of String objects for the names of allowable facets or null if facets are not allowed for this type.