- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.StringValue
-
- All Implemented Interfaces:
Serializable,Expression,Model,net.sf.jsqlparser.parser.ASTNodeAccess
public final class StringValue extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
A string as in 'example_string'- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>ALLOWED_PREFIXES
-
Constructor Summary
Constructors Constructor Description StringValue()StringValue(String escapedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)booleanequals(Object o)StringgetNotExcapedValue()StringgetPrefix()StringgetValue()inthashCode()voidsetPrefix(String prefix)voidsetValue(String string)StringtoString()StringValuewithPrefix(String prefix)StringValuewithValue(String value)-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Constructor Detail
-
StringValue
public StringValue()
-
StringValue
public StringValue(String escapedValue)
-
-
Method Detail
-
getValue
public String getValue()
-
setValue
public void setValue(String string)
-
getPrefix
public String getPrefix()
-
setPrefix
public void setPrefix(String prefix)
-
getNotExcapedValue
public String getNotExcapedValue()
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
acceptin interfaceExpression
-
toString
public String toString()
- Overrides:
toStringin classnet.sf.jsqlparser.parser.ASTNodeAccessImpl
-
withPrefix
public StringValue withPrefix(String prefix)
-
withValue
public StringValue withValue(String value)
-
-