Enum Class EssVariable.Scope

java.lang.Object
java.lang.Enum<EssVariable.Scope>
com.appliedolap.essbase.EssVariable.Scope
All Implemented Interfaces:
Serializable, Comparable<EssVariable.Scope>, Constable
Enclosing interface:
EssVariable

public static enum EssVariable.Scope extends Enum<EssVariable.Scope>
Which level a variable is defined at, in cascade order - each shadows the ones before it.
  • Enum Constant Details

  • Method Details

    • values

      public static EssVariable.Scope[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EssVariable.Scope valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getLabel

      public String getLabel()
    • shadows

      public boolean shadows(EssVariable.Scope other)
      Whether a variable at this scope takes precedence over one at the given scope. Cube beats application beats server, which is the order the constants are declared in.
      Parameters:
      other - the scope to compare against
      Returns:
      true if this scope wins