Package com.highdeal.pnr.hci
Class PnRObjectSet
java.lang.Object
com.highdeal.pnr.hci.PnRObjectSetList
com.highdeal.pnr.hci.PnRObjectSet
- All Implemented Interfaces:
XMLMapping,XMLMarshallable
This
Java class represents a PnR object set; A PnR object set represents the transitive closure of a PnR object.
It contains:
- a list of
offers - a list of
charge plans - a list of
reusable charge components - a list of
refill plans - a list of
refill logic objects - a list of
pricing macros - a list of
translation tables - a list of
tier tables - a list of
mapping tables - a list of
charged item classes - a list of
refill record classes - a list of
products - a list of
chargeable item classes - a list of
refill item classes - a list of
allowance event class - a list of
range table classes - a list of
range tables - a list of
charged item aggregation policies - a list of
monitoring plans - a list of
exportable item mapping objects - a list of
allowance interface - a list of
counter names dictionary - a list of
spending status description
Some of these object lists may be empty.
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="pnrObjectSet">
<xs:complexType>
<xs:sequence>
<xs:element ref="offer" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="chargePlan" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="chargeComponent" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="refillPlan" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="refillLogic" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="allowancePlan" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="allowanceLogic" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="pricingMacro" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="translationTable" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="tierTable" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="mappingTableClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="mappingTable" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="product" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="chargeableItemClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="refillItemClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="chargedItemClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="refillRecordClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="allowanceEventClass" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="chargedItemAggregationPolicy" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="monitoringPlan" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="exportableItemMapping" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="allowanceInterface" minOccurs="0" maxOccurs="1"/>
<xs:element ref="counterNamesDictionary" minOccurs="0" maxOccurs="1"/>
<xs:element ref="spendingStatusDescription" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="rangeTableClass" type="RangeTableClassType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="rangeTable" type="RangeTableType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.highdeal.pnr.hci.PnRObjectSetList
PnRObjectSetList.ISortRenderer<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String name, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets an unmodifiable list of all the objects contained in the PnR object set.Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel>Gets the list of allowance event classes.Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel>Gets the list of allowance interfaces.Vector<com.highdeal.allowance.allowancelogic.hci.AllowanceLogicModel>Gets the list of allowance logic objects.Vector<com.highdeal.allowance.allowanceplan.hci.AllowancePlanModel>Gets the list of allowance plans.Vector<com.highdeal.ciclass.hci.ChargeableItemClassModel>Gets the list of chargeable item classes.Gets the list of charge components.Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel>Gets the list of charged item aggregation policy objects.Gets the list of charged item classes.Vector<com.highdeal.chargeplan.hci.ChargePlanModel>Gets the list of charge plans.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel>Gets the list of counter name dictionaries.Gets the list of exportable item mapping objects.Gets the list of mapping tables.Gets the list of mapping table classes.Vector<com.highdeal.monitoringplan.hci.MonitoringPlanModel>Gets the list of monitoring plans.Gets the list ofoffers.Gets the list of pricing macro objetcs.Gets the list of products.Gets the list of range table classes.Gets the list of range tables.Vector<com.highdeal.refillitem.hci.RefillItemClassModel>Gets the list of refill item classes.Vector<com.highdeal.refilllogic.hci.RefillLogicModel>Gets the list of refill logic objects.Vector<com.highdeal.refillplan.hci.RefillPlanModel>Gets the list of refill plans.Vector<com.highdeal.refillrecord.hci.RefillRecordClassModel>Gets the list of refill record classes.Vector<com.highdeal.spendingstatus.hci.SpendingStatusDescriptionModel>Gets the list of spending status descriptions.Gets the list of tier tables.Gets the list of translation tables.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.Methods inherited from class com.highdeal.pnr.hci.PnRObjectSetList
add, addAllowanceEventClass, addAllowanceInterface, addAllowanceLogic, addAllowancePlan, addChargeableItemClass, addChargeComponent, addChargedItemAggregationPolicy, addChargedItemClass, addChargePlan, addCounterNamesDictionary, addExportableItemMapping, addMappingTable, addMappingTableClass, addMonitoringPlan, addOffer, addPricingMacro, addProduct, addRangeTable, addRangeTableClass, addRefillItemClass, addRefillLogic, addRefillPlan, addRefillRecordClass, addSpendingStatusDescription, addTierTable, addTranslationTable, sortPnRObjectSet
-
Constructor Details
-
PnRObjectSet
public PnRObjectSet()Builds an empty PnRObjectSet.
-
-
Method Details
-
getOffers
Gets the list ofoffers.- Returns:
- A vector of
offers
-
getChargePlans
Gets the list of charge plans.- Returns:
- A vector of
charge plans
-
getRefillPlans
Gets the list of refill plans.- Returns:
- A vector of
refill plans
-
getChargeComponents
Gets the list of charge components.- Returns:
- A vector of
reusable charge components
-
getRefillLogics
Gets the list of refill logic objects.- Returns:
- A vector of
refill logic objects
-
getPricingMacros
Gets the list of pricing macro objetcs.- Returns:
- A vector of
pricing macros
-
getTranslationTables
Gets the list of translation tables.- Returns:
- A vector of
TranslationTable
-
getTierTables
Gets the list of tier tables.- Returns:
- A vector of
tier tables
-
getMappingTableClasses
Gets the list of mapping table classes.- Returns:
- A vector of
mapping table classes
-
getMappingTable
Gets the list of mapping tables.- Returns:
- A vector of
mapping tables
-
getProducts
Gets the list of products.- Returns:
- A vector of
products
-
getChargeableItemClasses
Gets the list of chargeable item classes.- Returns:
- A vector of
chargeable item classes
-
getRefillItemClasses
Gets the list of refill item classes.- Returns:
- A vector of
refill item classes
-
getChargedItemClasses
Gets the list of charged item classes.- Returns:
- A vector of
charged item classes
-
getRefillRecordClasses
Gets the list of refill record classes.- Returns:
- A vector of
refill record classes
-
getAllowanceEventClasses
public Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel> getAllowanceEventClasses()Gets the list of allowance event classes.- Returns:
- A vector of
allowance event classes
-
getChargedItemAggregationPolicy
public Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel> getChargedItemAggregationPolicy()Gets the list of charged item aggregation policy objects.- Returns:
- A vector of
charged item aggregation policy objects
-
getRangeTableClasses
Gets the list of range table classes.- Returns:
- A vector of
range table classes
-
getRangeTables
Gets the list of range tables.- Returns:
- A vector of
range tables
-
getMonitoringPlans
Gets the list of monitoring plans.- Returns:
- A vector of
monitoring plans
-
getExportableItemMappings
Gets the list of exportable item mapping objects.- Returns:
- A vector of
mapping objects
-
getAllowanceInterfaces
public Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel> getAllowanceInterfaces()Gets the list of allowance interfaces.- Returns:
- A vector of
allowance interfaces
-
getCounterNamesDictionaries
public Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel> getCounterNamesDictionaries()Gets the list of counter name dictionaries.- Returns:
- A vector of
counter name dictionaries
-
getAllowancePlans
Gets the list of allowance plans.- Returns:
- A vector of
allowance plans
-
getAllowanceLogics
Gets the list of allowance logic objects.- Returns:
- A vector of
allowance logic objects
-
getSpendingStatusDescriptions
public Vector<com.highdeal.spendingstatus.hci.SpendingStatusDescriptionModel> getSpendingStatusDescriptions()Gets the list of spending status descriptions.- Returns:
- A vector of
spending status descriptions
-
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
-
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:
name- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- 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
-
getAllObjects
Gets an unmodifiable list of all the objects contained in the PnR object set.- Returns:
- An unmodifiable list of all the objects contained in the PnR object set
-