com.bea.schema.type
Class PrimitiveDecimal
java.lang.Object
|
+--com.bea.schema.SOMObject
|
+--com.bea.schema.type.SOMType
|
+--com.bea.schema.type.SOMElementalType
|
+--com.bea.schema.type.PrimitiveDecimal
- Direct Known Subclasses:
- DerivedInteger
- public class PrimitiveDecimal
- extends SOMElementalType
decimal represents arbitrary precision decimal numbers.
The value space of decimal is the set of the values i × 10^-n, where
i and n are integers such that n >= 0. The order-relation on decimal
is: x < y iff y - x is positive.
[Definition:] The value space of types derived from decimal with a
value for precision 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 decimal with a
value for scale of s is the set of values i × 10^-n, where i and n are
integers such that 0 <= n <= s.
decimal has the following constraining facets:
- totalDigits
- fractionDigits
- pattern
- whiteSpace
- enumeration
- maxInclusive
- maxExclusive
- minInclusive
- minExclusive
- Author:
- Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.
- See Also:
- W3C XML Schema decimal, 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 |
Method Summary
|
java.lang.String |
createDefault(java.util.Map restrictions)
|
java.util.Vector |
getAllowedFacets()
Provides a Vector of String's enumerating the valid Facets for this type. |
java.lang.String |
getID()
|
boolean |
isValid(java.lang.String value,
java.util.Map restrictions)
|
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 |
PrimitiveDecimal
public PrimitiveDecimal()
getID
public java.lang.String getID()
- Overrides:
- getID in class SOMType
getAllowedFacets
public java.util.Vector getAllowedFacets()
- 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)
- Overrides:
- createDefault in class SOMElementalType
isValid
public boolean isValid(java.lang.String value,
java.util.Map restrictions)
- Overrides:
- isValid in class SOMElementalType
WebLogic Integration (WLI)