Package com.highdeal.rangetable.hci
Class RangeTableModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.chrono.hci.BaseChronologyModel<RangeTablePeriodObjectModel>
com.highdeal.rangetable.hci.CommonRangeTableModel
com.highdeal.rangetable.hci.RangeTableModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMapping,XMLMarshallable,ICatalogObject
public class RangeTableModel
extends CommonRangeTableModel
implements ITagNameProvider, ICatalogObject
This
Java class represents a range table that is an instance of a range table class;
It contains rows with an upper bound and input and output columns, or range sets with a range set key and ranges.
Related Operations
- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableType">
<xs:complexContent>
<xs:extension base="CommonRangeTableType">
<xs:attribute name="owner" type="xs:string" />
<xs:attribute name="agreementId" type="xs:string" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the agreement identifier of the range table;getOwner()Gets the owner of the range table; The range table and range table class used must have the same owner.Gets the XML tag name of the HCI model.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidsetAgreementId(String id) Sets the agreement identifier of the range table;voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the owner of the range table; The range table and range table class used must have the same owner.Methods inherited from class com.highdeal.rangetable.hci.CommonRangeTableModel
addCharacterData, addChild, getAdditionalInfoList, getClass, getDescription, getId, getRangeTableClassId, marshalChildren, setDescription, setId, setRangeTableClassIdMethods inherited from class com.highdeal.chrono.hci.BaseChronologyModel
getPeriod, getPeriodsMethods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
The XML tag name of this data model: "rangeTable"- See Also:
-
OWNER_TAG_NAME
The XML attribute name of the owner- See Also:
-
AGREEMENT_ID
The XML attribute name of the agreement id- See Also:
-
-
Constructor Details
-
RangeTableModel
public RangeTableModel()
-
-
Method Details
-
getOwner
Gets the owner of the range table; The range table and range table class used must have the same owner.- Specified by:
getOwnerin interfaceICatalogObject- Returns:
- A string that contains the owner of the range table
-
setOwner
Sets the owner of the range table; The range table and range table class used must have the same owner.- Parameters:
owner- The owner to set up to the range table
-
getAgreementId
Gets the agreement identifier of the range table;- Returns:
- A string that contains the agreement identifier of the range table
-
setAgreementId
Sets the agreement identifier of the range table;- Parameters:
id- The agreement identifier to set up to the range table
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Overrides:
setAttributesin classCommonRangeTableModel- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- Overrides:
marshalAttributesin classCommonRangeTableModel- Parameters:
output- TheXML outputto marshal the object attributes into
-
getTagName
Description copied from interface:ITagNameProviderGets the XML tag name of the HCI model.- Specified by:
getTagNamein interfaceITagNameProvider- Overrides:
getTagNamein classBaseChronologyModel<RangeTablePeriodObjectModel>- Returns:
- The XML tag name
-