public class Variable extends Object implements org.apache.openjpa.kernel.exps.Value, ExpressionNode
ExpressionNode.NodeType
Modifier and Type | Method and Description |
---|---|
void |
acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor) |
void |
appendSql(StringBuilder sql)
Appends the node SQL string to the string builder.
|
String |
getAlias() |
org.apache.openjpa.meta.ClassMetaData |
getMetaData() |
String |
getName() |
ExpressionNode.NodeType |
getNodeType()
Gets the node type
|
org.apache.openjpa.kernel.exps.Path |
getPath() |
org.apache.openjpa.kernel.exps.Value |
getSelectAs() |
Class |
getType() |
boolean |
isAggregate() |
boolean |
isVariable() |
boolean |
isXPath() |
void |
setAlias(String alias) |
void |
setImplicitType(Class type) |
void |
setMetaData(org.apache.openjpa.meta.ClassMetaData classMetaData) |
public void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
acceptVisit
in interface org.apache.openjpa.kernel.exps.Value
public String getAlias()
getAlias
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.meta.ClassMetaData getMetaData()
getMetaData
in interface org.apache.openjpa.kernel.exps.Value
public String getName()
getName
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.kernel.exps.Path getPath()
getPath
in interface org.apache.openjpa.kernel.exps.Value
public org.apache.openjpa.kernel.exps.Value getSelectAs()
getSelectAs
in interface org.apache.openjpa.kernel.exps.Value
public Class getType()
getType
in interface org.apache.openjpa.kernel.exps.Value
public boolean isAggregate()
isAggregate
in interface org.apache.openjpa.kernel.exps.Value
public boolean isVariable()
isVariable
in interface org.apache.openjpa.kernel.exps.Value
public boolean isXPath()
isXPath
in interface org.apache.openjpa.kernel.exps.Value
public void setAlias(String alias)
setAlias
in interface org.apache.openjpa.kernel.exps.Value
public void setImplicitType(Class type)
setImplicitType
in interface org.apache.openjpa.kernel.exps.Value
public void setMetaData(org.apache.openjpa.meta.ClassMetaData classMetaData)
setMetaData
in interface org.apache.openjpa.kernel.exps.Value
public void appendSql(StringBuilder sql)
ExpressionNode
appendSql
in interface ExpressionNode
sql
- The SQL string builder to append to.public ExpressionNode.NodeType getNodeType()
ExpressionNode
getNodeType
in interface ExpressionNode
Copyright © GigaSpaces.