Package mondrian.gui
Class MondrianGuiDef.ExpressionView
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.gui.MondrianGuiDef.ExpressionView
-
- All Implemented Interfaces:
Serializable,Cloneable,MondrianGuiDef.Expression,NodeDef
- Direct Known Subclasses:
MondrianGuiDef.CaptionExpression,MondrianGuiDef.KeyExpression,MondrianGuiDef.MeasureExpression,MondrianGuiDef.NameExpression,MondrianGuiDef.OrdinalExpression,MondrianGuiDef.ParentExpression
- Enclosing class:
- MondrianGuiDef
public abstract static class MondrianGuiDef.ExpressionView extends ElementDef implements MondrianGuiDef.Expression
A collection of SQL expressions, one per dialect.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianGuiDef.SQL[]expressions
-
Constructor Summary
Constructors Constructor Description ExpressionView()ExpressionView(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisplay(PrintWriter _out, int _indent)booleandisplayDiff(ElementDef _other, PrintWriter _out, int _indent)voiddisplayXML(XMLOutput _out, int _indent)booleanequals(Object obj)StringgetExpression(SqlQuery query)StringgetGenericExpression()StringgetName()StringgetTableAlias()inthashCode()StringtoString()-
Methods inherited from class org.eigenbase.xom.ElementDef
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eigenbase.xom.NodeDef
getChildren, getLocation, getText, getType, getWrapper
-
-
-
-
Field Detail
-
expressions
public MondrianGuiDef.SQL[] expressions
-
-
Constructor Detail
-
ExpressionView
public ExpressionView()
-
ExpressionView
public ExpressionView(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNodeDef- Overrides:
getNamein classElementDef
-
display
public void display(PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiffin classElementDef
-
toString
public String toString()
- Overrides:
toStringin classElementDef
-
getExpression
public String getExpression(SqlQuery query)
- Specified by:
getExpressionin interfaceMondrianGuiDef.Expression
-
getGenericExpression
public String getGenericExpression()
- Specified by:
getGenericExpressionin interfaceMondrianGuiDef.Expression
-
getTableAlias
public String getTableAlias()
- Specified by:
getTableAliasin interfaceMondrianGuiDef.Expression
-
hashCode
public int hashCode()
- Overrides:
hashCodein classElementDef
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classElementDef
-
-