com.bea.schema.type
Class PrimitiveDuration
java.lang.Object
com.bea.schema.SOMObject
com.bea.schema.type.SOMType
com.bea.schema.type.SOMElementalType
com.bea.schema.type.PrimitiveDuration
- All Implemented Interfaces:
- Serializable
- public class PrimitiveDuration
- extends SOMElementalType
duration represents a duration of time. The
value space of duration is a six-dimensional space where the
coordinates designate the Gregorian year, month, day, hour,
minute, and second components defined in § 5.5.3.2 of [ISO 8601],
respectively. These components are ordered in their significance
by their order of appearance i.e. as year, month, day, hour,
minute, and second.
duration has the following constraining facets:
- pattern
- enumeration
- whiteSpace
- maxInclusive
- maxExclusive
- minInclusive
- minExclusive
- Since:
- 3/16/2001
- Version:
- 1.0
- Author:
- sharpe
- See Also:
- 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 |
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 |
PrimitiveDuration
public PrimitiveDuration()
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.