mondrian.gui
Class MondrianGuiDef.Column

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

public static class MondrianGuiDef.Column
extends MondrianGuiDef.Expression

See Also:
Serialized Form
 

Field Summary
 String name
           
 String table
           
 
Constructor Summary
MondrianGuiDef.Column()
           
MondrianGuiDef.Column(DOMWrapper _def)
           
MondrianGuiDef.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

MondrianGuiDef.Column

public MondrianGuiDef.Column()

MondrianGuiDef.Column

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

MondrianGuiDef.Column

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

Method Detail

getName

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

display

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

displayXML

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

displayDiff

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

getExpression

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

getGenericExpression

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

getColumnName

public String getColumnName()

getTableAlias

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

hashCode

public int hashCode()
Overrides:
hashCode in class ElementDef

equals

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

SourceForge.net_Logo