Package org.teiid.adminapi
Enum DataPolicy.ResourceType
- java.lang.Object
-
- java.lang.Enum<DataPolicy.ResourceType>
-
- org.teiid.adminapi.DataPolicy.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataPolicy.ResourceType>
- Enclosing interface:
- DataPolicy
public static enum DataPolicy.ResourceType extends Enum<DataPolicy.ResourceType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataPolicy.ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataPolicy.ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATABASE
public static final DataPolicy.ResourceType DATABASE
-
SCHEMA
public static final DataPolicy.ResourceType SCHEMA
-
PROCEDURE
public static final DataPolicy.ResourceType PROCEDURE
-
TABLE
public static final DataPolicy.ResourceType TABLE
-
FUNCTION
public static final DataPolicy.ResourceType FUNCTION
-
COLUMN
public static final DataPolicy.ResourceType COLUMN
-
LANGUAGE
public static final DataPolicy.ResourceType LANGUAGE
-
-
Method Detail
-
values
public static DataPolicy.ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DataPolicy.ResourceType c : DataPolicy.ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataPolicy.ResourceType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-