public interface IDimension extends IModelObject
| Modifier and Type | Method and Description |
|---|---|
IHierarchy |
findHierarchy(java.lang.String hierName)
Find a hierarchy with the specified name in this dimension.
|
IDataStore |
getBoundDataStore()
Get the bound data store for this dimension.
|
ISequence |
getBoundSequence()
Get the bound sequence for this dimension.
|
IHierarchy |
getDefaultHierarchy()
Get the default hierarchy for this dimension.
|
java.lang.String |
getDescription()
Get the description for this dimension.
|
IDimensionalModel |
getDimensionalModel()
Get the dimensional model that contains this dimension.
|
java.util.List |
getHierarchies()
Get the list of hierarchies owned by this dimension.
|
java.util.List |
getLevels()
Get The list of levels owned by this dimension.
|
java.util.List |
getLevelsOrderedByPosition()
Get The list of levels, sorted by display order.
|
java.util.List |
getLevelsOrderedForLoading()
Get the levels sorted by hierarchical order, from top to bottom.
|
java.lang.String |
getName()
Get the name of this dimension.
|
java.util.List |
getOrderedHierarchies()
Get a copy of the hierarchies list, sorted by display order.
|
java.lang.String |
getPatternName()
Get the default pattern name defined on the dimension object.
|
boolean |
hasValidationError()
Get whether this dimension has validation error.
|
boolean |
hasValidationWarning()
Get whether this dimension has validation warning.
|
void |
moveHierarchyAfter(IHierarchy hier,
IHierarchy baseHier)
Move the specified hierarchy to put it after the specified base hierarchy.
|
void |
moveLevelAfter(ILevel level,
ILevel baseLevel)
Reorder the specified level to put it after the specified base level.
|
void |
removeHierarchy(IHierarchy hier)
Remove a hierarchy from this dimension.
|
void |
removeLevel(ILevel lev)
Remove the specified level from this dimension.
|
void |
setBoundDataStore(IDataStore ds)
Set the bound data store for this dimension.
|
void |
setBoundSequence(ISequence seq)
Set the bound sequence for this dimension.
|
void |
setDefaultHierarchy(IHierarchy h)
Set one particular hierarchy among the hierarchies of this dimension to be the default
hierarchy.
|
void |
setDescription(java.lang.String desc)
Set the description of this dimension.
|
void |
setName(java.lang.String dimName)
Set the name of this dimension.
|
getBigNumericId, getGlobalId, getNumericIdIDimensionalModel getDimensionalModel()
java.lang.String getName()
getName in interface IModelObjectvoid setName(java.lang.String dimName)
dimName - The name to set.void setDescription(java.lang.String desc)
desc - The description to set.java.lang.String getDescription()
java.util.List getLevels()
java.util.List getLevelsOrderedByPosition()
java.util.List getLevelsOrderedForLoading()
void removeLevel(ILevel lev)
lev - The level to be removed.void moveLevelAfter(ILevel level, ILevel baseLevel)
level - The level to reorder.baseLevel - The base level. If null, the reordered level will be put first.java.util.List getOrderedHierarchies()
java.util.List getHierarchies()
void moveHierarchyAfter(IHierarchy hier, IHierarchy baseHier)
hier - The hierarchy to reorder.baseHier - The base hierarchy. If null, the reordered hierarchy will be put first.void removeHierarchy(IHierarchy hier)
hier - The hierarchy to remove.IHierarchy findHierarchy(java.lang.String hierName)
hierName - The hierarchy name to search for.IDataStore getBoundDataStore()
void setBoundDataStore(IDataStore ds)
ds - The bound data store model.void setBoundSequence(ISequence seq)
seq - The bound sequence model.ISequence getBoundSequence()
void setDefaultHierarchy(IHierarchy h)
h - The hierarchy that will be set as the default hierarchy.IHierarchy getDefaultHierarchy()
boolean hasValidationError()
boolean hasValidationWarning()
java.lang.String getPatternName()