public class RangeTablePeriodObjectModel extends AbstractPeriodObjectModel implements XMLMapping
Java class represents a version of a range table. It contains the rows or the range sets of the range table for a period of time.The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTablePeriodObjectType">
<xs:sequence>
<xs:choice>
<xs:element name="rangeTableRow" type="RangeTableRowType" minOccurs="1" maxOccurs="unbounded" />
<xs:element name="rangeSet" type="RangeTableRangeSetType" minOccurs="1" maxOccurs="unbounded" />
</xs:choice>
</xs:sequence>
<xs:attribute name="start" type="xs:dateTime"/>
<xs:attribute name="end" type="xs:dateTime"/>
</xs:complexType>
TAG_NAME| Constructor and Description |
|---|
RangeTablePeriodObjectModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
java.util.List<RangeTableRangeSetModel> |
getRangeTableRangeSetList() |
java.util.List<RangeTableRowModel> |
getRangeTableRowList() |
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
asTimeFrame, getEnd, getStart, getTagName, marshalAttributes, setAttributes, setEnd, setStartmarshalpublic java.util.List<RangeTableRowModel> getRangeTableRowList()
public java.util.List<RangeTableRangeSetModel> getRangeTableRangeSetList()
public void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructor