mondrian.gui
Class MondrianGuiDef.Table

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

public static class MondrianGuiDef.Table
extends MondrianGuiDef.Relation

See Also:
Serialized Form
 

Field Summary
 MondrianGuiDef.AggExclude[] aggExcludes
           
 MondrianGuiDef.AggTable[] aggTables
           
 String alias
           
 MondrianGuiDef.SQL filter
          The SQL WHERE clause expression to be appended to any select statement
 String name
           
 String schema
           
 
Constructor Summary
MondrianGuiDef.Table()
           
MondrianGuiDef.Table(DOMWrapper _def)
           
MondrianGuiDef.Table(MondrianGuiDef.Table table)
          Convenience constructor.
MondrianGuiDef.Table(String schema, String name, String alias)
           
 
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 o)
           
 MondrianGuiDef.Table find(String seekAlias)
           
 MondrianGuiDef.AggExclude[] getAggExcludes()
           
 MondrianGuiDef.AggTable[] getAggTables()
           
 String getAlias()
          Returns the alias or, if it is null, the table name.
 String getFilter()
           
 String getName()
           
 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

name

public String name

schema

public String schema

alias

public String alias

filter

public MondrianGuiDef.SQL filter
The SQL WHERE clause expression to be appended to any select statement


aggExcludes

public MondrianGuiDef.AggExclude[] aggExcludes

aggTables

public MondrianGuiDef.AggTable[] aggTables
Constructor Detail

MondrianGuiDef.Table

public MondrianGuiDef.Table()

MondrianGuiDef.Table

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

MondrianGuiDef.Table

public MondrianGuiDef.Table(MondrianGuiDef.Table table)
Convenience constructor.


MondrianGuiDef.Table

public MondrianGuiDef.Table(String schema,
                            String name,
                            String alias)
Method Detail

getName

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

display

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

displayXML

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

displayDiff

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

getAlias

public String getAlias()
Returns the alias or, if it is null, the table name.

Specified by:
getAlias in class MondrianGuiDef.Relation

toString

public String toString()
Overrides:
toString in class ElementDef

find

public MondrianGuiDef.Table find(String seekAlias)
Specified by:
find in class MondrianGuiDef.RelationOrJoin

equals

public boolean equals(Object o)
Overrides:
equals in class MondrianGuiDef.RelationOrJoin

hashCode

public int hashCode()
Overrides:
hashCode in class MondrianGuiDef.RelationOrJoin

getFilter

public String getFilter()

getAggExcludes

public MondrianGuiDef.AggExclude[] getAggExcludes()

getAggTables

public MondrianGuiDef.AggTable[] getAggTables()

SourceForge.net_Logo