All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ca.carleton.sce.ucmagents.lfmparse.ASTpath

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

public class ASTpath
extends SimpleNode
ASTpath is a class that is used as a node in the AST in order to contain the connections between semi-paths related to one path. It may have a semi-path identifer, or semi-path connections as a child nodes. It was built using jjtree 0.3.5.

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

Method Index

 o getConnectionList()
Return the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
 o getSemiPathId()
Return the semi-path identifier (a String), if there is only one semi-path in the path.
 o setConnectionList(Vector)
Set the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.
 o setSemiPathId(String)
Set the semi-path identifier (a String), if there is only one semi-path in the path.
 o toString()

Methods

 o setSemiPathId
 public void setSemiPathId(String id)
Set the semi-path identifier (a String), if there is only one semi-path in the path.

Parameters:
id - the semi-path identifier
 o getSemiPathId
 public String getSemiPathId()
Return the semi-path identifier (a String), if there is only one semi-path in the path. If it returns NULL, then use getConnectionList.

Returns:
the semi-path identifier
See Also:
getConnectionList
 o setConnectionList
 public void setConnectionList(Vector cl)
Set the connection list (a Vector of semi-path connections), if there are many semi-paths in the path.

Parameters:
cl - the connection list
See Also:
ASTsemiPathConnection
 o getConnectionList
 public Vector getConnectionList()
Return the connection list (a Vector of semi-path connections), if there are many semi-paths in the path. If it returns NULL, then use getSemiPathId.

Returns:
the semi-path identifier
See Also:
getSemiPathId, ASTsemiPathConnection
 o toString
 public String toString()
Overrides:
toString in class SimpleNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index