public class RangeTableRangeSetModel extends java.lang.Object implements IXMLMarshallable, XMLMapping
Java class represents a range set in a range table.
The range set is composed of a range set key and one or several ranges.
The range set key is not mandatory. It must not be set for range tables without input columns.RangeTableModel,
SubscriberRangeTableModel,
RangeTableRangeSetKeyModel,
RangeTableRangeModel,
RangeTableColumnModelThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="RangeTableRangeSetType">
<xs:sequence>
<xs:element name="rangeSetKey" type="RangeTableRangeSetKeyType" minOccurs="0" maxOccurs="1" />
<xs:element name="range" type="RangeTableRangeType" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG_NAME
The tag name of the range set of a range table
|
| Constructor and Description |
|---|
RangeTableRangeSetModel()
Default range table range set model.
|
| 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.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.util.List<RangeTableRangeModel> |
getRanges()
Gets all the
ranges contained in the range set. |
RangeTableRangeSetKeyModel |
getRangeSetKey() |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
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 |
setRangeSetKey(RangeTableRangeSetKeyModel rangeSetKey) |
public static final java.lang.String TAG_NAME
public RangeTableRangeSetModel()
public RangeTableRangeSetKeyModel getRangeSetKey()
public void setRangeSetKey(RangeTableRangeSetKeyModel rangeSetKey)
rangeSetKey - the rangeSetKey to setpublic java.util.List<RangeTableRangeModel> getRanges()
ranges contained in the range set.public void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshalChildren(XMLOutputter output)
IXMLMarshallablemarshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects intopublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface IXMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object 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