- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.UserVariable
-
- All Implemented Interfaces:
Serializable,Expression,Model,net.sf.jsqlparser.parser.ASTNodeAccess
public class UserVariable extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
Simple uservariables like @test.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UserVariable()UserVariable(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)StringgetName()booleanisDoubleAdd()voidsetDoubleAdd(boolean doubleAdd)voidsetName(String name)StringtoString()UserVariablewithDoubleAdd(boolean doubleAdd)UserVariablewithName(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.expression.Expression
accept
-
-
-
-
Constructor Detail
-
UserVariable
public UserVariable()
-
UserVariable
public UserVariable(String name)
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
acceptin interfaceExpression
-
isDoubleAdd
public boolean isDoubleAdd()
-
setDoubleAdd
public void setDoubleAdd(boolean doubleAdd)
-
withName
public UserVariable withName(String name)
-
withDoubleAdd
public UserVariable withDoubleAdd(boolean doubleAdd)
-
-