All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ca.carleton.sce.ucmagents.lfmparse.ASTresponsibility

ca.carleton.sce.ucmagents.lfmparse.SimpleNode
   |
   +----ca.carleton.sce.ucmagents.lfmparse.ASTresponsibility

public class ASTresponsibility
extends SimpleNode
ASTresponsibility is a class that is used as a node in the AST in order to contain all the information related to a responsibility. It was built using jjtree 0.3.5.

Version:
1.00, 1998 01 28
Author:
Daniel Amyot, damyot@csi.uottawa.ca
See Also:
ASTresponsibilitySpec, SimpleNode

Method Index

 o getAction()
Return the action of a dynamic responsibility.
 o getExceptionId()
Return the exception identifier raised or handled by an abort responsibility.
 o getIsIn()
Return the direction of an action of a dynamic responsibility w.r.t.
 o getPathName()
Return the exception path name.
 o getSourcePool()
Return the source pool related to the action of a dynamic responsibility.
 o setAction(String)
Set the action of a dynamic responsibility.
 o setExceptionId(String)
Set the exception identifier raised or handled by an abort responsibility.
 o setIsIn(boolean)
Set the direction of an action of a dynamic responsibility w.r.t.
 o setPathName(String)
Set the exception path name.
 o setSourcePool(String)
Set the source pool related to the action of a dynamic responsibility.
 o toString()

Methods

 o setAction
 public void setAction(String a)
Set the action of a dynamic responsibility.

Parameters:
a - the action
 o getAction
 public String getAction()
Return the action of a dynamic responsibility.

Returns:
the action
 o setIsIn
 public void setIsIn(boolean b)
Set the direction of an action of a dynamic responsibility w.r.t. a path.

Parameters:
b - the direction (true: towards (in) the path, false: out of the path)
 o getIsIn
 public boolean getIsIn()
Return the direction of an action of a dynamic responsibility w.r.t. a path.

Returns:
the direction (true: towards (in) the path, false: out of the path)
 o setExceptionId
 public void setExceptionId(String e)
Set the exception identifier raised or handled by an abort responsibility.

Parameters:
e - the exception identifier
 o getExceptionId
 public String getExceptionId()
Return the exception identifier raised or handled by an abort responsibility.

Returns:
the exception identifier
 o setPathName
 public void setPathName(String p)
Set the exception path name. Its existence indicates that the exception is raised, not handled.

Parameters:
p - the path name
 o getPathName
 public String getPathName()
Return the exception path name. Its existence (!= NULL) indicates that the exception is raised, not handled.

Returns:
the path name
 o setSourcePool
 public void setSourcePool(String sp)
Set the source pool related to the action of a dynamic responsibility.

Parameters:
sp - the source pool
 o getSourcePool
 public String getSourcePool()
Return the source pool related to the action of a dynamic responsibility.

Returns:
the source pool
 o toString
 public String toString()
Overrides:
toString in class SimpleNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index