public class SubscriptionModificationModel extends ModificationModel
attributeModificationModel to describe each modification.
attributeModificationModel is given, no modification is done.
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"/>
| Modifier and Type | Field and Description |
|---|---|
static String |
CANCELLATION_DATE
Name of the attributeDescription that represents
cancellationDate. |
static String |
COMMITMENT_EXPIRATION
Name of the attributeDescription that represents
commitmentEffective. |
static String |
EXPIRATION
Name of the attributeDescription that represents
expiration. |
static String |
PRICE_FREEZE_EFFECTIVE
Name of the attributeDescription that represents
priceFreezeEffective. |
static String |
PRICE_FREEZE_EXPIRATION
Name of the attributeDescription that represents
priceFreezeExpiration. |
static String |
RESUMPTION_DATE
Name of the attributeDescription that represents
resumptionDate. |
static String |
SUSPENSION_DATE
Name of the attributeDescription that represents
suspensionDate. |
| Constructor and Description |
|---|
SubscriptionModificationModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkModifications()
This method throws an exception if the required modifications
are not well formed.
|
Vector<AttributeDescriptionModel> |
getMainModifiableAttributeCatalog()
Returns the list of pre-formed modification model of all
modifiable main attributes.
|
AttributeDescriptionModel |
getMainModifiableAttributeFromCatalog(String name)
Gets a pre-formed attribute modification model for a specified main attribute.
|
Vector<SpecificModificationModel> |
getSpecificModificationCatalog()
This method allows the user to retrieve the catalog of
available specific modifications.
|
SpecificModificationModel |
getSpecificModificationFromCatalog(String code)
This method allows the user to retrieve from the catalog of
available specific modifications a specified one.
|
addAttributeModification, addCharacterData, addChild, addSpecificModification, checkAttributeUnicity, getAttributeModificationList, getAttributeModificationListFromGroup, getEndPeriod, getModificationName, getSpecificModificationList, getStartPeriod, isPeriodRequired, marshal, setAttributeModificationList, setAttributes, setEndPeriod, setPeriodRequired, setSpecificModificationList, setStartPeriodpublic static final String EXPIRATION
expiration.
The type of the corresponding attributeDescription is datepublic static final String PRICE_FREEZE_EFFECTIVE
priceFreezeEffective.
The type of the corresponding attributeDescription is datepublic static final String PRICE_FREEZE_EXPIRATION
priceFreezeExpiration.
The type of the corresponding attributeDescription is datepublic static final String COMMITMENT_EXPIRATION
commitmentEffective.
The type of the corresponding attributeDescription is datepublic static final String SUSPENSION_DATE
suspensionDate.
The type of the corresponding attributeDescription is datepublic static final String RESUMPTION_DATE
resumptionDate.
The type of the corresponding attributeDescription is datepublic static final String CANCELLATION_DATE
cancellationDate.
The type of the corresponding attributeDescription is datepublic SpecificModificationModel getSpecificModificationFromCatalog(String code)
ModificationModelgetSpecificModificationFromCatalog in class ModificationModelcode - The code of the requested specific modificationpublic Vector<SpecificModificationModel> getSpecificModificationCatalog()
ModificationModelgetSpecificModificationCatalog in class ModificationModelSpecificModificationModelpublic AttributeDescriptionModel getMainModifiableAttributeFromCatalog(String name)
ModificationModelgetMainModifiableAttributeFromCatalog in class ModificationModelpublic Vector<AttributeDescriptionModel> getMainModifiableAttributeCatalog()
ModificationModelgetMainModifiableAttributeCatalog in class ModificationModelAttributeDescriptionModelpublic void checkModifications()
throws InvalidBulkModificationException
ModificationModelcheckModifications in class ModificationModelInvalidBulkModificationException - with MALFORMED_MODEL as reason