mondrian.gui
Class MondrianGuiDef.View

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

public static class MondrianGuiDef.View
extends MondrianGuiDef.Relation

A collection of SQL statements, one per dialect.

See Also:
Serialized Form
 

Field Summary
 String alias
           
 MondrianGuiDef.SQL[] selects
           
 
Constructor Summary
MondrianGuiDef.View()
           
MondrianGuiDef.View(DOMWrapper _def)
           
MondrianGuiDef.View(MondrianGuiDef.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)
           
 MondrianGuiDef.View find(String seekAlias)
           
 String getAlias()
           
 SqlQuery.CodeSet getCodeSet()
           
 String getName()
           
 String toString()
           
 
Methods inherited from class mondrian.gui.MondrianGuiDef.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 MondrianGuiDef.SQL[] selects
Constructor Detail

MondrianGuiDef.View

public MondrianGuiDef.View()

MondrianGuiDef.View

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

MondrianGuiDef.View

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

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

toString

public String toString()
Overrides:
toString in class ElementDef

find

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

getAlias

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

getCodeSet

public SqlQuery.CodeSet getCodeSet()

addCode

public void addCode(String dialect,
                    String code)

SourceForge.net_Logo