public class Literal extends BaseLanguageObject implements Expression
getType()| Modifier and Type | Method and Description |
|---|---|
void |
acceptVisitor(LanguageObjectVisitor visitor) |
Class<?> |
getType()
Determine the type returned by this expression.
|
Object |
getValue() |
boolean |
isBindEligible()
Set by the optimizer if the literal was created by the evaluation of another expression.
|
void |
setBindEligible(boolean isBindEligible) |
void |
setType(Class<?> type) |
void |
setValue(Object value) |
toStringpublic Object getValue()
public void acceptVisitor(LanguageObjectVisitor visitor)
acceptVisitor in interface LanguageObjectpublic Class<?> getType()
ExpressiongetType in interface Expressionpublic void setValue(Object value)
public void setType(Class<?> type)
public boolean isBindEligible()
public void setBindEligible(boolean isBindEligible)
Copyright © 2018 JBoss by Red Hat. All rights reserved.