|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.util.map.PropertyDescription<ChargedItemFieldType>
com.highdeal.pnr.hci.ChargedItemClassField
com.highdeal.pnr.hci.ChargedItemClassFieldModel
public class ChargedItemClassFieldModel
This class improves the ChargedItemClassField adding XML marshalling.
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="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)\..+|chargedTotalAmount|contractItemId|taxUsServiceAddressFlag|overrunFrom|taxVatRawRateId|ratedUnroundedAmount|chargeableItemIdType|chargeableItemPackageCode|taxUsTerminationFlag|chargedItemSetIdType|baseAmount|taxUsServiceClass|isProrated|taxVatRawRate|taxStatusId|reservationId|excludedRecurringPeriodStopDate|isRefund|taxUsIncorporatedCode|chargeTypeName|refillAmount|emptyNumber|subscriptionSuspensionDate|chargeActivationEffectiveDate|taxStatusCode|serviceIdentifier|taxUsLocalExempt|chargedTaxCode|refillDate|itemSetIdType|taxUsTermination|overrunTo|recurringStart|taxUsFacilitiesBasedFlag|chargeActivationCancellationDate|dispatchCode3|activationDate|date|dispatchCode1|dispatchCode2|currency|userServiceIdentifier|chargeableItemId|chargedItemSetIdStr|totalAmount|consumptionDate|rateComponentName|emptyBoolean|taxVatBusinessEntity|isPartner|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)\..+|taxUsTransactionType|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)\..+|chargedTaxAmount|chargedTaxStatusId|taxUsOriginationFlag|taxUsTaxationDate|chargeReferenceName|ratedTaxAmount|emptyString|eventDate|accountTypeName|refillIsoCurrency|thresholdAmount|taxUsLifeLineFlag|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)\..+|ratedBaseAmount|accountTypeCode|taxUsRegulatedFlag|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)\..+|recurringStop|taxUsBusinessClass|taxUsTelecomType|taxVatGrossPriceFlag|subscriptionResumptionDate|taxUsLocationCount|amount|accountCode|pricePlanName|isAllowance|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)\..+|contractType|contractId|serviceProvider|isClient|chargedItemSetId|triggeringContractId|ratedTaxCode|ratedTotalAmount|taxUsResaleFlag|emptyDate|chargingComponentName|isTaxIncluded|recurringStartRef|taxUsLineCount|itemSetId|taxUsStateExempt|chargedTaxStatusCode|subscriberAccountReference|subscriberAccountCode|taxVatRateCode|taxUsCustomerType|taxUsFranchiseFlag|includedRecurringPeriodStopDate|taxAmount|taxDetType|sessionId|prepaidAccountName|contractItemExternalId|itemSetIdStr|isMaster|allowanceStartDate|accountEventDate|isChargeableItemExported|subscriptionCommitmentExpirationDate|iso_currency|taxVatSupplierCountryCode|allowanceEndDate|taxUsCallDuration|taxUsCountyExempt|isCredit|offerCode|isPrepaid|taxUsTaxData|taxUsFederalExempt|ratedTaxStatusId|ratedAmount|chargeReference|externalSystemCode|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)\..+|allowanceEventClassName|prepaidBalanceAmount|isPrepaidUsage|eventProcessingDate|isPrepaidRefill|taxUsServiceAddress|taxUsServiceType|taxUsOrigination|taxVatTaxationPlace|externalAccountCode|origin|recurringStopRef|chargeableItemClassName|refillCurrency|taxCode|chargeTypeCode|subscriptionCode|ratedTaxStatusCode|externalAccountName|chargeCode|isDebit|allowanceUniqueId|senderJobId" />
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
protected static java.lang.String |
MODEL_NAME
|
| Constructor Summary | |
|---|---|
ChargedItemClassFieldModel()
|
|
ChargedItemClassFieldModel(ChargedItemFieldType type)
|
|
ChargedItemClassFieldModel(java.lang.String name,
ChargedItemFieldType type)
|
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
ChargedItemClassFieldModel |
duplicate()
|
java.lang.String |
getTagName()
|
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. |
| Methods inherited from class com.highdeal.pnr.hci.ChargedItemClassField |
|---|
isPropertyOrValueSet |
| Methods inherited from class com.highdeal.util.map.PropertyDescription |
|---|
getDefaultValue, getDescription, getName, getPropertyName, getType, setDefaultValue, setDescription, setName, setPropertyName, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.lang.String MODEL_NAME
| Constructor Detail |
|---|
public ChargedItemClassFieldModel()
public ChargedItemClassFieldModel(java.lang.String name,
ChargedItemFieldType type)
public ChargedItemClassFieldModel(ChargedItemFieldType type)
| Method Detail |
|---|
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic ChargedItemClassFieldModel duplicate()
public java.lang.String getTagName()
public void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||