public class PnRObjectSet extends PnRObjectSetList implements XMLMarshallable, XMLMapping
Java class represents a PnR object set; A PnR object set represents the transitive closure of a PnR object.
It contains:
offerscharge plansreusable charge components refill plans refill logic objects pricing macros translation tables tier tables mapping tables charged item classes refill record classes products chargeable item classes refill item classes allowance event classrange table classes range tables charged item aggregation policies monitoring plans exportable item mapping objects allowance interface counter names dictionary spending status description Some of these object lists may be empty.
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>
PnRObjectSetList.ISortRenderer<T>| Constructor and Description |
|---|
PnRObjectSet()
Builds an empty PnRObjectSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String name,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
List<ICatalogObject> |
getAllObjects()
Gets an unmodifiable list of all the objects contained in the PnR object set.
|
Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel> |
getAllowanceEventClasses()
Gets the list of allowance event classes.
|
Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel> |
getAllowanceInterfaces()
Gets the list of allowance interfaces.
|
Vector<com.highdeal.allowance.allowancelogic.hci.AllowanceLogicModel> |
getAllowanceLogics()
Gets the list of allowance logic objects.
|
Vector<com.highdeal.allowance.allowanceplan.hci.AllowancePlanModel> |
getAllowancePlans()
Gets the list of allowance plans.
|
Vector<com.highdeal.ciclass.hci.ChargeableItemClassModel> |
getChargeableItemClasses()
Gets the list of chargeable item classes.
|
Vector<ChargeComponentModel> |
getChargeComponents()
Gets the list of charge components.
|
Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel> |
getChargedItemAggregationPolicy()
Gets the list of charged item aggregation policy objects.
|
Vector<ChargedItemClassModel> |
getChargedItemClasses()
Gets the list of charged item classes.
|
Vector<com.highdeal.chargeplan.hci.ChargePlanModel> |
getChargePlans()
Gets the list of charge plans.
|
Class<?> |
getClass(String nsUri,
String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel> |
getCounterNamesDictionaries()
Gets the list of counter name dictionaries.
|
Vector<ExportableItemMappingModel> |
getExportableItemMappings()
Gets the list of exportable item mapping objects.
|
Vector<MappingTableModel> |
getMappingTable()
Gets the list of mapping tables.
|
Vector<MappingTableClassModel> |
getMappingTableClasses()
Gets the list of mapping table classes.
|
Vector<com.highdeal.monitoringplan.hci.MonitoringPlanModel> |
getMonitoringPlans()
Gets the list of monitoring plans.
|
Vector<OfferModel> |
getOffers()
Gets the list of
offers. |
Vector<PricingMacroModel> |
getPricingMacros()
Gets the list of pricing macro objetcs.
|
Vector<ProductModel> |
getProducts()
Gets the list of products.
|
Vector<RangeTableClassModel> |
getRangeTableClasses()
Gets the list of range table classes.
|
Vector<RangeTableModel> |
getRangeTables()
Gets the list of range tables.
|
Vector<com.highdeal.refillitem.hci.RefillItemClassModel> |
getRefillItemClasses()
Gets the list of refill item classes.
|
Vector<com.highdeal.refilllogic.hci.RefillLogicModel> |
getRefillLogics()
Gets the list of refill logic objects.
|
Vector<com.highdeal.refillplan.hci.RefillPlanModel> |
getRefillPlans()
Gets the list of refill plans.
|
Vector<com.highdeal.refillrecord.hci.RefillRecordClassModel> |
getRefillRecordClasses()
Gets the list of refill record classes.
|
Vector<com.highdeal.spendingstatus.hci.SpendingStatusDescriptionModel> |
getSpendingStatusDescriptions()
Gets the list of spending status descriptions.
|
Vector<TierTableModel> |
getTierTables()
Gets the list of tier tables.
|
Vector<TranslationTableModel> |
getTranslationTables()
Gets the list of translation tables.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
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, sortPnRObjectSetpublic Vector<OfferModel> getOffers()
offers.offerspublic Vector<com.highdeal.chargeplan.hci.ChargePlanModel> getChargePlans()
charge planspublic Vector<com.highdeal.refillplan.hci.RefillPlanModel> getRefillPlans()
refill planspublic Vector<ChargeComponentModel> getChargeComponents()
reusable charge componentspublic Vector<com.highdeal.refilllogic.hci.RefillLogicModel> getRefillLogics()
refill logic objectspublic Vector<PricingMacroModel> getPricingMacros()
pricing macrospublic Vector<TranslationTableModel> getTranslationTables()
TranslationTablepublic Vector<TierTableModel> getTierTables()
tier tablespublic Vector<MappingTableClassModel> getMappingTableClasses()
mapping table classespublic Vector<MappingTableModel> getMappingTable()
mapping tablespublic Vector<ProductModel> getProducts()
productspublic Vector<com.highdeal.ciclass.hci.ChargeableItemClassModel> getChargeableItemClasses()
chargeable item classespublic Vector<com.highdeal.refillitem.hci.RefillItemClassModel> getRefillItemClasses()
refill item classespublic Vector<ChargedItemClassModel> getChargedItemClasses()
charged item classespublic Vector<com.highdeal.refillrecord.hci.RefillRecordClassModel> getRefillRecordClasses()
refill record classespublic Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel> getAllowanceEventClasses()
allowance event classespublic Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel> getChargedItemAggregationPolicy()
charged item aggregation policy objectspublic Vector<RangeTableClassModel> getRangeTableClasses()
range table classespublic Vector<RangeTableModel> getRangeTables()
range tablespublic Vector<com.highdeal.monitoringplan.hci.MonitoringPlanModel> getMonitoringPlans()
monitoring planspublic Vector<ExportableItemMappingModel> getExportableItemMappings()
mapping objectspublic Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel> getAllowanceInterfaces()
allowance interfacespublic Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel> getCounterNamesDictionaries()
counter name dictionariespublic Vector<com.highdeal.allowance.allowanceplan.hci.AllowancePlanModel> getAllowancePlans()
allowance planspublic Vector<com.highdeal.allowance.allowancelogic.hci.AllowanceLogicModel> getAllowanceLogics()
allowance logic objectspublic Vector<com.highdeal.spendingstatus.hci.SpendingStatusDescriptionModel> getSpendingStatusDescriptions()
spending status descriptionspublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(String name, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallablename - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tagJava class with a default constructorpublic List<ICatalogObject> getAllObjects()