Package com.highdeal.rangetable.hci
Class CommonRangeTableRevisionModel
java.lang.Object
com.highdeal.rangetable.hci.CommonRangeTableRevisionModel
- All Implemented Interfaces:
IXMLMarshallable,XMLMapping,XMLMarshallable
- Direct Known Subclasses:
RangeTableRevisionModel,SubscriberRangeTableRevisionModel
public abstract class CommonRangeTableRevisionModel
extends Object
implements IXMLMarshallable, XMLMapping
This
abstract Java class defines an abstract revision (period-based version) of a (subscriber) range table;
You use the known subclasses with the create and modify operations.
It contains rows with input and output columns or range sets with a range set key and ranges.
The range table class ID is:
- Optional for the modification
- Mandatory for the creation
- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="CommonRangeTableRevisionType" abstract="true">
<xs:sequence>
<xs:element name="description" type="DescriptionType" minOccurs="0" maxOccurs="1" />
<xs:element name="additionalInfo" type="AdditionalInfoType" minOccurs="0" maxOccurs="unbounded" />
<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="id" type="xs:string" />
<xs:attribute name="rangeTableClassId" type="xs:string" use="optional" />
</xs:complexType>
-
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.Gets the list of information dedicated to external system.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.Gets the description of the range table (or subscriber range table); Allow a better understanding about this range table.getId()Gets the ID of the range table (or subscriber range table).Gets the range table class code used by this instance.Gets the list ofrange setsdefined in the range table (or subscriber range table).Gets the list ofrowsdefined in the range table (or subscriber range table).voidmarshal(XMLOutputter output) Deprecated.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAdditionalInfoList(List<AdditionalInfoModel> additionalInfoList) Sets the list of information dedicated to external system.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetDescription(String description) Sets the description of the range table (or subscriber range table); Allow a better understanding about this range table.voidSets the ID of the range table (or subscriber range table).voidsetRangeTableClassId(String rangeTableClassId) Sets the range table class code that contains the table scheme.voidsetRangeTableRowList(List<RangeTableRowModel> rangeTableRowList) Sets the list ofrowsdefined in the range table (or subscriber range table).
-
Constructor Details
-
CommonRangeTableRevisionModel
public CommonRangeTableRevisionModel()
-
-
Method Details
-
getId
Gets the ID of the range table (or subscriber range table).- Returns:
- A string that contains the
identifierof the table
-
setId
Sets the ID of the range table (or subscriber range table).- Parameters:
id- The identifier to set to the table
-
getRangeTableClassId
Gets the range table class code used by this instance.- Returns:
- A string that contains the range table class identifier to recover the scheme of the table
- See Also:
-
setRangeTableClassId
Sets the range table class code that contains the table scheme.- Parameters:
rangeTableClassId- The identifier of the range table class to use
-
getDescription
Gets the description of the range table (or subscriber range table); Allow a better understanding about this range table.- Returns:
- The description of the table
-
setDescription
Sets the description of the range table (or subscriber range table); Allow a better understanding about this range table.- Parameters:
description- The description of the table
-
getAdditionalInfoList
Gets the list of information dedicated to external system. The designer of the Range Table adds information allowing an external system tosearchits specifics Range Table. An additional information is a property defined by its name and its value.- Returns:
- The list of information dedicated to external system
-
setAdditionalInfoList
Sets the list of information dedicated to external system. The designer of the Range Table adds information allowing an external system tosearchits specifics Range Table. An additional information is a property defined by its name and its value.- Parameters:
additionalInfoList- The list of information dedicated to external system
-
getRangeTableRowList
Gets the list ofrowsdefined in the range table (or subscriber range table).- Returns:
- The list of rows
-
setRangeTableRowList
Sets the list ofrowsdefined in the range table (or subscriber range table).- Parameters:
rangeTableRowList- The list of rows
-
getRangeTableRangeSetList
Gets the list ofrange setsdefined in the range table (or subscriber range table).- Returns:
- The list of range sets
-
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
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
CData- The character data to be added
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the object attributes into
-
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
-
marshal
Deprecated.Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceIXMLMarshallable- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
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
-