lij.model
Class Clause

java.lang.Object
  extended by 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

Field Summary
private  DefAgent agent
           
private  TreeNode root
           
 
Constructor Summary
Clause(DefAgent _agent, TreeNode _root)
          Constructor.
 
Method Summary
 java.lang.Object clone()
           
 DefAgent getAgent()
          Accessor.
 TreeNode getRoot()
          Accessor.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

agent

private DefAgent agent

root

private TreeNode root
Constructor Detail

Clause

public Clause(DefAgent _agent,
              TreeNode _root)
Constructor.

Parameters:
_agent - The Clause's DefAgent signature.
_root - The root node of the Clause's tree.
Method Detail

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