WebLogic Integration


com.bea.schema.type
Class PrimitiveNumber

java.lang.Object
  |
  +--com.bea.schema.SOMObject
        |
        +--com.bea.schema.type.SOMType
              |
              +--com.bea.schema.type.SOMElementalType
                    |
                    +--com.bea.schema.type.PrimitiveNumber

Deprecated. 5/2/2001

public class PrimitiveNumber
extends SOMElementalType

number represents arbitrary precision decimal numbers. The value space of number is the set of the values i × 10^-n, where i and n are integers such that n >= 0. The order-relation on number is: x < y iff y - x is positive.

[Definition:] The value space of types derived from number with a value for totalDigits of p is the set of values i × 10^-n, where n and i are integers such that p >= n >= 0 and the number of significant decimal digits in i is less than or equal to p.

[Definition:] The value space of types derived from number with a value for fractionDigits of s is the set of values i × 10^-n, where i and n are integers such that 0 <= n <= s.

number has a lexical representation consisting of a finite-length sequence of decimal digits (#x30-#x39) separated by a period as a decimal indicator. If totalDigits is specified, the number of digits must be less than or equal to totalDigits. If fractionDigits is specified, the number of digits following the decimal point must be less than or equal to the fractionDigits. An optional leading sign is allowed. If the sign is omitted, "+" is assumed. Leading and trailing zeroes are optional. If the fractional part is zero, the period and following zero(es) can be omitted. For example: -1.23, 12678967.543233, +100000.00, 210.

number has the following constraining facets:

Since:
3/16/2001
Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
See Also:
W3C XML Schema number, Serialized Form

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
PrimitiveNumber()
          Deprecated.  
 
Method Summary
 java.lang.String createDefault(java.util.Map restrictions)
          Deprecated.  
 java.util.Vector getAllowedFacets()
          Deprecated. Provides a Vector of String's enumerating the valid Facets for this type.
 java.lang.String getID()
          Deprecated.  
 boolean isValid(java.lang.String value, java.util.Map restrictions)
          Deprecated.  
 
Methods inherited from class com.bea.schema.type.SOMElementalType
getTypeRestrictions, isSchemaChild
 
Methods inherited from class com.bea.schema.type.SOMType
getType, isElementalType, isUserDefinedType, toXML
 
Methods inherited from class com.bea.schema.SOMObject
addChild, addPrefixMapping, attributesToXML, collectEffectivePrefixMappings, doIndent, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getTargetNamespace, getURIForPrefix, isCircularReference, namespacePrefixesToXML, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, toString, toXML, toXML, toXML, trace, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrimitiveNumber

public PrimitiveNumber()
Deprecated. 
Method Detail

getID

public java.lang.String getID()
Deprecated. 

Overrides:
getID in class SOMType

getAllowedFacets

public java.util.Vector getAllowedFacets()
Deprecated. 
Provides a Vector of String's enumerating the valid Facets for this type.

Returns:
vector of String(s)
Overrides:
getAllowedFacets in class SOMType

createDefault

public java.lang.String createDefault(java.util.Map restrictions)
Deprecated. 

Overrides:
createDefault in class SOMElementalType

isValid

public boolean isValid(java.lang.String value,
                       java.util.Map restrictions)
Deprecated. 

Overrides:
isValid in class SOMElementalType

WebLogic Integration

WebLogic Integration (WLI)