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
-
getOtherAtomsList()
- Return the list of other assigned to this component.
-
getReplicationFactor()
- Return the replication factor.
-
getResponsibilities()
- Return the list of responsibilities assigned to this component.
-
getType()
- Return the type of the component.
-
isActual()
- Return the actual attribute.
-
isAnchored()
- Return the anchored attribute.
-
isProtected()
- Return the protected attribute.
-
isReplicated()
- Return the replicated attribute.
-
isSlot()
- Return the slot attribute.
-
setActual(boolean)
- Set the actual attribute.
-
setAnchored(boolean)
- Set the anchored attribute.
-
setOtherAtomsList(Vector)
- Set the list of other atoms assigned to this component.
-
setProtected(boolean)
- Set the protected attribute.
-
setReplicated(boolean)
- Set the replicated attribute.
-
setReplicationFactor(int)
- Set the replication factor, if replicated.
-
setResponsibilities(Vector)
- Set the list of responsibilities assigned to this component.
-
setSlot(boolean)
- Set the slot attribute.
-
setType(String)
- Set the component type (a String).
-
toString()
-
setType
public void setType(String n)
- Set the component type (a String).
- Parameters:
- n - the component type
getType
public String getType()
- Return the type of the component.
- Returns:
- the type of the component
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
getResponsibilities
public Vector getResponsibilities()
- Return the list of responsibilities assigned to this component.
- Returns:
- the list of responsibilities as a Vector of responsibility names
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
getOtherAtomsList
public Vector getOtherAtomsList()
- Return the list of other assigned to this component.
- Returns:
- the list of atoms as a Vector of atom names
setProtected
public void setProtected(boolean b)
- Set the protected attribute.
- Parameters:
- b - the value of the attribute
isProtected
public boolean isProtected()
- Return the protected attribute.
- Returns:
- the value of the attribute
setSlot
public void setSlot(boolean b)
- Set the slot attribute.
- Parameters:
- b - the value of the attribute
isSlot
public boolean isSlot()
- Return the slot attribute.
- Returns:
- the value of the attribute
setActual
public void setActual(boolean b)
- Set the actual attribute.
- Parameters:
- b - the value of the attribute (true for actual, false for formal)
isActual
public boolean isActual()
- Return the actual attribute.
- Returns:
- the value of the attribute (true for actual, false for formal)
setAnchored
public void setAnchored(boolean b)
- Set the anchored attribute.
- Parameters:
- b - the value of the attribute
isAnchored
public boolean isAnchored()
- Return the anchored attribute.
- Returns:
- the value of the attribute
setReplicated
public void setReplicated(boolean b)
- Set the replicated attribute.
- Parameters:
- b - the value of the attribute
isReplicated
public boolean isReplicated()
- Return the replicated attribute.
- Returns:
- the value of the attribute
setReplicationFactor
public void setReplicationFactor(int rf)
- Set the replication factor, if replicated.
- Parameters:
- rf - the value of the replication factor
getReplicationFactor
public int getReplicationFactor()
- Return the replication factor.
- Returns:
- the value of the replication factor
toString
public String toString()
- Overrides:
- toString in class SimpleNode
All Packages Class Hierarchy This Package Previous Next Index