mondrian.gui
Class MondrianGuiDef.Level

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

public static class MondrianGuiDef.Level
extends ElementDef

See Also:
Serialized Form

Field Summary
static String[] _hideMemberIf_values
          Allowable values for hideMemberIf.
static String[] _internalType_values
          Allowable values for internalType.
static String[] _levelType_values
          Allowable values for levelType.
static String[] _type_values
          Allowable values for type.
 MondrianGuiDef.Annotations annotations
          Contains values of user-defined properties.
 String approxRowCount
           
 String caption
           
 String captionColumn
           
 MondrianGuiDef.CaptionExpression captionExp
          The SQL expression used to populate this level's caption.
 MondrianGuiDef.Closure closure
           
 String column
           
 String description
           
 String formatter
           
 String hideMemberIf
           
 String internalType
           
 MondrianGuiDef.KeyExpression keyExp
          The SQL expression used to populate this level's key.
 String levelType
           
 MondrianGuiDef.MemberFormatter memberFormatter
          Member formatter.
 String name
           
 String nameColumn
           
 MondrianGuiDef.NameExpression nameExp
          The SQL expression used to populate this level's name.
 String nullParentValue
           
 String ordinalColumn
           
 MondrianGuiDef.OrdinalExpression ordinalExp
          The SQL expression used to populate this level's ordinal.
 String parentColumn
           
 MondrianGuiDef.ParentExpression parentExp
          The SQL expression used to join to the parent member in a parent-child hierarchy.
 MondrianGuiDef.Property[] properties
           
 String table
           
 String type
           
 Boolean uniqueMembers
           
 Boolean visible
           
 
Constructor Summary
MondrianGuiDef.Level()
           
MondrianGuiDef.Level(DOMWrapper _def)
           
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 MondrianGuiDef.Expression getCaptionExp()
           
 Dialect.Datatype getDatatype()
           
 MondrianGuiDef.Expression getKeyExp()
           
 String getName()
           
 MondrianGuiDef.Expression getNameExp()
           
 MondrianGuiDef.Expression getOrdinalExp()
           
 MondrianGuiDef.Expression getParentExp()
           
 MondrianGuiDef.Expression getPropertyExp(int i)
           
 
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, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

approxRowCount

public String approxRowCount

name

public String name

visible

public Boolean visible

table

public String table

column

public String column

nameColumn

public String nameColumn

ordinalColumn

public String ordinalColumn

parentColumn

public String parentColumn

nullParentValue

public String nullParentValue

_type_values

public static final String[] _type_values
Allowable values for type.


type

public String type

_internalType_values

public static final String[] _internalType_values
Allowable values for internalType.


internalType

public String internalType

uniqueMembers

public Boolean uniqueMembers

_levelType_values

public static final String[] _levelType_values
Allowable values for levelType.


levelType

public String levelType

_hideMemberIf_values

public static final String[] _hideMemberIf_values
Allowable values for hideMemberIf.


hideMemberIf

public String hideMemberIf

formatter

public String formatter

caption

public String caption

description

public String description

captionColumn

public String captionColumn

annotations

public MondrianGuiDef.Annotations annotations
Contains values of user-defined properties.


keyExp

public MondrianGuiDef.KeyExpression keyExp
The SQL expression used to populate this level's key.


nameExp

public MondrianGuiDef.NameExpression nameExp
The SQL expression used to populate this level's name. If not specified, the level's key is used.


captionExp

public MondrianGuiDef.CaptionExpression captionExp
The SQL expression used to populate this level's caption. If not specified, the level's name is used.


ordinalExp

public MondrianGuiDef.OrdinalExpression ordinalExp
The SQL expression used to populate this level's ordinal.


parentExp

public MondrianGuiDef.ParentExpression parentExp
The SQL expression used to join to the parent member in a parent-child hierarchy.


memberFormatter

public MondrianGuiDef.MemberFormatter memberFormatter
Member formatter.


closure

public MondrianGuiDef.Closure closure

properties

public MondrianGuiDef.Property[] properties
Constructor Detail

MondrianGuiDef.Level

public MondrianGuiDef.Level()

MondrianGuiDef.Level

public MondrianGuiDef.Level(DOMWrapper _def)
                     throws XOMException
Throws:
XOMException
Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class ElementDef

display

public void display(PrintWriter _out,
                    int _indent)

displayXML

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

displayDiff

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

getKeyExp

public MondrianGuiDef.Expression getKeyExp()

getNameExp

public MondrianGuiDef.Expression getNameExp()

getCaptionExp

public MondrianGuiDef.Expression getCaptionExp()

getOrdinalExp

public MondrianGuiDef.Expression getOrdinalExp()

getParentExp

public MondrianGuiDef.Expression getParentExp()

getPropertyExp

public MondrianGuiDef.Expression getPropertyExp(int i)

getDatatype

public Dialect.Datatype getDatatype()

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads