public abstract class CommonRangeTableModel extends BaseChronologyModel<RangeTablePeriodObjectModel> implements XMLMapping
abstract Java class facilitates the handling of range tables and
subscriber range tables
in master data managed by the connected SAP CC Core Server system and stored in its back-end database system.
This model defines the common structure of range tables and subscriber range tables in Java technology;
it contains periods that define the rows or the range sets of a range table for different periods of time.
You can customize the data model by specifying some additional information.
This class defines the different versions of a range table (or subscriber range table). Refer to the
CommonRangeTableRevisionModel class
Consider the chronologies of rows or range sets.
Note
Refer to the SAP CC Application Help in the SAP CC 5.0 product documentation for more information about:
Consult the Features, Master Data, and Processes and Functions sections.
RangeTableModel,
SubscriberRangeTableModel,
CommonRangeTableRevisionModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="CommonRangeTableType" 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:element name="period" type="RangeTablePeriodObjectType" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="xs:string" />
<xs:attribute name="rangeTableClassId" type="xs:string" />
</xs:complexType>
| Constructor and Description |
|---|
CommonRangeTableModel() |
| 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.util.List<AdditionalInfoModel> |
getAdditionalInfoList()
Gets the list of information dedicated to external system.
|
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.lang.String |
getDescription()
Gets the comprehensive description of the range table.
|
java.lang.String |
getId()
Gets the range table
identifier. |
java.lang.String |
getRangeTableClassId()
Gets the range table class code used by this instance.
|
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setDescription(java.lang.String description)
Sets the comprehensive description of the range table.
|
void |
setId(java.lang.String id)
Sets the
identifier of the range table. |
void |
setRangeTableClassId(java.lang.String rangeTableClassId)
Sets the range table class code that contains the table scheme.
|
getPeriod, getPeriods, getTagNamemarshalpublic java.lang.String getId()
identifier.identifier of the range tablepublic void setId(java.lang.String id)
identifier of the range table.id - The identifier to set to the range tablepublic java.lang.String getRangeTableClassId()
RangeTableClassModelpublic void setRangeTableClassId(java.lang.String rangeTableClassId)
rangeTableClassId - The identifier of the range table class to usepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The text description of the range tablepublic java.util.List<AdditionalInfoModel> getAdditionalInfoList()
search its specific range table.
An additional information is a property defined by its name and its value.public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallableaddChild in class BaseChronologyModel<RangeTablePeriodObjectModel>tagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallablesetAttributes in class BaseChronologyModel<RangeTablePeriodObjectModel>atts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String CData)
XMLMarshallableaddCharacterData in interface XMLMarshallableaddCharacterData in class BaseChronologyModel<RangeTablePeriodObjectModel>CData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallablemarshalAttributes in class BaseChronologyModel<RangeTablePeriodObjectModel>output - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallablemarshalChildren in class BaseChronologyModel<RangeTablePeriodObjectModel>output - The XML output to marshal the child objects intopublic 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