PolicySet : public abstract class
| Created: |
3/12/2005 12:00:00 AM |
| Modified: |
7/26/2006 7:18:05 PM |
|
Project: |
|
| Author: |
AutoMagic KB LLC |
| Version: |
6.2 |
| Phase: |
SID |
| Status: |
Approved |
| Complexity: |
Medium |
Advanced: |
|
| UUID: |
{346A3F49-ECDA-4bc0-A77E-3B33BB1A4FDF} |
| Appears In: |
Policy Generalization Tree, Policy Reduced Generalization Tree, Figure Pr.14 - Product Offering Price Governed By Policy, Figure Pr.20 - Product Price Rule Model - Example 1, Figure Pr.22 - Product Price Rule Model - Example 2, Figure Pr.25 - Policy Set Association with Business Interaction, Figure Pr.26 - Product Price, Figure C.12 - Product Price, Fig 1P-11 - PolicySet Semantics, Fig 1P-10 - Simple PolicySet, Fig 1P-12 - Detailed PolicySet, Fig 1P-33 - PolicySetSpec, Fig 1P-34 - PolicyRuleSpec, Fig 1P-38 - Policy ABE - PolicyApp ABE Interaction, Fig 1P-39 - Policy Biz Model, Fig 1P-40 - PolicySet Biz Model, Fig 1P-41 - PolicyGroup-PolicyRule Biz Model, Fig 1P-42 - PolicyEvent BizModel |
<p>Copyright TM Forum 2005<br/></p><p><br/></p><p>This is an abstract class for defining two types of collection classes. PolicyRule collects PolicyEvents, PolicyConditions, and PolicyActions, while PolicyGroup collects PolicyRules and PolicyGroups.<br/></p><p><br/></p><p>Two important and powerful features of this arrangement are that a PolicySet defines a common decision strategy and a common set of PolicyRoles to be used by the PolicyGroups and the PolicyRules that inherit from it.<br/></p>
- Attributes
- Operations
- Associations To
- Other Links
| Attribute |
Details |
public Boolean isMandatoryEvaluation |
Initial: TRUE
|
Notes:
|
This is a Boolean attribute that, if TRUE, signifies that evaluation (and possibly action execution) of this entity is mandatory and must be attempted. If the Mandatory property value of this entity is FALSE, then the evaluation of this entity is considered to be "best effort" and may be ignored.
|
|
public String usage |
|
Notes:
|
This is a free-form string attribute that recommends how this policy object should be used.
|
|
| Operation |
Details |
public
isPolicySetWellFormed():Integer
|
sequential
|
Notes:
|
Copyright TM Forum 2005<br /><br />This method returns TRUE if this PolicySet is well-formed, and FALSE if it isn't. A PolicySet may evaluate to not well-formed if, for example, its construction is not completed.<br /><br />A well-formed PolicySet is defined as follows:<br /><br />If the PolicySet is a PolicyRule, then that PolicyRule must have a complete event, condition and action specification, each of which is syntactically correct.<br /><br />If the PolicySet is a PolicyGroup, then that PolicyGroup must consist of only PolicyRules or PolicyGroups.<br /><br />The return type is an integer, to enable success or failure of the operation to be indicated. Values are:<br /><br /> 0: the PolicySet is well-formed<br /> 1: a PolicyRule in the PolicySet is missing an<br /> event specification<br /> 2: a PolicyRule in the PolicySet has an incorrect<br /> event specification<br /> 3: a PolicyRule in the PolicySet is missing a<br /> condition specification<br /> 4: a PolicyRule in the PolicySet has an incorrect<br /> condition specification<br /> 5: a PolicyRule in the PolicySet is missing an<br /> action specification<br /> 6: a PolicyRule in the PolicySet has an incorrect<br /> action specification<br /> 7: a PolicyGroup in the PolicySet contains illegal<br /> objects
|
|
| Element |
Source Role |
Target Role |
Details |
BusinessInteractionItemPrice
Class
|
Name:
|
Name:
|
|
PolicySetSpec
Class
|
Name:
|
Name:
|
<p>Copyright TM Forum 2005<br/></p><p><br/></p><p>This aggregation defines the set of PolicySets that can be defined from a particular PolicySetSpec. This enables the PolicySetSpec to define the invariant attributes, methods, relationships, and constraints that different PolicySets all contain. This standardizes the construction and usage of a PolicySet, and enables different PolicySets to define different variations of the PolicySetSpec to suit the needs of different applications.<br/></p>
|
PolicyGroup
Class
|
Name:
|
Name:
|
<p>Copyright TM Forum 2005<br/></p><p><br/></p><p>This aggregation defines the PolicySets that are contained in this particular PolicyGroup.<br/></p>
|
ProductOffering
Class
|
Name:
|
Name:
|
|
ProductPrice
Class
|
Name:
|
Name:
|
|
| Object |
Type |
Connection |
Notes |
| PolicyGroup |
Class |
Tree |
|
| PolicyRule |
Class |
Tree |
|
| PolicySetSpec |
Class |
Weak |
Copyright TM Forum 2005
This aggregation defines the set of PolicySets that can be defined from a particular PolicySetSpec. This enables the PolicySetSpec to define the invariant attributes, methods, relationships, and constraints that different PolicySets all contain. This standardizes the construction and usage of a PolicySet, and enables different PolicySets to define different variations of the PolicySetSpec to suit the needs of different applications. |
| PolicyGroup |
Class |
Weak |
Copyright TM Forum 2005
This aggregation defines the PolicySets that are contained in this particular PolicyGroup. |
| Policy |
Class |
Tree |
|