Package org.teiid.query.metadata
Enum DatabaseStore.Mode
- java.lang.Object
-
- java.lang.Enum<DatabaseStore.Mode>
-
- org.teiid.query.metadata.DatabaseStore.Mode
-
- All Implemented Interfaces:
Serializable
,Comparable<DatabaseStore.Mode>
- Enclosing class:
- DatabaseStore
public static enum DatabaseStore.Mode extends Enum<DatabaseStore.Mode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
DATABASE_STRUCTURE
DOMAIN
SCHEMA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatabaseStore.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DatabaseStore.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final DatabaseStore.Mode ANY
-
DOMAIN
public static final DatabaseStore.Mode DOMAIN
-
SCHEMA
public static final DatabaseStore.Mode SCHEMA
-
DATABASE_STRUCTURE
public static final DatabaseStore.Mode DATABASE_STRUCTURE
-
-
Method Detail
-
values
public static DatabaseStore.Mode[] 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 (DatabaseStore.Mode c : DatabaseStore.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DatabaseStore.Mode 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
-
-