Package mondrian.rolap.aggmatcher
Class DefaultDef.AggRule
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.rolap.aggmatcher.DefaultDef.Base
-
- mondrian.rolap.aggmatcher.DefaultDef.AggRule
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- DefaultDef
public static class DefaultDef.AggRule extends DefaultDef.Base
A RolapConnection uses one AggRule. If no name is specified, then the AggRule which is marked as default==true is used (validation fails if one and only one AggRule is not marked as the default). An AggRule has manditory child elements for matching the aggregate table names, aggregate table fact count column, foreign key columns, the measure columns, and the hierarchy level columns. These child elements can be specified as direct children of an AggRule element or by reference to elements defined as a pier to the AggRule (using references allows reuse of the child elements and with one quick edit the reference to use can be changed by changing the refid attribute value).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
enabled
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter _out, int _indent)
boolean
displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
void
displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
String
getCountColumn()
DefaultDef.FactCountMatch
getFactCountMatch()
DefaultDef.ForeignKeyMatch
getForeignKeyMatch()
DefaultDef.IgnoreMap
getIgnoreMap()
DefaultDef.LevelMap
getLevelMap()
DefaultDef.MeasureMap
getMeasureMap()
String
getName()
DefaultDef.TableMatch
getTableMatch()
String
getTag()
void
validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
-
Methods inherited from class mondrian.rolap.aggmatcher.DefaultDef.Base
isEnabled
-
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, getMixedChildren_new, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
-
-
-
-
Field Detail
-
tag
public String tag
-
countColumn
public String countColumn
-
ignoreMap
public DefaultDef.IgnoreMap ignoreMap
-
ignoreMapRef
public DefaultDef.IgnoreMapRef ignoreMapRef
-
factCountMatch
public DefaultDef.FactCountMatch factCountMatch
-
factCountMatchRef
public DefaultDef.FactCountMatchRef factCountMatchRef
-
foreignKeyMatch
public DefaultDef.ForeignKeyMatch foreignKeyMatch
-
foreignKeyMatchRef
public DefaultDef.ForeignKeyMatchRef foreignKeyMatchRef
-
tableMatch
public DefaultDef.TableMatch tableMatch
-
tableMatchRef
public DefaultDef.TableMatchRef tableMatchRef
-
levelMap
public DefaultDef.LevelMap levelMap
-
levelMapRef
public DefaultDef.LevelMapRef levelMapRef
-
measureMap
public DefaultDef.MeasureMap measureMap
-
measureMapRef
public DefaultDef.MeasureMapRef measureMapRef
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classDefaultDef.Base
-
display
public void display(PrintWriter _out, int _indent)
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classDefaultDef.Base
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classDefaultDef.Base
-
displayDiff
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classDefaultDef.Base
-
validate
public void validate(DefaultDef.AggRules rules, MessageRecorder msgRecorder)
- Specified by:
validate
in classDefaultDef.Base
-
getTag
public String getTag()
- Specified by:
getTag
in classDefaultDef.Base
-
getCountColumn
public String getCountColumn()
-
getFactCountMatch
public DefaultDef.FactCountMatch getFactCountMatch()
-
getForeignKeyMatch
public DefaultDef.ForeignKeyMatch getForeignKeyMatch()
-
getTableMatch
public DefaultDef.TableMatch getTableMatch()
-
getLevelMap
public DefaultDef.LevelMap getLevelMap()
-
getMeasureMap
public DefaultDef.MeasureMap getMeasureMap()
-
getIgnoreMap
public DefaultDef.IgnoreMap getIgnoreMap()
-
-