Package com.highdeal.rangetable.hci
Class RangeTableClassOutColumnModel
java.lang.Object
com.highdeal.rangetable.hci.RangeTableClassOutColumnModel
- All Implemented Interfaces:
IXMLMarshallable,XMLMapping,XMLMarshallable
This
Java class represents an output attribute of a range table class.- See Also:
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:complexType name="OutColumnType">
<xs:sequence>
<xs:element name="description" type="DescriptionType" minOccurs="1" maxOccurs="1" />
<xs:choice>
<xs:element name="string" />
<xs:element name="singleNumber" />
<xs:element name="cumulativeNumber" />
<xs:element name="rangeSizeCumulativeNumber" />
</xs:choice>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThisenumerationlists all the types of out columns in the range tables and subscriber range tables; You set up this type in therange table classreferred by these business data tables. -
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.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.Gets the range tabledescription.getName()Gets thenameof the out column.getType()Gets the type of the out column.voidmarshal(XMLOutputter output) Deprecated.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 range table.voidSets thenameof the out column.voidSets thetypeof the out column.
-
Constructor Details
-
RangeTableClassOutColumnModel
public RangeTableClassOutColumnModel()
-
-
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 the range tabledescription.- Returns:
- A string that contains the
descriptionof the range table
-
setDescription
Sets thedescriptionof the range table.- Parameters:
description- Thedescriptionto set to this range table
-
getType
Gets the type of 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:
-
duplicate
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- 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.- Specified by:
addChildin interfaceXMLMarshallable- 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.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- 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.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-
marshal
Deprecated.Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceIXMLMarshallable- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-