Package com.highdeal.pnr.hci
Class ChargeActivationModificationModel
java.lang.Object
com.highdeal.filter.hci.ModificationModel
com.highdeal.pnr.hci.ChargeActivationModificationModel
- All Implemented Interfaces:
XMLMarshallable
This class represents a charge activation modification model
by using
If no
Available main modifiable attribute names are : Please consult
attributeModificationModel to describe each modification.
If no
attributeModificationModel is given, no modification is done.
Available main modifiable attribute names are : Please consult
ModificationModel for
XML Schema. The element name for this charge activation modification is set to "chargeActivationModification".
No specific modification exists for charge activations.XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="chargeActivationModification" substitutionGroup="ModificationModel" type="ModificationModel"/>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method throws an exception if the required modifications are not well formed.Returns the list of pre-formed modification model of all modifiable main attributes.Gets a pre-formed attribute modification model for a specified main attribute.This method allows the user to retrieve the catalog of available specific modifications.This method allows the user to retrieve from the catalog of available specific modifications a specified one.Methods inherited from class com.highdeal.filter.hci.ModificationModel
addAttributeModification, addCharacterData, addChild, addSpecificModification, checkAttributeUnicity, getAttributeModificationList, getAttributeModificationListFromGroup, getEndPeriod, getModificationName, getSpecificModificationList, getStartPeriod, isPeriodRequired, marshal, setAttributeModificationList, setAttributes, setEndPeriod, setPeriodRequired, setSpecificModificationList, setStartPeriod
-
Field Details
-
EXPIRATION
Name of the attributeDescription that representsexpiration. The type of the correspondingattributeDescriptionisdate- See Also:
-
EFFECTIVE
Name of the attributeDescription that representseffective. The type of the correspondingattributeDescriptionisdate- See Also:
-
-
Constructor Details
-
ChargeActivationModificationModel
public ChargeActivationModificationModel()
-
-
Method Details
-
getSpecificModificationFromCatalog
This method allows the user to retrieve from the catalog of available specific modifications a specified one.- Specified by:
getSpecificModificationFromCatalogin classModificationModel- Parameters:
code- the code of the requested specific modification.- Returns:
- null.
-
getSpecificModificationCatalog
This method allows the user to retrieve the catalog of available specific modifications.- Specified by:
getSpecificModificationCatalogin classModificationModel- Returns:
- an empty list.
-
getMainModifiableAttributeFromCatalog
Description copied from class:ModificationModelGets a pre-formed attribute modification model for a specified main attribute.- Specified by:
getMainModifiableAttributeFromCatalogin classModificationModel- Returns:
- The attribute related modification model or null if no modification is allowed on the specified attribute
-
getMainModifiableAttributeCatalog
Description copied from class:ModificationModelReturns the list of pre-formed modification model of all modifiable main attributes.- Specified by:
getMainModifiableAttributeCatalogin classModificationModel- Returns:
- A list of
AttributeDescriptionModel
-
checkModifications
Description copied from class:ModificationModelThis method throws an exception if the required modifications are not well formed.- Specified by:
checkModificationsin classModificationModel- Throws:
InvalidBulkModificationException- with MALFORMED_MODEL as reason
-