ponderToolkit.compiler.codeGen.policyObjects.constraints
Class Constraint

java.lang.Object
  |
  +--ponderToolkit.compiler.codeGen.policyObjects.constraints.Constraint
All Implemented Interfaces:
ConstraintI, java.io.Serializable
Direct Known Subclasses:
ActionConstraint, CompositeConstraint, EventConstraint, LibraryCallConstraint, SubjectConstraint, SystemConstraint, TargetConstraint, TimeConstraint

public abstract class Constraint
extends java.lang.Object
implements ConstraintI, java.io.Serializable

Function: Models a Constraint for a basic policy. This is the superclass for all types of constraints.

See Also:
Serialized Form

Fields inherited from interface ponderToolkit.compiler.codeGen.interfaces.constraints.ConstraintI
ACTION_CONSTRAINT, COMPOSITE_CONSTRAINT, EVENT_CONSTRAINT, LIBRARY_CALL_CONSTRAINT, SUBJECT_CONSTRAINT, SYSTEM_CONSTRAINT, TARGET_CONSTRAINT, TIME_CONSTRAINT
 
Constructor Summary
Constraint()
          Constructor
 
Method Summary
abstract  java.lang.String getAnalysisCode()
          return the Prolog code required by the analysis system
abstract  java.lang.String getString()
          Return a String representation of the Constraint
abstract  int getType()
          Return the type of the Constraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constraint

public Constraint()
Constructor
Method Detail

getType

public abstract int getType()
Return the type of the Constraint
Specified by:
getType in interface ConstraintI

getString

public abstract java.lang.String getString()
Return a String representation of the Constraint
Specified by:
getString in interface ConstraintI

getAnalysisCode

public abstract java.lang.String getAnalysisCode()
return the Prolog code required by the analysis system
Specified by:
getAnalysisCode in interface ConstraintI