lij.model
Class Clause
java.lang.Object
lij.model.Clause
public class Clause
- extends java.lang.Object
This class provides the definition of an LCC clause as specified in an IM. It
contains two things: An Agent definition, and the root of a clause definition
tree.
- Author:
- Nikolaos Chatzinikolaou
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
agent
private DefAgent agent
root
private TreeNode root
Clause
public Clause(DefAgent _agent,
TreeNode _root)
- Constructor.
- Parameters:
_agent
- The Clause's DefAgent signature._root
- The root node of the Clause's tree.
getAgent
public DefAgent getAgent()
- Accessor.
- Returns:
- The Clause's DefAgent signature.
getRoot
public TreeNode getRoot()
- Accessor.
- Returns:
- The root node of the Clause's tree.
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object