Package com.highdeal.pnr.hci
Class OneShotChargeModel
java.lang.Object
com.highdeal.pnr.hci.RateComponentModel
com.highdeal.pnr.hci.ChargeModel
com.highdeal.pnr.hci.OneShotChargeModel
- All Implemented Interfaces:
XMLMarshallable,ContextualNode
This class represents a one-shot charge of a charging plan.
- Since:
- Transactive 4.0
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="oneshotCharge">
<xs:complexType>
<xs:sequence>
<xs:element ref="component" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="description" type="xs:string"/>
</xs:complexType>
</xs:element>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.Methods inherited from class com.highdeal.pnr.hci.ChargeModel
checkValidity, getMaxChildCount, getPropertyReferences, getRateComponent, setRateComponentMethods inherited from class com.highdeal.pnr.hci.RateComponentModel
addCharacterData, addChild, findRootRateModel, getChildAt, getChildCount, getChildren, getContext, getDescription, getName, getParent, getPropertyNames, inheritedContext, isRemoveChildAllowed, isSetChildAllowed, remove, removeChild, setAttributes, setChild, setChildren, setDescription, setName, setParent
-
Constructor Details
-
OneShotChargeModel
public OneShotChargeModel()
-
-
Method Details
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Overrides:
marshalin classRateComponentModel- Parameters:
output- TheXML outputto marshal the object into
-