Package com.denodo.common.custom.policy
Enum Class CustomMaskingExpression.Type
java.lang.Object
java.lang.Enum<CustomMaskingExpression.Type>
com.denodo.common.custom.policy.CustomMaskingExpression.Type
- All Implemented Interfaces:
Serializable,Comparable<CustomMaskingExpression.Type>,Constable
- Enclosing class:
- CustomMaskingExpression
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMask with a custom expression.Mask the field with a default masking expression indicated on the restriction.Shows only first for characters.Hides the value with null.Shows only latest four characters.Shows only the year (other values are reset).Redacts the value with a different expression per type (predefined by Denodo).Redacts with asterisks.Reset the day.Reset the time.Round the value.Set to 0 the value.Set to -1 the value. -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomMaskingExpression.TypeReturns the enum constant of this class with the specified name.static CustomMaskingExpression.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUSTOM
Mask with a custom expression. -
DEFAULT
Mask the field with a default masking expression indicated on the restriction. -
FIRST_4
Shows only first for characters. -
HIDE
Hides the value with null. -
LATEST_4
Shows only latest four characters. -
ONLY_YEAR
Shows only the year (other values are reset). -
REDACT
Redacts the value with a different expression per type (predefined by Denodo). -
REDACT_ASTERISK
Redacts with asterisks. -
REMOVE_TIME
Reset the time. -
REMOVE_DAY
Reset the day. -
ROUND
Round the value. -
SET_0
Set to 0 the value. -
SET_MINUS_1
Set to -1 the value.
-
-
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
-