public class Literal extends Object implements Literal
| Modifier and Type | Field and Description |
|---|---|
protected String |
delimiter |
protected boolean |
isNullLiteral |
protected String |
value |
| Constructor and Description |
|---|
Literal() |
Literal(BigDecimal content) |
Literal(BigInteger content) |
Literal(Boolean content) |
Literal(Date content) |
Literal(Double content) |
Literal(Float content) |
Literal(Integer content) |
Literal(Long content) |
Literal(Short content) |
Literal(String content) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(QueryVisitor visitor) |
String |
getDelimiter() |
String |
getValue()
Gets the value of the value property.
|
boolean |
isNullLiteral() |
void |
setDelimiter(String delimiter) |
void |
setValue(String value)
Sets the value of the value property.
|
static Literal |
valueOf(Object content) |
static Literal |
valueOf(String content) |
protected String value
protected boolean isNullLiteral
protected String delimiter
public Literal()
public Literal(String content)
public Literal(BigDecimal content)
public Literal(Date content)
public Literal(Boolean content)
public Literal(Short content)
public Literal(Integer content)
public Literal(Long content)
public Literal(BigInteger content)
public Literal(Float content)
public Literal(Double content)
public String getValue()
Stringpublic void setValue(String value)
value - allowed object is Stringpublic void accept(QueryVisitor visitor)
public boolean isNullLiteral()
isNullLiteral in interface Literalpublic String getDelimiter()
getDelimiter in interface Literalpublic void setDelimiter(String delimiter)
setDelimiter in interface LiteralCopyright © 2021. All rights reserved.