Class RangeTableInColumnModel

java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.rangetable.hci.RangeTableInColumnModel
All Implemented Interfaces:
ITagNameProvider, IXMLMarshallable, XMLMarshallable

public class RangeTableInColumnModel extends HCIModelAdapter
This Java class is an input column model for a range table used by RangeTableRangeSetKeyModel.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:complexType name="RangeTableRangeInColumnType">
   <xs:attribute name="name" type="xs:string" />
   <xs:attribute name="value" type="xs:string" />
 </xs:complexType>

  • Field Details

    • TAG_NAME

      public static final String TAG_NAME
      The tag name of the input column of a range table set key
      See Also:
  • Constructor Details

    • RangeTableInColumnModel

      public RangeTableInColumnModel()
      Default range table input column model.
  • Method Details

    • getValue

      public String getValue()
      Returns:
      the value of the input column
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
    • getName

      public String getName()
      Returns:
      the name of the input column
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Parameters:
      cData - The character data to be added
    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      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.
      Parameters:
      output - The XML output to marshal the object attributes into
    • getTagName

      public String getTagName()
      Description copied from interface: ITagNameProvider
      Gets the XML tag name of the HCI model.
      Returns:
      The XML tag name
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshalChildren

      public void marshalChildren(XMLOutputter output)
      Description copied from interface: IXMLMarshallable
      Gives an XML representation of the child objects of an object.
      Parameters:
      output - The XML output to marshal the child objects into