|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Value
Interface for any non-operator in a query filter, including constants, variables, and object fields.
Method Summary | |
---|---|
void |
acceptVisit(ExpressionVisitor visitor)
Accept a visit from a tree visitor. |
ClassMetaData |
getMetaData()
Return any associated persistent type. |
Class |
getType()
Return the expected type for this value, or Object if
the type is unknown. |
boolean |
isAggregate()
Return true if this value is an aggregate. |
boolean |
isVariable()
Return true if this value is a variable. |
void |
setImplicitType(Class type)
Set the implicit type of the value, based on how it is used in the filter. |
void |
setMetaData(ClassMetaData meta)
Associate a persistent type with this value. |
Method Detail |
---|
Class getType()
Object
if
the type is unknown.
void setImplicitType(Class type)
Object
from getType()
.
boolean isVariable()
boolean isAggregate()
ClassMetaData getMetaData()
void setMetaData(ClassMetaData meta)
void acceptVisit(ExpressionVisitor visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |