mondrian.olap
Class MondrianDef.Column

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.olap.MondrianDef.Expression
          extended by mondrian.olap.MondrianDef.Column
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
MondrianDef

public static class MondrianDef.Column
extends MondrianDef.Expression

See Also:
Serialized Form
 

Field Summary
 String name
           
 String table
           
 
Constructor Summary
MondrianDef.Column()
           
MondrianDef.Column(DOMWrapper _def)
           
MondrianDef.Column(String table, String name)
          Convenience constructor.
 
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 getColumnName()
           
 String getExpression(SqlQuery query)
           
 String getGenericExpression()
           
 String getName()
           
 String getTableAlias()
           
 int hashCode()
           
 
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, toString, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

public String table

name

public String name
Constructor Detail

MondrianDef.Column

public MondrianDef.Column()

MondrianDef.Column

public MondrianDef.Column(DOMWrapper _def)
                   throws XOMException
Throws:
XOMException

MondrianDef.Column

public MondrianDef.Column(String table,
                          String name)
Convenience constructor.

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

getExpression

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

getGenericExpression

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

getColumnName

public String getColumnName()

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