public class RangeTableModel extends CommonRangeTableModel implements ITagNameProvider, ICatalogObject
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.
RangeTableClassModelThe 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>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AGREEMENT_ID
The XML attribute name of the agreement id
|
static java.lang.String |
OWNER_TAG_NAME
The XML attribute name of the owner
|
static java.lang.String |
TAG_NAME
The XML tag name of this data model: "rangeTable"
|
| Constructor and Description |
|---|
RangeTableModel() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAgreementId()
Gets the agreement identifier of the range table;
|
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 |
setAgreementId(java.lang.String id)
Sets the agreement identifier of the range table;
|
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.
|
addCharacterData, addChild, getAdditionalInfoList, getClass, getDescription, getId, getRangeTableClassId, marshalChildren, setDescription, setId, setRangeTableClassIdgetPeriod, getPeriodsmarshalpublic static final java.lang.String TAG_NAME
public static final java.lang.String OWNER_TAG_NAME
public static final java.lang.String AGREEMENT_ID
public java.lang.String getOwner()
getOwner in interface ICatalogObjectpublic void setOwner(java.lang.String owner)
owner - The owner to set up to the range tablepublic java.lang.String getAgreementId()
public void setAgreementId(java.lang.String id)
id - The agreement identifier to set up to the range tablepublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallablesetAttributes in class CommonRangeTableModelatts - The XML attributes of the current elementpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallablemarshalAttributes in interface IXMLMarshallablemarshalAttributes in class CommonRangeTableModeloutput - The XML output to marshal the object attributes intopublic java.lang.String getTagName()
ITagNameProvidergetTagName in interface ITagNameProvidergetTagName in class BaseChronologyModel<RangeTablePeriodObjectModel>