kaos.policy.obligation.actionInstantiator
Interface ActionPropertyPopulator


public interface ActionPropertyPopulator

This interface defines methods to populate values for a given property based on the control ActionClassDescription, trigger ActionInstanceDescription, and additionally, system contextual knowledge of the action.

Author:
KAoS Team $Revision: 1.1 $

Method Summary
 java.util.Set<OntPropertyInfo> populateProperties(ActionInfo controlBasicAD, ActionInstanceDescription triggerAID)
          For the given BasicActionDescription of the obligation policy control action and the trigger ActionInstanceDescription, create a Set of KAoSProperties for the control policy Action.
 java.util.Set<OntPropertyInfo> populateProperty(java.lang.String propertyName, ActionInfo controlBasicAD, ActionInstanceDescription triggerAID)
          For the given property name, return property values, based on the specified ActionClassDescription for the control action and trigger ActionInstanceDescription.
 

Method Detail

populateProperty

java.util.Set<OntPropertyInfo> populateProperty(java.lang.String propertyName,
                                                ActionInfo controlBasicAD,
                                                ActionInstanceDescription triggerAID)
For the given property name, return property values, based on the specified ActionClassDescription for the control action and trigger ActionInstanceDescription.

Parameters:
propertyName - String containing the name of the property.
controlACD - ActionClassDescription specifies the action class, whose instance will be created and whose property is being populated.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
OntPropertyInfo of the control action, whose ActionClassDescription was specified.

populateProperties

java.util.Set<OntPropertyInfo> populateProperties(ActionInfo controlBasicAD,
                                                  ActionInstanceDescription triggerAID)
For the given BasicActionDescription of the obligation policy control action and the trigger ActionInstanceDescription, create a Set of KAoSProperties for the control policy Action.

Parameters:
controlBasicAD - BasicActionDescription specifies the name of the policy action class. It may also contain some properties and their values.
triggerAID - ActionInstanceDescription describes the trigger condition instance to be used in instantiation of the control ActionInstanceDescription.
Returns:
OntPropertyInfo of the control policy action, whose BasicActionDescription was specified.