com.bea.schema.type
Class PrimitiveTimeDuration
java.lang.Object
com.bea.schema.SOMObject
com.bea.schema.type.SOMType
com.bea.schema.type.SOMElementalType
com.bea.schema.type.PrimitiveTimeDuration
- All Implemented Interfaces:
- Serializable
Deprecated. 3/16/2001
- public class PrimitiveTimeDuration
- extends SOMElementalType
timeDuration represents a duration of time. The value
space of timeDuration 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. The order-relation
on timeDuration is defined as follows. For timeDuration t and starting
timeInstant s, compute an end timeInstant t[s] whose components CCYY,
MM, DD, etc. are computed by adding to those components of s the
corresponding components of t and handling the carry-overs correctly.
Then, the order-relation of two timeDuration values x and y is x > y
iff x[s] > y[s] for any starting instant s, x < y iff x[s] < y[s] for
any s and x = y iff x[s] = y[s] for any s.
timeDuration has the following constraining facets:
- pattern
- enumeration
- whiteSpace
- maxInclusive
- maxExclusive
- minInclusive
- minExclusive
- 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 |
Method Summary |
Vector |
getAllowedFacets()
Deprecated. By default, all sub-classes of SOMType do not allow
facets (restrictions). |
String |
getID()
Deprecated. <xsd:anyType> |
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 |
PrimitiveTimeDuration
public PrimitiveTimeDuration()
- Deprecated.
getID
public String getID()
- Deprecated.
- Description copied from class:
SOMType
- <xsd:anyType>
- Overrides:
getID
in class SOMType
getAllowedFacets
public Vector getAllowedFacets()
- Deprecated.
- 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.