wt.epm.query
Class QueryNodes.LiteralBooleanNode
java.lang.Object
wt.epm.query.QueryNodes.Node
wt.epm.query.QueryNodes.ScalarExpNode
wt.epm.query.QueryNodes.AtomNode
wt.epm.query.QueryNodes.LiteralNode
wt.epm.query.QueryNodes.LiteralBooleanNode
- All Implemented Interfaces:
- QueryNodes.GeneratableNode
- Enclosing class:
- QueryNodes
- static class QueryNodes.LiteralBooleanNode
- extends QueryNodes.LiteralNode
Method Summary |
protected static void |
appendJoint(QueryNodes.QueryScope scope,
QueryNodes.ClassNode source,
String sourceAttribute,
QueryNodes.ClassNode target)
|
protected static void |
appendJoint(QueryNodes.QueryScope scope,
QueryNodes.ClassNode source,
String sourceAttribute,
QueryNodes.ClassNode target,
int outerJoint)
|
protected static void |
appendOpionalAnd(QueryNodes.QueryScope scope)
|
protected static void |
dump(Collection collection,
PrintStream out,
QueryNodes.Shift shift)
|
(package private) void |
dump(PrintStream out,
QueryNodes.Shift shift)
|
protected static void |
dump(QueryNodes.Node node,
PrintStream out,
QueryNodes.Shift shift)
|
protected static void |
dump(String prefix,
Collection collection,
PrintStream out,
QueryNodes.Shift shift)
|
protected static void |
dump(String prefix,
QueryNodes.Node node,
PrintStream out,
QueryNodes.Shift shift)
|
protected static void |
generate(Collection collection,
QueryNodes.QueryScope scope)
|
protected static void |
generate(QueryNodes.GeneratableNode node,
QueryNodes.QueryScope scope)
|
void |
generate(QueryNodes.QueryScope scope)
|
protected ColumnExpression |
getScalarExpression(QueryNodes.QueryScope scope)
|
protected String |
getShortClassName()
|
protected String |
getTitle(QueryNodes.Shift shift)
|
(package private) Object |
getValue()
|
(package private) Object |
getValue(QueryNodes.QueryContext context,
boolean convert)
|
(package private) Object |
getValue(QueryNodes.QueryScope scope,
boolean convert)
|
(package private) boolean |
getValueAsBoolean()
|
protected void |
register(QueryNodes.ParserScope parserScope)
|
String |
toString()
|
value
private boolean value
GEN_SELECT
public static final int GEN_SELECT
- See Also:
- Constant Field Values
GEN_FROM
public static final int GEN_FROM
- See Also:
- Constant Field Values
GEN_WHERE
public static final int GEN_WHERE
- See Also:
- Constant Field Values
GEN_GROUPBY
public static final int GEN_GROUPBY
- See Also:
- Constant Field Values
GEN_HAVING
public static final int GEN_HAVING
- See Also:
- Constant Field Values
GEN_ORDERBY
public static final int GEN_ORDERBY
- See Also:
- Constant Field Values
GEN_CONFIGSPEC
public static final int GEN_CONFIGSPEC
- See Also:
- Constant Field Values
QueryNodes.LiteralBooleanNode
QueryNodes.LiteralBooleanNode(QueryNodes.ParserScope parserScope,
boolean value)
throws QueryException
getValue
Object getValue()
- Specified by:
getValue
in class QueryNodes.LiteralNode
getValueAsBoolean
boolean getValueAsBoolean()
getValue
Object getValue(QueryNodes.QueryContext context,
boolean convert)
- Specified by:
getValue
in class QueryNodes.AtomNode
toString
public String toString()
getScalarExpression
protected ColumnExpression getScalarExpression(QueryNodes.QueryScope scope)
throws WTException
- Specified by:
getScalarExpression
in class QueryNodes.ScalarExpNode
- Throws:
WTException
getValue
Object getValue(QueryNodes.QueryScope scope,
boolean convert)
throws QueryException
- Throws:
QueryException
generate
public void generate(QueryNodes.QueryScope scope)
throws WTException,
WTPropertyVetoException
- Specified by:
generate
in interface QueryNodes.GeneratableNode
- Throws:
WTException
WTPropertyVetoException
register
protected void register(QueryNodes.ParserScope parserScope)
throws QueryException
- Throws:
QueryException
dump
void dump(PrintStream out,
QueryNodes.Shift shift)
getTitle
protected String getTitle(QueryNodes.Shift shift)
getShortClassName
protected String getShortClassName()
dump
protected static void dump(QueryNodes.Node node,
PrintStream out,
QueryNodes.Shift shift)
dump
protected static void dump(String prefix,
QueryNodes.Node node,
PrintStream out,
QueryNodes.Shift shift)
dump
protected static void dump(Collection collection,
PrintStream out,
QueryNodes.Shift shift)
dump
protected static void dump(String prefix,
Collection collection,
PrintStream out,
QueryNodes.Shift shift)
generate
protected static void generate(QueryNodes.GeneratableNode node,
QueryNodes.QueryScope scope)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
generate
protected static void generate(Collection collection,
QueryNodes.QueryScope scope)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
appendOpionalAnd
protected static void appendOpionalAnd(QueryNodes.QueryScope scope)
appendJoint
protected static void appendJoint(QueryNodes.QueryScope scope,
QueryNodes.ClassNode source,
String sourceAttribute,
QueryNodes.ClassNode target)
throws WTException
- Throws:
WTException
appendJoint
protected static void appendJoint(QueryNodes.QueryScope scope,
QueryNodes.ClassNode source,
String sourceAttribute,
QueryNodes.ClassNode target,
int outerJoint)
throws WTException
- Throws:
WTException