jeops.engine
Class RuleDeclaration
java.lang.Object
|
+--jeops.engine.RuleDeclaration
- public class RuleDeclaration
- extends java.lang.Object
This class models a variable declaration (universally quantified)
used in a rule definition.
- Version:
- 0.02 29 Jun 1999 First version with comments in English.
- Author:
- Carlos Figueira Filho (csff@di.ufpe.br)
Constructor Summary |
RuleDeclaration(java.lang.String className,
java.lang.String ident)
Class constructor. |
Method Summary |
void |
dump(int spaces)
Prints a tree representation of this base. |
java.lang.String |
getClassName()
Returns the class name of the variable declaration. |
java.lang.String |
getIdent()
Returns the identifier of the variable. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RuleDeclaration
public RuleDeclaration(java.lang.String className,
java.lang.String ident)
- Class constructor.
- Parameters:
className
- the name of the class of the variableident
- the identifier of the variable
dump
public void dump(int spaces)
- Prints a tree representation of this base. Useful for debugging.
- Parameters:
spaces
- the identation of the information to be printed.
getClassName
public java.lang.String getClassName()
- Returns the class name of the variable declaration.
- Returns:
- the class name of the variable declaration.
getIdent
public java.lang.String getIdent()
- Returns the identifier of the variable.
- Returns:
- the identifier of the variable.