Class ChargedItemMappingEntryModel

java.lang.Object
com.highdeal.util.map.PropertyDescription<ChargedItemFieldType>
com.highdeal.pnr.hci.ChargedItemMappingEntry
com.highdeal.pnr.hci.ChargedItemMappingEntryModel
All Implemented Interfaces:
XMLMarshallable, com.highdeal.util.map.IPropertyDescription<ChargedItemFieldType>

public class ChargedItemMappingEntryModel extends ChargedItemMappingEntry implements XMLMarshallable
This class improves the ChargedItemMappingEntry adding XML marshalling.

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:element name="chargedItemMappingEntry">
   <xs:complexType>
     <xs:attribute name="name" type="xs:string" use="required" />
     <xs:attribute name="type" type="ChargedItemEntryType" use="required" />
     <xs:attribute name="value" type="xs:string" />
     <xs:attribute name="propertyName" type="ChargedItemMappingEntryPropertyNameType" />
   </xs:complexType>
 </xs:element>
<xs:simpleType name="ChargedItemEntryType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="string"/>
     <xs:enumeration value="date"/>
     <xs:enumeration value="number"/>
     <xs:enumeration value="boolean"/>
   </xs:restriction>
 </xs:simpleType>
<xs:simpleType name="ChargedItemMappingEntryPropertyNameType">
   <xs:restriction base="xs:string">
     <xs:pattern value="accountCode|accountEventDate|accountTypeCode|accountTypeName|activationDate|allowanceContext|allowanceEndDate|allowanceEventClassName|allowanceShareId|allowanceStartDate|allowanceUniqueId|amount|baseAmount|chargeActivationCancellationDate|chargeActivationEffectiveDate|chargeCode|chargeReference|chargeReferenceName|chargeTypeCode|chargeTypeName|chargeableItemClassName|chargeableItemId|chargeableItemIdType|chargeableItemPackageCode|chargedItemId|chargedItemIdStr|chargedItemSetId|chargedItemSetIdStr|chargedItemSetIdType|chargedTaxAmount|chargedTaxCode|chargedTaxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|chargedTaxStatusCode|chargedTaxStatusId|chargedTotalAmount|chargingComponentName|consumptionDate|contractId|contractItemExternalId|contractItemId|contractType|currency|date|dispatchCode1|dispatchCode2|dispatchCode3|emptyBoolean|emptyDate|emptyNumber|emptyString|eventDate|eventProcessingDate|excludedRecurringPeriodStopDate|externalAccountCode|externalAccountName|externalSystemCode|includedRecurringPeriodStopDate|isAllowance|isAllowanceStr|isChargeableItemExported|isClient|isCredit|isDebit|isMaster|isPartner|isPrepaid|isPrepaidRefill|isPrepaidUsage|isProrated|isRefund|isSharingGroupContributor|isTaxIncluded|iso_currency|itemSetId|itemSetIdStr|itemSetIdType|offerCode|origin|overrunFrom|overrunTo|prepaidAccountName|prepaidBalanceAmount|pricePlanName|rateComponentName|ratedAmount|ratedBaseAmount|ratedDetailBoolean\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedDetailDate\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedDetailNumber\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedDetailString\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedTaxAmount|ratedTaxCode|ratedTaxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|ratedTaxStatusCode|ratedTaxStatusId|ratedTotalAmount|ratedUnroundedAmount|recurringStart|recurringStartRef|recurringStop|recurringStopRef|refillAmount|refillCurrency|refillDate|refillIsoCurrency|reservationId|senderJobId|serviceIdentifier|serviceProvider|sessionId|sharingGroupId|subscriberAccountCode|subscriberAccountReference|subscriptionCode|subscriptionCommitmentExpirationDate|subscriptionResumptionDate|subscriptionSuspensionDate|taxAmount|taxCode|taxDetType|taxDetail\.(default|merging|splitting|computed|counter|counter_pre|counter_initial|counter_transient|counter_transient_initial|counter_transient_pre|item|parameter|out|tax|charge|refill|external|prepaid_account|internal|counter_wo_reservation|counter_wo_reservation_pre|parameter_plan)\..+|taxStatusCode|taxStatusId|taxUsBusinessClass|taxUsCallDuration|taxUsCountyExempt|taxUsCustomerType|taxUsFacilitiesBasedFlag|taxUsFederalExempt|taxUsFranchiseFlag|taxUsIncorporatedCode|taxUsLifeLineFlag|taxUsLineCount|taxUsLocalExempt|taxUsLocationCount|taxUsOrigination|taxUsOriginationFlag|taxUsRegulatedFlag|taxUsResaleFlag|taxUsServiceAddress|taxUsServiceAddressFlag|taxUsServiceClass|taxUsServiceType|taxUsStateExempt|taxUsTaxData|taxUsTaxationDate|taxUsTelecomType|taxUsTermination|taxUsTerminationFlag|taxUsTransactionType|taxVatBusinessEntity|taxVatGrossPriceFlag|taxVatRateCode|taxVatRawRate|taxVatRawRateId|taxVatSupplierCountryCode|taxVatTaxationPlace|thresholdAmount|totalAmount|triggeringContractId|triggeringContractItemExternalId|userServiceIdentifier" />
   </xs:restriction>
 </xs:simpleType>

  • Field Details

  • Constructor Details

    • ChargedItemMappingEntryModel

      public ChargedItemMappingEntryModel()
    • ChargedItemMappingEntryModel

      public ChargedItemMappingEntryModel(String name, ChargedItemFieldType type)
    • ChargedItemMappingEntryModel

      public ChargedItemMappingEntryModel(String name, ChargedItemFieldType type, Object defaultValue, String propertyName)
  • Method Details

    • setAttributes

      public void setAttributes(XMLAttributes atts)
      Description copied from interface: XMLMarshallable
      Sets the attributes of the XML representation of the element being processed.
      Specified by:
      setAttributes in interface XMLMarshallable
      Parameters:
      atts - The XML attributes of the current element
    • addCharacterData

      public void addCharacterData(String cData)
      Description copied from interface: XMLMarshallable
      Adds character data to the content element.
      Specified by:
      addCharacterData in interface XMLMarshallable
      Parameters:
      cData - The character data to be added
    • addChild

      public void addChild(String tagName, XMLMarshallable child)
      Description copied from interface: XMLMarshallable
      Adds a child to the object, the child representing the marshallable object which must be added to the element.
      Specified by:
      addChild in interface XMLMarshallable
      Parameters:
      tagName - The name of tag for the child
      child - The child to be added
    • marshal

      public void marshal(XMLOutputter output)
      Description copied from interface: XMLMarshallable
      Gives an XML representation of this object, including its children.
      Specified by:
      marshal in interface XMLMarshallable
      Parameters:
      output - The XML output to marshal the object into