mondrian.olap
Class MondrianDef.View

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.View
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
MondrianDef

public static class MondrianDef.View
extends MondrianDef.Relation

A collection of SQL statements, one per dialect.

See Also:
Serialized Form
 

Field Summary
 String alias
           
 MondrianDef.SQL[] selects
           
 
Constructor Summary
MondrianDef.View()
           
MondrianDef.View(DOMWrapper _def)
           
MondrianDef.View(MondrianDef.View view)
          Copy constructor.
 
Method Summary
 void addCode(String dialect, String code)
           
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 MondrianDef.View find(String seekAlias)
           
 String getAlias()
           
 SqlQuery.CodeSet getCodeSet()
           
 String getName()
           
 String toString()
           
 
Methods inherited from class mondrian.olap.MondrianDef.RelationOrJoin
equals, 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, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

alias

public String alias

selects

public MondrianDef.SQL[] selects
Constructor Detail

MondrianDef.View

public MondrianDef.View()

MondrianDef.View

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

MondrianDef.View

public MondrianDef.View(MondrianDef.View view)
Copy constructor.

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

toString

public String toString()
Overrides:
toString in class ElementDef

find

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

getAlias

public String getAlias()
Specified by:
getAlias in class MondrianDef.Relation

getCodeSet

public SqlQuery.CodeSet getCodeSet()

addCode

public void addCode(String dialect,
                    String code)

SourceForge.net_Logo