Package net.sf.jsqlparser.expression
Class DateTimeLiteralExpression
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.DateTimeLiteralExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class DateTimeLiteralExpression extends ASTNodeAccessImpl implements Expression
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DateTimeLiteralExpression.DateTime
-
Field Summary
Fields Modifier and Type Field Description private DateTimeLiteralExpression.DateTime
type
private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description DateTimeLiteralExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor expressionVisitor)
DateTimeLiteralExpression.DateTime
getType()
java.lang.String
getValue()
void
setType(DateTimeLiteralExpression.DateTime type)
void
setValue(java.lang.String value)
java.lang.String
toString()
DateTimeLiteralExpression
withType(DateTimeLiteralExpression.DateTime type)
DateTimeLiteralExpression
withValue(java.lang.String value)
-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, 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
-
-
-
-
Field Detail
-
value
private java.lang.String value
-
type
private DateTimeLiteralExpression.DateTime type
-
-
Method Detail
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
getType
public DateTimeLiteralExpression.DateTime getType()
-
setType
public void setType(DateTimeLiteralExpression.DateTime type)
-
accept
public void accept(ExpressionVisitor expressionVisitor)
- Specified by:
accept
in interfaceExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withValue
public DateTimeLiteralExpression withValue(java.lang.String value)
-
withType
public DateTimeLiteralExpression withType(DateTimeLiteralExpression.DateTime type)
-
-