net.sourceforge.webcompmath.data
Interface MathObject

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ParserExtension, ParserMathObject
All Known Implementing Classes:
Constant, DataTableInput, DerivParser, ExpressionFunction, FunctionParserExtension, NumDerivParser, NumIntParser, NumMinMaxParser, StandardFunction, SummationParser, TableFunction, Variable, WCMAnimatorBean, WCMConstantBean, WCMDataTableInputBean, WCMDerivativeBean, WCMExpressionFunctionBean, WCMExpressionInputBean, WCMMouseVariableBean, WCMTableFunctionBean, WCMVariableBean, WCMVariableInputBean, WCMVariableJSliderBean, WrapperFunction

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

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

Returns:
object's name

setName

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.

Parameters:
name - object's name