- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.UserVariable
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class UserVariable extends ASTNodeAccessImpl implements Expression
Simple uservariables like @test.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserVariable()
UserVariable(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
java.lang.String
getName()
boolean
isDoubleAdd()
void
setDoubleAdd(boolean doubleAdd)
void
setName(java.lang.String name)
java.lang.String
toString()
UserVariable
withDoubleAdd(boolean doubleAdd)
UserVariable
withName(java.lang.String name)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
isDoubleAdd
public boolean isDoubleAdd()
-
setDoubleAdd
public void setDoubleAdd(boolean doubleAdd)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withName
public UserVariable withName(java.lang.String name)
-
withDoubleAdd
public UserVariable withDoubleAdd(boolean doubleAdd)
-
-