Package com.highdeal.mappingtable.hci
Class MappingTableClassOutColumnModel
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.mappingtable.hci.MappingTableClassOutColumnModel
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,XMLMarshallable
This
Java class represents an output attribute in a mapping table class.- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="outColumn">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="string" />
<xs:element ref="number" />
</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 aout columndefined in amapping 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 out column.getName()Gets thenameof the out column.Gets the XML tag of HCI Model.getType()Gets thetypeof the out 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 out column.voidSets thenameof the out column.voidSets thetypeof the out column.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
TAG_NAME
This XML tag name of this data model: "outColumn"- See Also:
-
-
Constructor Details
-
MappingTableClassOutColumnModel
public MappingTableClassOutColumnModel()
-
-
Method Details
-
getName
Gets thenameof the out column.- Returns:
- A string that contains the
nameof the out column
-
setName
Sets thenameof the out column.- Parameters:
name- Thenameof the out column
-
getDescription
Gets thedescriptionof the out column.- Returns:
- A string that contains the
descriptionof the out column
-
setDescription
Sets thedescriptionof the out column.- Parameters:
description- Thedescriptionof the out column
-
getType
Gets thetypeof the out column.- Returns:
- The type of the out column
- See Also:
-
setType
Sets thetypeof the out column.- Parameters:
type- Thetypeof the out column- See Also:
-
getTagName
Gets the XML tag of HCI Model.- Returns:
- The XML tag name
-
duplicate
-
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
-