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(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String name,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.util.List<ICatalogObject> |
getAllObjects()
Gets an unmodifiable list of all the objects contained in the PnR object set.
|
java.util.Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel> |
getAllowanceEventClasses()
Gets the list of allowance event classes.
|
java.util.Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel> |
getAllowanceInterfaces()
Gets the list of allowance interfaces.
|
java.util.Vector<com.highdeal.allowance.allowancelogic.hci.AllowanceLogicModel> |
getAllowanceLogics()
Gets the list of allowance logic objects.
|
java.util.Vector<com.highdeal.allowance.allowanceplan.hci.AllowancePlanModel> |
getAllowancePlans()
Gets the list of allowance plans.
|
java.util.Vector<com.highdeal.ciclass.hci.ChargeableItemClassModel> |
getChargeableItemClasses()
Gets the list of chargeable item classes.
|
java.util.Vector<ChargeComponentModel> |
getChargeComponents()
Gets the list of charge components.
|
java.util.Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel> |
getChargedItemAggregationPolicy()
Gets the list of charged item aggregation policy objects.
|
java.util.Vector<ChargedItemClassModel> |
getChargedItemClasses()
Gets the list of charged item classes.
|
java.util.Vector<com.highdeal.chargeplan.hci.ChargePlanModel> |
getChargePlans()
Gets the list of charge plans.
|
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the
Java class for a specified XML tag and its attributes in a namespace. |
java.util.Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel> |
getCounterNamesDictionaries()
Gets the list of counter name dictionaries.
|
java.util.Vector<ExportableItemMappingModel> |
getExportableItemMappings()
Gets the list of exportable item mapping objects.
|
java.util.Vector<MappingTableModel> |
getMappingTable()
Gets the list of mapping tables.
|
java.util.Vector<MappingTableClassModel> |
getMappingTableClasses()
Gets the list of mapping table classes.
|
java.util.Vector<com.highdeal.monitoringplan.hci.MonitoringPlanModel> |
getMonitoringPlans()
Gets the list of monitoring plans.
|
java.util.Vector<OfferModel> |
getOffers()
Gets the list of
offers. |
java.util.Vector<PricingMacroModel> |
getPricingMacros()
Gets the list of pricing macro objetcs.
|
java.util.Vector<ProductModel> |
getProducts()
Gets the list of products.
|
java.util.Vector<RangeTableClassModel> |
getRangeTableClasses()
Gets the list of range table classes.
|
java.util.Vector<RangeTableModel> |
getRangeTables()
Gets the list of range tables.
|
java.util.Vector<com.highdeal.refillitem.hci.RefillItemClassModel> |
getRefillItemClasses()
Gets the list of refill item classes.
|
java.util.Vector<com.highdeal.refilllogic.hci.RefillLogicModel> |
getRefillLogics()
Gets the list of refill logic objects.
|
java.util.Vector<com.highdeal.refillplan.hci.RefillPlanModel> |
getRefillPlans()
Gets the list of refill plans.
|
java.util.Vector<com.highdeal.refillrecord.hci.RefillRecordClassModel> |
getRefillRecordClasses()
Gets the list of refill record classes.
|
java.util.Vector<com.highdeal.spendingstatus.hci.SpendingStatusDescriptionModel> |
getSpendingStatusDescriptions()
Gets the list of spending status descriptions.
|
java.util.Vector<TierTableModel> |
getTierTables()
Gets the list of tier tables.
|
java.util.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 java.util.Vector<OfferModel> getOffers()
offers.offerspublic java.util.Vector<com.highdeal.chargeplan.hci.ChargePlanModel> getChargePlans()
charge planspublic java.util.Vector<com.highdeal.refillplan.hci.RefillPlanModel> getRefillPlans()
refill planspublic java.util.Vector<ChargeComponentModel> getChargeComponents()
reusable charge componentspublic java.util.Vector<com.highdeal.refilllogic.hci.RefillLogicModel> getRefillLogics()
refill logic objectspublic java.util.Vector<PricingMacroModel> getPricingMacros()
pricing macrospublic java.util.Vector<TranslationTableModel> getTranslationTables()
TranslationTablepublic java.util.Vector<TierTableModel> getTierTables()
tier tablespublic java.util.Vector<MappingTableClassModel> getMappingTableClasses()
mapping table classespublic java.util.Vector<MappingTableModel> getMappingTable()
mapping tablespublic java.util.Vector<ProductModel> getProducts()
productspublic java.util.Vector<com.highdeal.ciclass.hci.ChargeableItemClassModel> getChargeableItemClasses()
chargeable item classespublic java.util.Vector<com.highdeal.refillitem.hci.RefillItemClassModel> getRefillItemClasses()
refill item classespublic java.util.Vector<ChargedItemClassModel> getChargedItemClasses()
charged item classespublic java.util.Vector<com.highdeal.refillrecord.hci.RefillRecordClassModel> getRefillRecordClasses()
refill record classespublic java.util.Vector<com.highdeal.allowance.allowanceeventclass.hci.AllowanceEventClassModel> getAllowanceEventClasses()
allowance event classespublic java.util.Vector<com.highdeal.cit.aggregation.hci.ChargedItemAggregationPolicyModel> getChargedItemAggregationPolicy()
charged item aggregation policy objectspublic java.util.Vector<RangeTableClassModel> getRangeTableClasses()
range table classespublic java.util.Vector<RangeTableModel> getRangeTables()
range tablespublic java.util.Vector<com.highdeal.monitoringplan.hci.MonitoringPlanModel> getMonitoringPlans()
monitoring planspublic java.util.Vector<ExportableItemMappingModel> getExportableItemMappings()
mapping objectspublic java.util.Vector<com.highdeal.allowance.allowanceinterface.hci.AllowanceInterfaceModel> getAllowanceInterfaces()
allowance interfacespublic java.util.Vector<com.highdeal.dictionary.hci.CounterNamesDictionaryModel> getCounterNamesDictionaries()
counter name dictionariespublic java.util.Vector<com.highdeal.allowance.allowanceplan.hci.AllowancePlanModel> getAllowancePlans()
allowance planspublic java.util.Vector<com.highdeal.allowance.allowancelogic.hci.AllowanceLogicModel> getAllowanceLogics()
allowance logic objectspublic java.util.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(java.lang.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(java.lang.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 java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.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 java.util.List<ICatalogObject> getAllObjects()