Enum Class AttributeSensitivityMode
- All Implemented Interfaces:
Serializable,Comparable<AttributeSensitivityMode>,Constable
Attribute sensitivity mode defines the default sensitivity of attributes. See
AttributeSensitivitySettings for details.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPermissive sensitivity mode allows unfiltered access to any attribute for aggregation.Standard sensitivity mode allows unfiltered access to numeric and date values for aggregation.Strict sensitivity mode does not allow unfiltered access to any attribute. -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Returns the code for the mode.static AttributeSensitivityModevalueOf(int value) Returns the mode associated with the given codestatic AttributeSensitivityModeReturns the enum constant of this class with the specified name.static AttributeSensitivityMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STANDARD
Standard sensitivity mode allows unfiltered access to numeric and date values for aggregation. -
STRICT
Strict sensitivity mode does not allow unfiltered access to any attribute. -
PERMISSIVE
Permissive sensitivity mode allows unfiltered access to any attribute for aggregation.
-
-
Method Details
-
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
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 nameNullPointerException- 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
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
-