edu.hws.jcm.data
Interface MathObject

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ParserExtension
All Known Implementing Classes:
Constant, StandardFunction

public interface MathObject
extends java.io.Serializable

A MathObject is just an object that has setName and getName methods. MathObjects can be registered with a Parser (meaning that they are stored in the SymbolTable associated with the Parser, and can be used in expressions parsed by the Parser).


Method Summary
 java.lang.String getName()
          Get the name of this object.
 void setName(java.lang.String name)
          Set the name of this object.
 

Method Detail

getName

public java.lang.String getName()
Get the name of this object.

setName

public void setName(java.lang.String name)
Set the name of this object. This should not be done if the MathObject is registered with a Parser.