Package com.highdeal.pnr.hci
Class ChargedItemClassFieldModel
java.lang.Object
com.highdeal.util.map.PropertyDescription<ChargedItemFieldType>
com.highdeal.pnr.hci.ChargedItemClassField
com.highdeal.pnr.hci.ChargedItemClassFieldModel
- All Implemented Interfaces:
XMLMarshallable,com.highdeal.util.map.IPropertyDescription<ChargedItemFieldType>
This class improves the
ChargedItemClassField adding XML marshalling.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargedItemClassField">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="description" type="xs:string" />
<xs:attribute name="type" type="ChargedItemFieldType" use="required" />
<xs:attribute name="value" type="xs:string" />
<xs:attribute name="propertyName" type="ChargedItemFieldPropertyNameType" />
</xs:complexType>
</xs:element><xs:simpleType name="ChargedItemFieldType">
<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="ChargedItemFieldPropertyNameType">
<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|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|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>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.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.ChargedItemClassField
isPropertyOrValueSetMethods inherited from class com.highdeal.util.map.PropertyDescription
getDefaultValue, getDescription, getName, getPropertyName, getType, setDefaultValue, setDescription, setName, setPropertyName, setType
-
Constructor Details
-
ChargedItemClassFieldModel
public ChargedItemClassFieldModel() -
ChargedItemClassFieldModel
-
ChargedItemClassFieldModel
-
-
Method Details
-
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
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
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:
tagName- The name of tag for the childchild- The child to be added
-
duplicate
-
getTagName
-
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
-