|
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.filter.hci.ModificationModel
com.highdeal.pnr.hci.SubscriptionModificationModel
public class SubscriptionModificationModel
This class represents a subscription modification model
by using attributeModificationModel to describe each modification.
If no attributeModificationModel is given, no modification is done.
Available main modifiable attribute names are :
EXPIRATIONPRICE_FREEZE_EFFECTIVEPRICE_FREEZE_EXPIRATIONCOMMITMENT_EXPIRATIONSUSPENSION_DATERESUMPTION_DATECANCELLATION_DATEModificationModel for
more information. The element name for this subscription modification is set to "subscriptionModification".
No specific modification exists for subscriptions.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subscriptionModification" substitutionGroup="ModificationModel" type="ModificationModel"/>
| Field Summary | |
|---|---|
static java.lang.String |
CANCELLATION_DATE
Name of the attributeDescription that represents cancellationDate. |
static java.lang.String |
COMMITMENT_EXPIRATION
Name of the attributeDescription that represents commitmentEffective. |
static java.lang.String |
EXPIRATION
Name of the attributeDescription that represents expiration. |
static java.lang.String |
PRICE_FREEZE_EFFECTIVE
Name of the attributeDescription that represents priceFreezeEffective. |
static java.lang.String |
PRICE_FREEZE_EXPIRATION
Name of the attributeDescription that represents priceFreezeExpiration. |
static java.lang.String |
RESUMPTION_DATE
Name of the attributeDescription that represents resumptionDate. |
static java.lang.String |
SUSPENSION_DATE
Name of the attributeDescription that represents suspensionDate. |
| Constructor Summary | |
|---|---|
SubscriptionModificationModel()
|
|
| Method Summary | |
|---|---|
void |
checkModifications()
This method throws an exception if the required modifications are not well formed. |
java.util.Vector<AttributeDescriptionModel> |
getMainModifiableAttributeCatalog()
Returns the list of pre-formed modification model of all modifiable main attributes. |
AttributeDescriptionModel |
getMainModifiableAttributeFromCatalog(java.lang.String name)
Gets a pre-formed attribute modification model for a specified main attribute. |
java.util.Vector<SpecificModificationModel> |
getSpecificModificationCatalog()
This method allows the user to retrieve the catalog of available specific modifications. |
SpecificModificationModel |
getSpecificModificationFromCatalog(java.lang.String code)
This method allows the user to retrieve from the catalog of available specific modifications a specified one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EXPIRATION
expiration.
The type of the corresponding attributeDescription is date
public static final java.lang.String PRICE_FREEZE_EFFECTIVE
priceFreezeEffective.
The type of the corresponding attributeDescription is date
public static final java.lang.String PRICE_FREEZE_EXPIRATION
priceFreezeExpiration.
The type of the corresponding attributeDescription is date
public static final java.lang.String COMMITMENT_EXPIRATION
commitmentEffective.
The type of the corresponding attributeDescription is date
public static final java.lang.String SUSPENSION_DATE
suspensionDate.
The type of the corresponding attributeDescription is date
public static final java.lang.String RESUMPTION_DATE
resumptionDate.
The type of the corresponding attributeDescription is date
public static final java.lang.String CANCELLATION_DATE
cancellationDate.
The type of the corresponding attributeDescription is date
| Constructor Detail |
|---|
public SubscriptionModificationModel()
| Method Detail |
|---|
public SpecificModificationModel getSpecificModificationFromCatalog(java.lang.String code)
ModificationModel
getSpecificModificationFromCatalog in class ModificationModelcode - The code of the requested specific modificationpublic java.util.Vector<SpecificModificationModel> getSpecificModificationCatalog()
ModificationModel
getSpecificModificationCatalog in class ModificationModelSpecificModificationModelpublic AttributeDescriptionModel getMainModifiableAttributeFromCatalog(java.lang.String name)
ModificationModel
getMainModifiableAttributeFromCatalog in class ModificationModelpublic java.util.Vector<AttributeDescriptionModel> getMainModifiableAttributeCatalog()
ModificationModel
getMainModifiableAttributeCatalog in class ModificationModelAttributeDescriptionModel
public void checkModifications()
throws InvalidBulkModificationException
ModificationModel
checkModifications in class ModificationModelInvalidBulkModificationException - with MALFORMED_MODEL as reason
|
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 | ||||||||