mondrian.olap
Class MondrianDef.Table

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

public static class MondrianDef.Table
extends MondrianDef.Relation

See Also:
Serialized Form
 

Field Summary
 MondrianDef.AggExclude[] aggExcludes
           
 MondrianDef.AggTable[] aggTables
           
 String alias
           
 MondrianDef.SQL filter
          The SQL WHERE clause expression to be appended to any select statement
 String name
           
 String schema
           
 
Constructor Summary
MondrianDef.Table()
           
MondrianDef.Table(DOMWrapper _def)
           
MondrianDef.Table(MondrianDef.Table table)
          Convenience constructor.
MondrianDef.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)
           
 MondrianDef.Table find(String seekAlias)
           
 MondrianDef.AggExclude[] getAggExcludes()
           
 MondrianDef.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 MondrianDef.SQL filter
The SQL WHERE clause expression to be appended to any select statement


aggExcludes

public MondrianDef.AggExclude[] aggExcludes

aggTables

public MondrianDef.AggTable[] aggTables
Constructor Detail

MondrianDef.Table

public MondrianDef.Table()

MondrianDef.Table

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

MondrianDef.Table

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


MondrianDef.Table

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

getName

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

display

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

displayXML

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

displayDiff

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

getAlias

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

Specified by:
getAlias in class MondrianDef.Relation

toString

public String toString()
Overrides:
toString in class ElementDef

find

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

equals

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

hashCode

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

getFilter

public String getFilter()

getAggExcludes

public MondrianDef.AggExclude[] getAggExcludes()

getAggTables

public MondrianDef.AggTable[] getAggTables()

SourceForge.net_Logo