Package com.highdeal.rangetable.hci
Class RangeTablePeriodObjectModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.chrono.hci.AbstractPeriodObjectModel
com.highdeal.rangetable.hci.RangeTablePeriodObjectModel
- All Implemented Interfaces:
IPeriodObjectModel,ITagNameProvider,IXMLMarshallable,XMLMapping,XMLMarshallable
This
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.XML API for HCI
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>
-
Field Summary
Fields inherited from class com.highdeal.chrono.hci.AbstractPeriodObjectModel
TAG_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.Methods inherited from class com.highdeal.chrono.hci.AbstractPeriodObjectModel
asTimeFrame, getEnd, getStart, getTagName, marshalAttributes, setAttributes, setEnd, setStartMethods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Constructor Details
-
RangeTablePeriodObjectModel
public RangeTablePeriodObjectModel()
-
-
Method Details
-
getRangeTableRowList
-
getRangeTableRangeSetList
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-