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
-
getAction()
- Return the action of a dynamic responsibility.
-
getExceptionId()
- Return the exception identifier raised or handled by an abort responsibility.
-
getIsIn()
- Return the direction of an action of a dynamic responsibility w.r.t.
-
getPathName()
- Return the exception path name.
-
getSourcePool()
- Return the source pool related to the action of a dynamic responsibility.
-
setAction(String)
- Set the action of a dynamic responsibility.
-
setExceptionId(String)
- Set the exception identifier raised or handled by an abort responsibility.
-
setIsIn(boolean)
- Set the direction of an action of a dynamic responsibility w.r.t.
-
setPathName(String)
- Set the exception path name.
-
setSourcePool(String)
- Set the source pool related to the action of a dynamic responsibility.
-
toString()
-
setAction
public void setAction(String a)
- Set the action of a dynamic responsibility.
- Parameters:
- a - the action
getAction
public String getAction()
- Return the action of a dynamic responsibility.
- Returns:
- the action
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)
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)
setExceptionId
public void setExceptionId(String e)
- Set the exception identifier raised or handled by an abort responsibility.
- Parameters:
- e - the exception identifier
getExceptionId
public String getExceptionId()
- Return the exception identifier raised or handled by an abort responsibility.
- Returns:
- the exception identifier
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
getPathName
public String getPathName()
- Return the exception path name.
Its existence (!= NULL) indicates that the exception is raised, not handled.
- Returns:
- the path name
setSourcePool
public void setSourcePool(String sp)
- Set the source pool related to the action of a dynamic responsibility.
- Parameters:
- sp - the source pool
getSourcePool
public String getSourcePool()
- Return the source pool related to the action of a dynamic responsibility.
- Returns:
- the source pool
toString
public String toString()
- Overrides:
- toString in class SimpleNode
All Packages Class Hierarchy This Package Previous Next Index