|
||||||||||
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. |
String |
getAlias()
Return select item alias |
ClassMetaData |
getMetaData()
Return any associated persistent type. |
String |
getName()
|
Path |
getPath()
|
Value |
getSelectAs()
Return 'this' concrete class if alias is set, otherwise null |
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. |
boolean |
isXPath()
Return true if this value is an XML Path. |
void |
setAlias(String alias)
Set select item alias |
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()
boolean isXPath()
ClassMetaData getMetaData()
void setMetaData(ClassMetaData meta)
void acceptVisit(ExpressionVisitor visitor)
String getAlias()
void setAlias(String alias)
Value getSelectAs()
Path getPath()
String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |