Class MappingTableClassInColumnModel

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

public class MappingTableClassInColumnModel extends HCIModelAdapter
This Java class represents an input attribute of a mapping table class.
It is used to define mapping table class schema defining the input columns and theirs types.
See Also:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="inColumn">
     <xs:complexType>
         <xs:sequence>
             <xs:choice>
                  <xs:element ref="string" />
                  <xs:element name="currency" type="CurrencyType" />
             </xs:choice>
         </xs:sequence>
        <xs:attribute name="name" type="xs:string"/>
         <xs:attribute name="description" type="xs:string"/>
     </xs:complexType>
 </xs:element>

  • Field Details

  • Constructor Details

    • MappingTableClassInColumnModel

      public MappingTableClassInColumnModel()
  • Method Details

    • getName

      public String getName()
      Gets the name of the in column.
      Returns:
      A string that contains the name of the in column
    • setName

      public void setName(String name)
      Sets the name of the in column.
      Parameters:
      name - The name to set to this in column
    • getDescription

      public String getDescription()
      Gets the description of the in column.
      Returns:
      A string that contains the description of the in column
    • setDescription

      public void setDescription(String description)
      Sets the description of the in column.
      Parameters:
      description - The description to set to this in column
    • getType

      Gets the type of the in column.
      Returns:
      The type of the in column
      See Also:
    • setType

      Sets the type of the in column.
      Parameters:
      type - The type to set to this in column
      See Also:
    • getTagName

      public String getTagName()
      Gets the XML name of the HCI model.
      Returns:
      The XML tag name
    • 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
    • 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
    • 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
    • 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