Package com.highdeal.mappingtable.hci
Class MappingTableClassInColumnModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.mappingtable.hci.MappingTableClassInColumnModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMarshallable
This
It is used to define mapping table class schema defining the input columns and theirs types.
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThisenumerationlists the possible attribute values in ain a column of a mapping table class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets thedescriptionof the in column.getName()Gets thenameof the in column.Gets the XML name of the HCI model.getType()Gets thetypeof the in column.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetDescription(String description) Sets thedescriptionof the in column.voidSets thenameof the in column.voidSets thetypeof the in column.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
This XML tag name of this data model: "inColumn"- See Also:
-
-
Constructor Details
-
MappingTableClassInColumnModel
public MappingTableClassInColumnModel()
-
-
Method Details
-
getName
Gets thenameof the in column.- Returns:
- A string that contains the
nameof the in column
-
setName
Sets thenameof the in column.- Parameters:
name- Thenameto set to this in column
-
getDescription
Gets thedescriptionof the in column.- Returns:
- A string that contains the
descriptionof the in column
-
setDescription
Sets thedescriptionof the in column.- Parameters:
description- Thedescriptionto set to this in column
-
getType
Gets thetypeof the in column.- Returns:
- The
typeof the in column - See Also:
-
setType
Sets thetypeof the in column.- Parameters:
type- Thetypeto set to this in column- See Also:
-
getTagName
Gets the XML name of the HCI model.- Returns:
- The XML tag name
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Parameters:
output- TheXML outputto marshal the child objects into
-