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
-
AtomtoString()
- Display the common attributes of all atoms.
-
getPartOfPaths()
- Return the paths to which this atom belongs.
-
getType()
- Return the type of the atom.
-
setPartOfPaths(Vector)
- Set the paths to which this atom belongs.
-
setType(int)
- Set the type (a String) according to the jjtNodeName array in lfmparseTreeConstants.
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
getType
public String getType()
- Return the type of the atom.
- Returns:
- the type of the atom
setPartOfPaths
public void setPartOfPaths(Vector pop)
- Set the paths to which this atom belongs.
- Parameters:
- pop - a Vector of path names (usually single characters)
getPartOfPaths
public Vector getPartOfPaths()
- Return the paths to which this atom belongs.
- Returns:
- the paths as a Vector of path names (usually single characters)
AtomtoString
public String AtomtoString()
- Display the common attributes of all atoms.
All Packages Class Hierarchy This Package Previous Next Index