public interface Value extends Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.