All Packages Class Hierarchy This Package Previous Next Index
Class ca.carleton.sce.ucmagents.lfmparse.ASTpathComposition
ca.carleton.sce.ucmagents.lfmparse.SimpleNode
|
+----ca.carleton.sce.ucmagents.lfmparse.ASTpathComposition
- public class ASTpathComposition
- extends SimpleNode
ASTpathComposition
is a class that is used as a node in the AST
in order to contain the connection between paths composed together
synchronously or asynchronously.
It was built using jjtree 0.3.5.
- Version:
- 1.00, 1998 01 28
- Author:
- Daniel Amyot, damyot@csi.uottawa.ca
- See Also:
- ASTpathCompositionList, SimpleNode
-
getEndPoint()
- Return the end point (an end bar identifier or an empty segment identifier)
in the composition.
-
getPath1()
- Return the first path name in the composition.
-
getPath2()
- Return the second path name in the composition.
-
getStartPoint()
- Return the end point (a start of path identifier or a waiting place identifier)
in the composition.
-
isEndBar()
- Indicate whether the end point is an end bar identifier (true)
or an empty segment identifier (False)
-
isStartPoint()
- Indicate whether the start point is a start of path identifier (true)
or a waiting place identifier (False)
-
setEndPoint(String)
- Set the end point (an end bar identifier or an empty segment identifier)
in the composition.
-
setEndType(boolean)
- Set whether the end point is an end bar identifier (true)
or an empty segment identifier (False)
-
setPath1(String)
- Set the first path name in the composition.
-
setPath2(String)
- Set the second path name in the composition.
-
setStartPoint(String)
- Set the start point (a start of path identifier or a waiting place identifier)
in the composition.
-
setStartType(boolean)
- Set whether the start point is a start of path identifier (true)
or a waiting place identifier (False)
-
toString()
-
setPath1
public void setPath1(String p)
- Set the first path name in the composition.
- Parameters:
- p - the path name
getPath1
public String getPath1()
- Return the first path name in the composition.
- Returns:
- the path name
setPath2
public void setPath2(String p)
- Set the second path name in the composition.
- Parameters:
- p - the path name
getPath2
public String getPath2()
- Return the second path name in the composition.
- Returns:
- the path name
setEndPoint
public void setEndPoint(String p)
- Set the end point (an end bar identifier or an empty segment identifier)
in the composition.
- Parameters:
- p - the identifier
getEndPoint
public String getEndPoint()
- Return the end point (an end bar identifier or an empty segment identifier)
in the composition.
- Returns:
- the end point identifier
setStartPoint
public void setStartPoint(String p)
- Set the start point (a start of path identifier or a waiting place identifier)
in the composition.
- Parameters:
- p - the identifier
getStartPoint
public String getStartPoint()
- Return the end point (a start of path identifier or a waiting place identifier)
in the composition.
- Returns:
- the start point identifier
setEndType
public void setEndType(boolean b)
- Set whether the end point is an end bar identifier (true)
or an empty segment identifier (False)
- Parameters:
- b - true iff the end point is an end bar identifier
isEndBar
public boolean isEndBar()
- Indicate whether the end point is an end bar identifier (true)
or an empty segment identifier (False)
- Returns:
- true iff the end point is an end bar identifier
setStartType
public void setStartType(boolean b)
- Set whether the start point is a start of path identifier (true)
or a waiting place identifier (False)
- Parameters:
- b - true iff the start point is a start of path identifier
isStartPoint
public boolean isStartPoint()
- Indicate whether the start point is a start of path identifier (true)
or a waiting place identifier (False)
- Returns:
- true iff the start point is a start of path identifier
toString
public String toString()
- Overrides:
- toString in class SimpleNode
All Packages Class Hierarchy This Package Previous Next Index