- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.NextValExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class NextValExpression extends ASTNodeAccessImpl implements Expression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.String>
nameList
static java.util.regex.Pattern
NEXT_VALUE_PATTERN
private boolean
usingNextValueFor
-
Constructor Summary
Constructors Constructor Description NextValExpression(java.util.List<java.lang.String> nameList, java.lang.String image)
-
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()
java.util.List<java.lang.String>
getNameList()
boolean
isUsingNextValueFor()
void
setUsingNextValueFor(boolean usingNextValueFor)
java.lang.String
toString()
NextValExpression
withNextValueFor(boolean usingNextValueFor)
-
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
-
isUsingNextValueFor
public boolean isUsingNextValueFor()
-
setUsingNextValueFor
public void setUsingNextValueFor(boolean usingNextValueFor)
-
withNextValueFor
public NextValExpression withNextValueFor(boolean usingNextValueFor)
-
getNameList
public java.util.List<java.lang.String> getNameList()
-
getName
public java.lang.String getName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
-