Package com.denodo.common.custom.policy
Enum Class CustomRestrictionPolicyContext.ElementType
java.lang.Object
java.lang.Enum<CustomRestrictionPolicyContext.ElementType>
com.denodo.common.custom.policy.CustomRestrictionPolicyContext.ElementType
- All Implemented Interfaces:
Serializable,Comparable<CustomRestrictionPolicyContext.ElementType>,Constable
- Enclosing interface:
- CustomRestrictionPolicyContext
public static enum CustomRestrictionPolicyContext.ElementType
extends Enum<CustomRestrictionPolicyContext.ElementType>
Type of the element which is assigned the custom policy to
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheSTORED_PROCEDUREelement indicates that the element is a stored procedureTheVIEWelement indicates that the element is a view -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VIEW
TheVIEWelement indicates that the element is a view -
STORED_PROCEDURE
TheSTORED_PROCEDUREelement indicates that the element is a stored procedure
-
-
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
-