Representation of a Policy Object. This class allows for associating and unassociation of Grid objects using this policy
PolicyInfo Construct a policy.
Construct a policy.
Associate a grid object with this policy.
Parameters: gridObject - Grid object to associate this policy with.
Unassociate a grid object with this policy.
Parameters: gridObject - Grid object to unassociate this policy with.
Retrieve policy text from policy
Returns: String Policy text
Set new policy text for policy
Parameters: policyText - String policy text.
Raises: Exception - if syntax or validation errors occur.
Example of retrieving a policy object and associating an object to the policy:
policy = getMatrix().getPolicy("myPolicy") policy.associate(myResource)
Javadoc: PolicyInfo