mondrian.olap
Class MondrianDef.ExpressionView

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.olap.MondrianDef.Expression
          extended by mondrian.olap.MondrianDef.ExpressionView
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Direct Known Subclasses:
MondrianDef.CaptionExpression, MondrianDef.KeyExpression, MondrianDef.MeasureExpression, MondrianDef.NameExpression, MondrianDef.OrdinalExpression, MondrianDef.ParentExpression
Enclosing class:
MondrianDef

public abstract static class MondrianDef.ExpressionView
extends MondrianDef.Expression

A collection of SQL expressions, one per dialect.

See Also:
Serialized Form
 

Field Summary
 MondrianDef.SQL[] expressions
           
 
Constructor Summary
MondrianDef.ExpressionView()
           
MondrianDef.ExpressionView(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 boolean equals(Object obj)
           
 String getExpression(SqlQuery query)
           
 String getGenericExpression()
           
 String getName()
           
 String getTableAlias()
           
 int hashCode()
           
 String toString()
           
 
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, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

expressions

public MondrianDef.SQL[] expressions
Constructor Detail

MondrianDef.ExpressionView

public MondrianDef.ExpressionView()

MondrianDef.ExpressionView

public MondrianDef.ExpressionView(DOMWrapper _def)
                           throws XOMException
Throws:
XOMException
Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class MondrianDef.Expression

display

public void display(PrintWriter _out,
                    int _indent)
Specified by:
display in interface NodeDef
Overrides:
display in class MondrianDef.Expression

displayXML

public void displayXML(XMLOutput _out,
                       int _indent)
Specified by:
displayXML in interface NodeDef
Overrides:
displayXML in class MondrianDef.Expression

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class MondrianDef.Expression

toString

public String toString()
Overrides:
toString in class ElementDef

getExpression

public String getExpression(SqlQuery query)
Specified by:
getExpression in class MondrianDef.Expression

getGenericExpression

public String getGenericExpression()
Specified by:
getGenericExpression in class MondrianDef.Expression

getTableAlias

public String getTableAlias()
Specified by:
getTableAlias in class MondrianDef.Expression

hashCode

public int hashCode()
Overrides:
hashCode in class ElementDef

equals

public boolean equals(Object obj)
Overrides:
equals in class ElementDef

SourceForge.net_Logo