Enum Class AttributeSensitivityMode

Object
Enum<AttributeSensitivityMode>
AttributeSensitivityMode
All Implemented Interfaces:
Serializable, Comparable<AttributeSensitivityMode>, Constable

public enum AttributeSensitivityMode extends Enum<AttributeSensitivityMode>
Attribute sensitivity mode defines the default sensitivity of attributes. See AttributeSensitivitySettings for details.
  • Enum Constant Details

    • STANDARD

      public static final AttributeSensitivityMode STANDARD
      Standard sensitivity mode allows unfiltered access to numeric and date values for aggregation.
    • STRICT

      public static final AttributeSensitivityMode STRICT
      Strict sensitivity mode does not allow unfiltered access to any attribute.
    • PERMISSIVE

      public static final AttributeSensitivityMode PERMISSIVE
      Permissive sensitivity mode allows unfiltered access to any attribute for aggregation.
  • Method Details

    • values

      public static AttributeSensitivityMode[] 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 AttributeSensitivityMode 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
    • getCode

      public int getCode()
      Returns the code for the mode. This code should be used when serializing the setting.
      Returns:
      code
    • valueOf

      public static AttributeSensitivityMode valueOf(int value)
      Returns the mode associated with the given code
      Parameters:
      value - mode code
      Returns:
      mode
      Throws:
      IllegalArgumentException - if there's no mode with the given code