Package com.appliedolap.essbase.impl
Class EssApplicationVariableImpl
java.lang.Object
com.appliedolap.essbase.AbstractEssObject
com.appliedolap.essbase.impl.EssVariableImpl
com.appliedolap.essbase.impl.EssApplicationVariableImpl
- All Implemented Interfaces:
EssApplicationVariable,EssObject,EssVariable
A variable defined on an application.
Its cubes can see it when they run, but it will not appear in any cube's own variable list -
that endpoint reports only what the cube itself defines. EssCube.getEffectiveVariables()
is what puts the two together.
-
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.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
-
getApplication
- Specified by:
getApplicationin interfaceEssApplicationVariable- Returns:
- the application this variable is defined on
-
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
-