kaos.policy.information
Class PolicyInformation

java.lang.Object
  extended by kaos.policy.information.PolicyInformation
All Implemented Interfaces:
java.io.Serializable

public class PolicyInformation
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
PolicyInformation(java.lang.String id, int prio, java.lang.String mod)
           
 
Method Summary
 java.util.List getActionSubclassesOfInterest()
          This method returns all the subclasses of actions in this policy, along with the action class name.
 java.util.List getClassRangesOfInterest()
          This method returns all the classranges of properties in this policy.
 KAoSConditionDescription getCondition()
           
 KAoSRoleValueMapContainer getConditionRVM()
           
 KAoSRoleValueMapContainer getControlRVM()
           
 BasicActionDescription getControlsAction()
           
 java.lang.String getDescription()
           
 boolean getInForceStatus()
           
 java.lang.String getModality()
           
 java.lang.String getName()
           
 ObligationConstraintsDescription getObligationConstraints()
           
 java.lang.String getPolicyID()
           
 KAoSRoleValueMapContainer getPolicyRVM()
           
 int getPriority()
           
 java.util.List getPropretiesOfInterest()
          This method returns all the properties and their subproperties contained in this policy.
 java.lang.String getSiteOfEnforcement()
           
 long getTimeStamp()
           
 BasicActionDescription getTriggerAction()
           
 KAoSRoleValueMapContainer getTriggerRVM()
           
 void setCondition(KAoSConditionDescription cond)
           
 void setControlRVM(KAoSRoleValueMapContainer controlRVMContainer)
           
 void setDescription(java.lang.String desc)
           
 void setInForceStatus(boolean inForce)
           
 void setName(java.lang.String name)
           
 void setObligationConstraints(ObligationConstraintsDescription ocd)
           
 void setPolicyRVM(KAoSRoleValueMapContainer policyRVMContainer)
           
 void setSiteOfEnforcement(java.lang.String site)
           
 void setTimeStamp(long time)
           
 void setTriggerRVM(KAoSRoleValueMapContainer triggerRVMContainer)
           
 java.lang.String toString()
           
 void updateActionSubclasses(java.lang.String className, java.util.Collection subclasses)
          to update the subclasses of an action class in this policy.
 void updateInstancesOfClass(java.lang.String className, java.util.Collection instances)
          to update the instances of the class of a property belonging to this policy
 void updateSubpropertiesOfProperty(java.lang.String propName, java.util.Collection subProps)
          to update the list of subproperties of a property that belongs to this policy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyInformation

public PolicyInformation(java.lang.String id,
                         int prio,
                         java.lang.String mod)
Method Detail

getPolicyID

public java.lang.String getPolicyID()

getPriority

public int getPriority()

getModality

public java.lang.String getModality()

setTimeStamp

public void setTimeStamp(long time)

getTimeStamp

public long getTimeStamp()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setDescription

public void setDescription(java.lang.String desc)

getDescription

public java.lang.String getDescription()

setSiteOfEnforcement

public void setSiteOfEnforcement(java.lang.String site)

getSiteOfEnforcement

public java.lang.String getSiteOfEnforcement()

setInForceStatus

public void setInForceStatus(boolean inForce)

getInForceStatus

public boolean getInForceStatus()

setPolicyRVM

public void setPolicyRVM(KAoSRoleValueMapContainer policyRVMContainer)

getPolicyRVM

public KAoSRoleValueMapContainer getPolicyRVM()

getControlsAction

public BasicActionDescription getControlsAction()

updateSubpropertiesOfProperty

public void updateSubpropertiesOfProperty(java.lang.String propName,
                                          java.util.Collection subProps)
to update the list of subproperties of a property that belongs to this policy

Parameters:
propName - name of the property
subProps - the collection of its subproperties

updateInstancesOfClass

public void updateInstancesOfClass(java.lang.String className,
                                   java.util.Collection instances)
to update the instances of the class of a property belonging to this policy

Parameters:
className - name of the class
instances - collection of its instances

updateActionSubclasses

public void updateActionSubclasses(java.lang.String className,
                                   java.util.Collection subclasses)
to update the subclasses of an action class in this policy.

Parameters:
className - the action class whose subclasses are updated
subclasses - the collection of updated subclasses

getPropretiesOfInterest

public java.util.List getPropretiesOfInterest()
This method returns all the properties and their subproperties contained in this policy. This excludes _actor and _action properties because they don't have subproperties, only subclasses.


getClassRangesOfInterest

public java.util.List getClassRangesOfInterest()
This method returns all the classranges of properties in this policy. This excludes _action property because it doesn't have a class range.


getActionSubclassesOfInterest

public java.util.List getActionSubclassesOfInterest()
This method returns all the subclasses of actions in this policy, along with the action class name.


setControlRVM

public void setControlRVM(KAoSRoleValueMapContainer controlRVMContainer)

getControlRVM

public KAoSRoleValueMapContainer getControlRVM()

getTriggerAction

public BasicActionDescription getTriggerAction()

setTriggerRVM

public void setTriggerRVM(KAoSRoleValueMapContainer triggerRVMContainer)

getTriggerRVM

public KAoSRoleValueMapContainer getTriggerRVM()

setCondition

public void setCondition(KAoSConditionDescription cond)

getCondition

public KAoSConditionDescription getCondition()

getConditionRVM

public KAoSRoleValueMapContainer getConditionRVM()

setObligationConstraints

public void setObligationConstraints(ObligationConstraintsDescription ocd)

getObligationConstraints

public ObligationConstraintsDescription getObligationConstraints()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object