class ExplicitRules.TableDef.Level extends Object
Constructor and Description |
---|
ExplicitRules.TableDef.Level(String name,
String columnName,
boolean collapsed) |
Modifier and Type | Method and Description |
---|---|
String |
getColumnName()
Get the foreign key column name of the aggregate table.
|
String |
getName()
Get the symbolic name, the level name.
|
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.
|
public String getName()
public String getColumnName()
public boolean isCollapsed()
public RolapLevel getRolapLevel()
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)