All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ca.carleton.sce.ucmagents.lfmparse.ASTcomponent

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

public class ASTcomponent
extends SimpleNode
ASTcomponent is a class that is used as a node in the AST in order to contain all the information related to a component. It may also have a substructure specification as a child node. It was built using jjtree 0.3.5.

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

Method Index

 o getOtherAtomsList()
Return the list of other assigned to this component.
 o getReplicationFactor()
Return the replication factor.
 o getResponsibilities()
Return the list of responsibilities assigned to this component.
 o getType()
Return the type of the component.
 o isActual()
Return the actual attribute.
 o isAnchored()
Return the anchored attribute.
 o isProtected()
Return the protected attribute.
 o isReplicated()
Return the replicated attribute.
 o isSlot()
Return the slot attribute.
 o setActual(boolean)
Set the actual attribute.
 o setAnchored(boolean)
Set the anchored attribute.
 o setOtherAtomsList(Vector)
Set the list of other atoms assigned to this component.
 o setProtected(boolean)
Set the protected attribute.
 o setReplicated(boolean)
Set the replicated attribute.
 o setReplicationFactor(int)
Set the replication factor, if replicated.
 o setResponsibilities(Vector)
Set the list of responsibilities assigned to this component.
 o setSlot(boolean)
Set the slot attribute.
 o setType(String)
Set the component type (a String).
 o toString()

Methods

 o setType
 public void setType(String n)
Set the component type (a String).

Parameters:
n - the component type
 o getType
 public String getType()
Return the type of the component.

Returns:
the type of the component
 o setResponsibilities
 public void setResponsibilities(Vector resp)
Set the list of responsibilities assigned to this component.

Parameters:
resp - the list of responsibilities as a Vector of responsibility names
 o getResponsibilities
 public Vector getResponsibilities()
Return the list of responsibilities assigned to this component.

Returns:
the list of responsibilities as a Vector of responsibility names
 o setOtherAtomsList
 public void setOtherAtomsList(Vector atoml)
Set the list of other atoms assigned to this component.

Parameters:
atoml - the list of atoms as a Vector of atom names
 o getOtherAtomsList
 public Vector getOtherAtomsList()
Return the list of other assigned to this component.

Returns:
the list of atoms as a Vector of atom names
 o setProtected
 public void setProtected(boolean b)
Set the protected attribute.

Parameters:
b - the value of the attribute
 o isProtected
 public boolean isProtected()
Return the protected attribute.

Returns:
the value of the attribute
 o setSlot
 public void setSlot(boolean b)
Set the slot attribute.

Parameters:
b - the value of the attribute
 o isSlot
 public boolean isSlot()
Return the slot attribute.

Returns:
the value of the attribute
 o setActual
 public void setActual(boolean b)
Set the actual attribute.

Parameters:
b - the value of the attribute (true for actual, false for formal)
 o isActual
 public boolean isActual()
Return the actual attribute.

Returns:
the value of the attribute (true for actual, false for formal)
 o setAnchored
 public void setAnchored(boolean b)
Set the anchored attribute.

Parameters:
b - the value of the attribute
 o isAnchored
 public boolean isAnchored()
Return the anchored attribute.

Returns:
the value of the attribute
 o setReplicated
 public void setReplicated(boolean b)
Set the replicated attribute.

Parameters:
b - the value of the attribute
 o isReplicated
 public boolean isReplicated()
Return the replicated attribute.

Returns:
the value of the attribute
 o setReplicationFactor
 public void setReplicationFactor(int rf)
Set the replication factor, if replicated.

Parameters:
rf - the value of the replication factor
 o getReplicationFactor
 public int getReplicationFactor()
Return the replication factor.

Returns:
the value of the replication factor
 o toString
 public String toString()
Overrides:
toString in class SimpleNode

All Packages  Class Hierarchy  This Package  Previous  Next  Index