org.hecl
Class ClassCommandInfo

java.lang.Object
  extended by org.hecl.ClassCommandInfo

public class ClassCommandInfo
extends java.lang.Object

The ClassCommandInfo holds information about a class command that may be attached to an interpreter.

Version:
1.0
Author:
Wolfgang S. Kechel

Method Summary
 java.lang.Class forClass()
          Gets the class of instances this command operates on.
 ClassCommand getCommand()
          Gets the ClassCommand to be called for methodes on instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forClass

public java.lang.Class forClass()
Gets the class of instances this command operates on.

Returns:
The Class on which methods on references in ObjectThings must be assignable for the command to be called during evaluation.

getCommand

public ClassCommand getCommand()
Gets the ClassCommand to be called for methodes on instances. This function is used by the interpreter to call the Java implementation of methods on ObjectThings holding a reference to instances of the class stored in this descriptor.

Returns:
The ClassCommand.