Package org.teiid.metadata
Enum Database.ResourceType
- java.lang.Object
-
- java.lang.Enum<Database.ResourceType>
-
- org.teiid.metadata.Database.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<Database.ResourceType>
- Enclosing class:
- Database
public static enum Database.ResourceType extends Enum<Database.ResourceType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Database.ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Database.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 Database.ResourceType DATABASE
-
SCHEMA
public static final Database.ResourceType SCHEMA
-
TABLE
public static final Database.ResourceType TABLE
-
PROCEDURE
public static final Database.ResourceType PROCEDURE
-
FUNCTION
public static final Database.ResourceType FUNCTION
-
COLUMN
public static final Database.ResourceType COLUMN
-
SERVER
public static final Database.ResourceType SERVER
-
DATAWRAPPER
public static final Database.ResourceType DATAWRAPPER
-
PARAMETER
public static final Database.ResourceType PARAMETER
-
ROLE
public static final Database.ResourceType ROLE
-
GRANT
public static final Database.ResourceType GRANT
-
LANGUAGE
public static final Database.ResourceType LANGUAGE
-
POLICY
public static final Database.ResourceType POLICY
-
-
Method Detail
-
values
public static Database.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 (Database.ResourceType c : Database.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 Database.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
-
-