Package | Description |
---|---|
com.ibm.tivoli.maximo.report.cognos.metadata.generator | |
com.ibm.tivoli.maximo.report.expr | |
psdi.app.report |
Modifier and Type | Method and Description |
---|---|
Node |
CognosComplexExpressionBuilder.buildComplexExpression(java.lang.String whereClause)
Givent the sql where clause, convert it to a Cognos complex relationship, or fail it, if it cannot be converted.
|
Node |
CognosComplexExpressionBuilder.MaxRelationshipParserHelper.evaluateNode(Node parent,
Node current) |
static Node |
CognosUtil.parseCognosExpression(java.lang.String cognosExpression)
Parse a Cognos Expression, such as
|
Modifier and Type | Method and Description |
---|---|
Node |
CognosComplexExpressionBuilder.MaxRelationshipParserHelper.evaluateNode(Node parent,
Node current) |
static java.lang.String |
CognosUtil.toCognosActionLogXml(Node parsedExpressions)
Transform the parsed cognos expression into a cognos xml node with refobj references
|
java.lang.String |
CognosUtil.CognosActionLogXmlTransformer.transform(Node n) |
Modifier and Type | Field and Description |
---|---|
Node |
Node.parent |
Modifier and Type | Field and Description |
---|---|
java.util.List<Node> |
Node.children |
Modifier and Type | Method and Description |
---|---|
Node |
Node.child(int i) |
Node |
JoiningParserHelper.evaluateNode(Node parent,
Node current) |
Node |
ExprParser.ParserHelper.evaluateNode(Node parent,
Node current)
Parser Helper allows a subclass to extend the parser to create new
node types, or change the parse tree during parsing.
|
Node |
MultiParserHelper.evaluateNode(Node parent,
Node current) |
Node |
Collector.first()
Return the first collected node
|
Node |
SafeDivideValidator.getDenominatorNode(Node divOperand)
Get the attribute/function/keyword node that is being used in the
denominoator portion of the divide expression.
|
Node |
Node.last()
Return the last child node
|
Node |
Node.nextSibling()
Find the sibling that is adjacent after us
|
static Node |
ExprParser.parse(java.lang.String expression)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
ExprParser.ParserHelper parserHelper)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
com.ibm.icu.util.ULocale locale)
Given an expression, return a parse tree of the expression.
|
static Node |
ExprParser.parse(java.lang.String expression,
com.ibm.icu.util.ULocale locale,
ExprParser.ParserHelper parserHelper)
Given an expression, return a parse tree of the expression.
|
Node |
ExprParser.parseExpression(java.lang.String str,
com.ibm.icu.util.ULocale locale,
ExprParser.ParserHelper helper)
Parses an expression using a given decimal separator.
|
Node |
Node.prevSibling()
Find the sibling that is adjacent before us
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
Collector.getNodes() |
Modifier and Type | Method and Description |
---|---|
boolean |
DivideByZeroValidator.accept(Node n) |
boolean |
ValueCollector.accept(Node n) |
boolean |
CaseWhenCollector.accept(Node n) |
boolean |
SafeDivideValidator.accept(Node n) |
boolean |
WhitelistValidator.accept(Node n) |
boolean |
BooleanCaseWhenCollector.accept(Node n) |
boolean |
HasAttributeValidator.accept(Node n) |
boolean |
TypeCollector.accept(Node n) |
abstract boolean |
Collector.accept(Node n)
Return true if this node can be accepted by the Collector
|
void |
Node.addChild(Node node)
Adds a child to node...
|
void |
ExprParser.addChild(Node parent,
Node child) |
Node |
JoiningParserHelper.evaluateNode(Node parent,
Node current) |
Node |
ExprParser.ParserHelper.evaluateNode(Node parent,
Node current)
Parser Helper allows a subclass to extend the parser to create new
node types, or change the parse tree during parsing.
|
Node |
MultiParserHelper.evaluateNode(Node parent,
Node current) |
java.lang.String |
SafeDivideValidator.getDenominator(Node divOperand)
returns the attribute that is in the denominator
|
Node |
SafeDivideValidator.getDenominatorNode(Node divOperand)
Get the attribute/function/keyword node that is being used in the
denominoator portion of the divide expression.
|
void |
Node.removeChild(Node node)
Removes a child from our children, if it exists.
|
java.lang.String |
MaximoMacroTransformer.transform(Node n) |
java.lang.String |
MultiToStringTransformer.transform(Node n) |
java.lang.String |
ToStringVisitor.Transformer.transform(Node n)
If this returns a NON NULL value, then this value will replace the
Node's .value value, when writing it into the String.
|
java.lang.String |
ColumnNameTransformer.transform(Node n) |
Node.Visitor.Status |
ToStringVisitor.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
Node.Visitor.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
Collector.visit(Node n,
Node.Visitor.State state) |
Node.Visitor.Status |
Node.visitChildren(Node.Visitor vis,
Node parent)
Applies the visitor to the children of the given Parent, but NOT the
parent itself.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.addChildren(java.util.List<Node> children2)
Adds all the children to this node
|
Constructor and Description |
---|
JoiningParserHelper(Node... pattern) |
Node(Node parent,
int type,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
static Node |
ReportUtil.parseExpression(java.lang.String expression,
com.ibm.icu.util.ULocale icuLocale)
Returns a parse tree of the provided expression that uses the decimal separator for the given locale.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ReportUtil.hasAttribute(Node expression,
java.lang.String objectName,
java.util.Set<java.lang.String> validAttributes) |
static void |
ReportUtil.validateExpression(Node parsedExpr,
java.lang.String objectName,
java.util.Set<java.lang.String> validAttributes,
java.lang.String category)
Validates the expression represented by the passed parse tree against the set of valid
attributes and the contents of the report expression library.
|