class ExplicitRules.TableDef.Level extends Object
Constructor and Description |
---|
ExplicitRules.TableDef.Level(String name,
String columnName,
boolean collapsed,
String ordinalColumn,
String captionColumn,
MondrianDef.AggLevelProperty[] properties) |
Modifier and Type | Method and Description |
---|---|
String |
getCaptionColumn() |
String |
getColumnName()
Get the foreign key column name of the aggregate table.
|
String |
getName()
Get the symbolic name, the level name.
|
String |
getOrdinalColumn() |
Map<String,String> |
getProperties() |
MondrianDef.Expression |
getRolapFieldName() |
RolapLevel |
getRolapLevel()
Get the RolapLevel associated with level name.
|
boolean |
isCollapsed()
Returns whether this level is collapsed (includes
parent levels in the agg table).
|
void |
print(PrintWriter pw,
String prefix) |
String |
toString() |
void |
validate(MessageRecorder msgRecorder)
Validates a level's name.
|
ExplicitRules.TableDef.Level(String name, String columnName, boolean collapsed, String ordinalColumn, String captionColumn, MondrianDef.AggLevelProperty[] properties)
public String getName()
public String getColumnName()
public boolean isCollapsed()
public RolapLevel getRolapLevel()
public MondrianDef.Expression getRolapFieldName()
public void validate(MessageRecorder msgRecorder)
The level name must be of the form [hierarchy usage
name].[level name]
.
This method checks that is of length 2, starts with a hierarchy and the "level name" exists.
public void print(PrintWriter pw, String prefix)
public String getOrdinalColumn()
public String getCaptionColumn()