mondrian.olap
Class MondrianDef.Level

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

public static class MondrianDef.Level
extends ElementDef

See Also:
Serialized Form
 

Field Summary
static String[] _hideMemberIf_values
          Allowable values for hideMemberIf.
static String[] _levelType_values
          Allowable values for levelType.
static String[] _type_values
          Allowable values for type.
 String approxRowCount
           
 String caption
           
 String captionColumn
           
 MondrianDef.Closure closure
           
 String column
           
 String formatter
           
 String hideMemberIf
           
 MondrianDef.KeyExpression keyExp
          The SQL expression used to populate this level's key.
 String levelType
           
 String name
           
 String nameColumn
           
 MondrianDef.NameExpression nameExp
          The SQL expression used to populate this level's name.
 String nullParentValue
           
 String ordinalColumn
           
 MondrianDef.OrdinalExpression ordinalExp
          The SQL expression used to populate this level's ordinal.
 String parentColumn
           
 MondrianDef.ParentExpression parentExp
          The SQL expression used to join to the parent member in a parent-child hierarchy.
 MondrianDef.Property[] properties
           
 String table
           
 String type
           
 Boolean uniqueMembers
           
 
Constructor Summary
MondrianDef.Level()
           
MondrianDef.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)
           
 MondrianDef.Expression getCaptionExp()
           
 SqlQuery.Datatype getDatatype()
           
 MondrianDef.Expression getKeyExp()
           
 String getName()
           
 MondrianDef.Expression getNameExp()
           
 MondrianDef.Expression getOrdinalExp()
           
 MondrianDef.Expression getParentExp()
           
 MondrianDef.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, 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

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

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

captionColumn

public String captionColumn

keyExp

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


nameExp

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


ordinalExp

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


parentExp

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


closure

public MondrianDef.Closure closure

properties

public MondrianDef.Property[] properties
Constructor Detail

MondrianDef.Level

public MondrianDef.Level()

MondrianDef.Level

public MondrianDef.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 MondrianDef.Expression getKeyExp()

getNameExp

public MondrianDef.Expression getNameExp()

getCaptionExp

public MondrianDef.Expression getCaptionExp()

getOrdinalExp

public MondrianDef.Expression getOrdinalExp()

getParentExp

public MondrianDef.Expression getParentExp()

getPropertyExp

public MondrianDef.Expression getPropertyExp(int i)

getDatatype

public SqlQuery.Datatype getDatatype()

SourceForge.net_Logo