|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MutableDimensionHierarchy
This defines the hierarchy of Dimensions on which aggregations should be performed
| Method Summary | |
|---|---|
void |
addDimensionAfter(Dimension refDimension,
Dimension newDimension)
Inserts new dimension after the reference dimension. |
void |
addExcludeMeasurement(Dimension dimension,
Measurement measurement)
Add a measurement to exclude from being computed for this dimension. |
void |
addMeasurement(MutableMeasurement measurement)
|
Dimension |
removeDimension(java.lang.String name)
Removes the dimension. |
void |
removeExcludeMeasurement(Dimension dimension,
Measurement measurement)
Remove a previously set exclude measurement. |
void |
removeMeasurement(Measurement measurement)
Remove a measurement from this hierarchy. |
void |
setComputeForLevel(Dimension dimension,
boolean toCompute)
Sets the computation status for a given dimension. |
void |
setEnabled(boolean isEnabled)
enable computation for this hierarchy |
void |
setRetentionPolicy(RetentionPolicy retentionPolicy)
Set a retention policy for this hierarchy. |
void |
setRootDimension(Dimension dimension)
Set root dimension for the hierarchy. |
| Methods inherited from interface com.tibco.rta.model.mutable.MutableMetadataElement |
|---|
setDescription, setDisplayName, setName, setProperty |
| Methods inherited from interface com.tibco.rta.model.DimensionHierarchy |
|---|
computeRoot, getComputeForLevel, getDepth, getDimension, getDimension, getDimensionAttribNames, getDimensions, getExcludedMeasurements, getExcludedMeasurements, getLevel, getMeasurement, getMeasurements, getMeasurementsForLevel, getOwnerCube, getRetentionPolicy, isEnabled, isExcluded |
| Methods inherited from interface com.tibco.rta.model.MetadataElement |
|---|
getDescription, getDisplayName, getName, getOwnerSchema, getProperty, getPropertyNames, serialize |
| Method Detail |
|---|
void addDimensionAfter(Dimension refDimension,
Dimension newDimension)
throws IllegalSchemaException
refDimension - the dimension to add new dimension after.
It can take a null value.
If null and no dimensions exist, it is same as setRootDimension(Dimension)
else throw IllegalArgumentExceptionnewDimension - the new dimension to add.
IllegalSchemaException - If the owner schema of this hierarchy and the child dimension are different
java.lang.IllegalArgumentException - If the new child and the reference dimension are equal.
java.lang.IllegalArgumentException - If refDimension is null and hierarchy is not empty
Dimension removeDimension(java.lang.String name)
throws IllegalSchemaException
dimElement - the dim element
IllegalSchemaExceptionvoid setRootDimension(Dimension dimension)
dimension - the root dimension.
void addMeasurement(MutableMeasurement measurement)
throws UndefinedSchemaElementException,
DuplicateSchemaElementException
measurement -
UndefinedSchemaElementException
DuplicateSchemaElementExceptionvoid removeMeasurement(Measurement measurement)
measurement - the measurement to remove.
void addExcludeMeasurement(Dimension dimension,
Measurement measurement)
dimension - the dimension for which to exclude computation of a measurement.measurement - the associated measurement to exclude.
void removeExcludeMeasurement(Dimension dimension,
Measurement measurement)
dimension - the dimension for which to remove the exclude computation of a measurement.measurement - the associated measurement to exclude.
void setComputeForLevel(Dimension dimension,
boolean toCompute)
dimension - the dimension for which to not compute measurements.toCompute - set to false if you do not wich to compute measurements for this dimension.void setRetentionPolicy(RetentionPolicy retentionPolicy)
retentionPolicy - the retention policy to set for this hierarchy.void setEnabled(boolean isEnabled)
isEnabled - is false if computation for this hierarchy is disabled
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||