|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlocal.tomas.expr.StringConstant
public class StringConstant
Definition of string constant expression.
| Constructor Summary | |
|---|---|
StringConstant()
Default constructor. |
|
StringConstant(String value)
Constructor from value. |
|
| Method Summary | ||
|---|---|---|
boolean |
equals(Object obj)
Compares this object against the specified object. |
|
String |
getValue()
Get value. |
|
|
greet(ExpressionWalker<E,F> visitor,
F arg)
Handle visit of ExpressionWalker. |
|
int |
hashCode()
|
|
void |
setValue(String value)
Set value. |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StringConstant()
public StringConstant(String value)
value - string value| Method Detail |
|---|
public String getValue()
public void setValue(String value)
value - string value.
public <E,F> E greet(ExpressionWalker<E,F> visitor,
F arg)
throws ExpressionException
Expression
greet in interface Expressionvisitor - the ExpressionWalker visiting this objectarg - implementation dependent argument
ExpressionExceptionpublic String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
common-util | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||