ponderToolkit.compiler.codeGen.policyObjects
Class PosAuthActionList

java.lang.Object
  |
  +--ponderToolkit.compiler.codeGen.policyObjects.PosAuthActionList
All Implemented Interfaces:
PosAuthActionListI, java.io.Serializable

public class PosAuthActionList
extends java.lang.Object
implements PosAuthActionListI, java.io.Serializable

Function: Models a Positive Authorisation Policy action list.

See Also:
Serialized Form

Constructor Summary
PosAuthActionList()
          Constructor
PosAuthActionList(java.util.LinkedList newLinkedList)
          Constructor that builds a PosAuthActionList from a LinkedList of PosAuthActions
 
Method Summary
 void addAction(PosAuthAction newAction)
          Add a new action
 PosAuthActionI getActionAt(int pos)
          Get the Action at position: pos.
 java.lang.String getAnalysisCode()
          return the Prolog code required by the analysis system
 int getSize()
          Get the size of the Action List (the number of actions in it)
 java.lang.String getString()
          Return a String representation of the Action List
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PosAuthActionList

public PosAuthActionList()
Constructor

PosAuthActionList

public PosAuthActionList(java.util.LinkedList newLinkedList)
Constructor that builds a PosAuthActionList from a LinkedList of PosAuthActions
Method Detail

addAction

public void addAction(PosAuthAction newAction)
Add a new action

getActionAt

public PosAuthActionI getActionAt(int pos)
Get the Action at position: pos.
Specified by:
getActionAt in interface PosAuthActionListI

getSize

public int getSize()
Get the size of the Action List (the number of actions in it)
Specified by:
getSize in interface PosAuthActionListI

getString

public java.lang.String getString()
Return a String representation of the Action List
Specified by:
getString in interface PosAuthActionListI

getAnalysisCode

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