Package mondrian.gui
Class MondrianGuiDef.View
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.gui.MondrianGuiDef.RelationOrJoin
-
- mondrian.gui.MondrianGuiDef.Relation
-
- 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
Fields Modifier and Type Field Description StringaliasMondrianGuiDef.SQL[]selects
-
Constructor Summary
Constructors Constructor Description View()View(MondrianGuiDef.View view)Copy constructor.View(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCode(String dialect, String code)voiddisplay(PrintWriter _out, int _indent)booleandisplayDiff(ElementDef _other, PrintWriter _out, int _indent)voiddisplayXML(XMLOutput _out, int _indent)booleanequals(Object o)MondrianGuiDef.Viewfind(String seekAlias)StringgetAlias()SqlQuery.CodeSetgetCodeSet()StringgetName()StringtoString()-
Methods inherited from class mondrian.gui.MondrianGuiDef.RelationOrJoin
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, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual
-
-
-
-
Field Detail
-
alias
public String alias
-
selects
public MondrianGuiDef.SQL[] selects
-
-
Constructor Detail
-
View
public View()
-
View
public View(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
View
public View(MondrianGuiDef.View view)
Copy constructor.
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceNodeDef- Overrides:
getNamein classMondrianGuiDef.Relation
-
display
public void display(PrintWriter _out, int _indent)
- Specified by:
displayin interfaceNodeDef- Overrides:
displayin classMondrianGuiDef.Relation
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXMLin interfaceNodeDef- Overrides:
displayXMLin classMondrianGuiDef.Relation
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiffin classMondrianGuiDef.Relation
-
toString
public String toString()
- Overrides:
toStringin classElementDef
-
find
public MondrianGuiDef.View find(String seekAlias)
- Specified by:
findin classMondrianGuiDef.RelationOrJoin
-
getAlias
public String getAlias()
- Specified by:
getAliasin classMondrianGuiDef.Relation
-
getCodeSet
public SqlQuery.CodeSet getCodeSet()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classMondrianGuiDef.RelationOrJoin
-
-