Package com.appliedolap.essbase.impl
Class EssCubeVariableImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssVariableImpl
com.appliedolap.essbase.impl.EssCubeVariableImpl
- All Implemented Interfaces:
EssCubeVariable,EssObject,EssVariable
A variable defined on one cube, which shadows an application or server variable of the same name
for anything running against that cube.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.appliedolap.essbase.EssObject
EssObject.TypeNested classes/interfaces inherited from interface com.appliedolap.essbase.EssVariable
EssVariable.Scope -
Field Summary
Fields inherited from class com.appliedolap.essbase.AbstractEssObject
api -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes this variable, at its own scope.protected com.appliedolap.essbase.client.model.Variableedit(com.appliedolap.essbase.client.model.Variable edited) Sends the edit to whichever endpoint owns this scope.The application owning the cube - not where this variable lives, but often what you want next.getCube()getScope()Where this variable is defined - which is also what it takes precedence over.Methods inherited from class com.appliedolap.essbase.impl.EssVariableImpl
getName, getType, getValue, setValue, toString, variableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.appliedolap.essbase.EssVariable
getName, getType, getValue, setValue
-
Method Details
-
getScope
Description copied from interface:EssVariableWhere this variable is defined - which is also what it takes precedence over.- Specified by:
getScopein interfaceEssVariable- Returns:
- the scope, never null
-
getCube
- Specified by:
getCubein interfaceEssCubeVariable- Returns:
- the cube this variable is defined on
-
getApplication
Description copied from interface:EssCubeVariableThe application owning the cube - not where this variable lives, but often what you want next.- Specified by:
getApplicationin interfaceEssCubeVariable- Returns:
- the owning application
-
edit
protected com.appliedolap.essbase.client.model.Variable edit(com.appliedolap.essbase.client.model.Variable edited) Description copied from class:EssVariableImplSends the edit to whichever endpoint owns this scope.- Specified by:
editin classEssVariableImpl- Parameters:
edited- the new state- Returns:
- what the server says it now holds
-
delete
public void delete()Description copied from interface:EssVariableDeletes this variable, at its own scope.Only the definition at this variable's own level: deleting a cube variable that shadows an application one uncovers the application one rather than removing both.
- Specified by:
deletein interfaceEssVariable
-