com.highdeal.rangetable.hci
Class RangeTableModel

java.lang.Object
  extended by com.highdeal.hci.HCIModelAdapter
      extended by com.highdeal.chrono.hci.BaseChronologyModel<RangeTableRowPeriodObjectModel>
          extended by com.highdeal.rangetable.hci.CommonRangeTableModel
              extended by 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 the upper bound and output column filled.

Related Operations

See Also:
RangeTableClassModel

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:extension>
   </xs:complexContent>
 </xs:complexType>


Field Summary
static java.lang.String OWNER_TAG_NAME
          The XML tag name of the range table model attributes
static java.lang.String TAG_NAME
          The XML tag name of this data model: "rangeTable"
 
Constructor Summary
RangeTableModel()
           
 
Method Summary
 java.lang.String getOwner()
          Gets the owner of the range table; The range table and range table class used must have the same owner.
 java.lang.String getTagName()
          Gets the XML tag name of the HCI model.
 void marshalAttributes(XMLOutputter output)
          Gives an XML representation of the attributes of an object.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the element being processed.
 void setOwner(java.lang.String owner)
          Sets 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, setRangeTableClassId
 
Methods inherited from class com.highdeal.chrono.hci.BaseChronologyModel
getPeriod, getPeriods
 
Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_NAME

public static final java.lang.String TAG_NAME
The XML tag name of this data model: "rangeTable"

See Also:
Constant Field Values

OWNER_TAG_NAME

public static final java.lang.String OWNER_TAG_NAME
The XML tag name of the range table model attributes

See Also:
Constant Field Values
Constructor Detail

RangeTableModel

public RangeTableModel()
Method Detail

getOwner

public java.lang.String getOwner()
Gets the owner of the range table; The range table and range table class used must have the same owner.

Specified by:
getOwner in interface ICatalogObject
Returns:
A string that contains the owner of the range table

setOwner

public void setOwner(java.lang.String owner)
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

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the element being processed.

Specified by:
setAttributes in interface XMLMarshallable
Overrides:
setAttributes in class CommonRangeTableModel
Parameters:
atts - The XML attributes of the current element

marshalAttributes

public void marshalAttributes(XMLOutputter output)
Description copied from interface: IXMLMarshallable
Gives an XML representation of the attributes of an object.

Specified by:
marshalAttributes in interface IXMLMarshallable
Overrides:
marshalAttributes in class CommonRangeTableModel
Parameters:
output - The XML output to marshal the object attributes into

getTagName

public java.lang.String getTagName()
Description copied from interface: ITagNameProvider
Gets the XML tag name of the HCI model.

Specified by:
getTagName in interface ITagNameProvider
Overrides:
getTagName in class BaseChronologyModel<RangeTableRowPeriodObjectModel>
Returns:
The XML tag name

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)