ponderEnforcement.ponderMC.policyObjects
Class RefrainEnforcementObject

java.lang.Object
  |
  +--ponderEnforcement.ponderMC.policyObjects.EnforcementObject
        |
        +--ponderEnforcement.ponderMC.policyObjects.RefrainEnforcementObject
All Implemented Interfaces:
java.io.Serializable

public class RefrainEnforcementObject
extends EnforcementObject
implements java.io.Serializable

Function: Models a Refrain Enforcement Object

See Also:
Serialized Form

Fields inherited from class ponderEnforcement.ponderMC.policyObjects.EnforcementObject
constraintHandler, name, state
 
Constructor Summary
RefrainEnforcementObject(java.lang.String name, RefrainI newRefrain, PonderMCimpl pmc)
          Constructor
 
Method Summary
 NegPolActionListI getActions()
          Get the actions from the encapsulated refrain policy object
 RefrainInfo getRefrainInfo()
           
 SubjectTargetI getTarget()
          Get the target from the encapsulated refrain policy object
 
Methods inherited from class ponderEnforcement.ponderMC.policyObjects.EnforcementObject
checkConstraints, disable, enable, getName, getState, getStateStr, isEnabled, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefrainEnforcementObject

public RefrainEnforcementObject(java.lang.String name,
                                RefrainI newRefrain,
                                PonderMCimpl pmc)
Constructor
Method Detail

getActions

public NegPolActionListI getActions()
Get the actions from the encapsulated refrain policy object

getTarget

public SubjectTargetI getTarget()
Get the target from the encapsulated refrain policy object

getRefrainInfo

public RefrainInfo getRefrainInfo()
Returns:
A RefrainInfo object corresponding to the Refrain object associated with this RefrainEnforcementObject