com.bea.schema.type
Class PrimitiveDuration

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.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:

Since:
3/16/2001
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
PrimitiveDuration()
           
 
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

PrimitiveDuration

public PrimitiveDuration()
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.