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