All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ca.carleton.sce.ucmagents.lfmparse.ASTatom

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

public class ASTatom
extends SimpleNode
ASTdesign is a class that needs to be extended in order to be used as a node in the AST. It contains methods commom to atoms in a use case path. It was built using jjtree 0.3.5.

Version:
1.00, 1998 01 28
Author:
Daniel Amyot, damyot@csi.uottawa.ca
See Also:
ASTstartOfPath, ASTwaitingPlace, ASTendBar, ASTresponsibilityRef, ASTjoin, ASTfork, ASTsynchronization, ASTstub, ASTemptySegment, ASTpathSpec, SimpleNode

Method Index

 o AtomtoString()
Display the common attributes of all atoms.
 o getPartOfPaths()
Return the paths to which this atom belongs.
 o getType()
Return the type of the atom.
 o setPartOfPaths(Vector)
Set the paths to which this atom belongs.
 o setType(int)
Set the type (a String) according to the jjtNodeName array in lfmparseTreeConstants.

Methods

 o setType
 public void setType(int n)
Set the type (a String) according to the jjtNodeName array in lfmparseTreeConstants.

Parameters:
n - the node name (atom), an integer.
See Also:
lfmparseTreeConstants
 o getType
 public String getType()
Return the type of the atom.

Returns:
the type of the atom
 o setPartOfPaths
 public void setPartOfPaths(Vector pop)
Set the paths to which this atom belongs.

Parameters:
pop - a Vector of path names (usually single characters)
 o getPartOfPaths
 public Vector getPartOfPaths()
Return the paths to which this atom belongs.

Returns:
the paths as a Vector of path names (usually single characters)
 o AtomtoString
 public String AtomtoString()
Display the common attributes of all atoms.


All Packages  Class Hierarchy  This Package  Previous  Next  Index