|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILiteral
Represents a literal value that is used in
an expression. The value can be obtained and should match
the type specified by getType()
.
Method Summary | |
---|---|
java.lang.Class<?> |
getType()
Get the Java type of the literal |
java.lang.Object |
getValue()
Get the value of the literal |
boolean |
isBindValue()
Returns true if this literal should be treated as a bind value |
boolean |
isMultiValued()
Returns true if the value for this literal is a list of values. |
void |
setBindValue(boolean bindValue)
Set whether this literal should be treated as a bind value |
void |
setMultiValued(boolean multiValued)
Set whether the value for this literal is a list of values. |
void |
setType(java.lang.Class<?> type)
Set the Java type of the literal |
void |
setValue(java.lang.Object value)
Set the value of the literal |
Methods inherited from interface org.teiid.connector.language.ILanguageObject |
---|
acceptVisitor |
Method Detail |
---|
java.lang.Object getValue()
java.lang.Class<?> getType()
getType
in interface IExpression
void setValue(java.lang.Object value)
value
- Object of valuevoid setType(java.lang.Class<?> type)
setType
in interface IExpression
type
- Java class name of typeboolean isBindValue()
void setBindValue(boolean bindValue)
bindValue
- boolean isMultiValued()
void setMultiValued(boolean multiValued)
multiValued
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |