Project: stp

com.ibm.rational.wvcm.stp.cq
Enum CqUserDb.VendorType

Object
  extended by Enum<CqUserDb.VendorType>
      extended by CqUserDb.VendorType
All Implemented Interfaces:
com.ibm.rational.wvcm.stpex.StpExEnumeration, Serializable, Comparable<CqUserDb.VendorType>
Enclosing interface:
CqUserDb

public static enum CqUserDb.VendorType
extends Enum<CqUserDb.VendorType>
implements com.ibm.rational.wvcm.stpex.StpExEnumeration

An enumeration of the types of vendors of supported databases


Enum Constant Summary
DB2
          The VendorType for a DB2 database
MS_ACCESS
          The VendorType for an Microsoft Access database
ORACLE
          The VendorType for an Oracle database
SQL_ANYWHERE
          The VendorType for an SQL Anywhere database
SQL_SERVER
          The VendorType for an SQL Server database
 
Method Summary
static CqUserDb.VendorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CqUserDb.VendorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DB2

public static final CqUserDb.VendorType DB2
The VendorType for a DB2 database


MS_ACCESS

public static final CqUserDb.VendorType MS_ACCESS
The VendorType for an Microsoft Access database


ORACLE

public static final CqUserDb.VendorType ORACLE
The VendorType for an Oracle database


SQL_ANYWHERE

public static final CqUserDb.VendorType SQL_ANYWHERE
The VendorType for an SQL Anywhere database


SQL_SERVER

public static final CqUserDb.VendorType SQL_SERVER
The VendorType for an SQL Server database

Method Detail

valueOf

public static CqUserDb.VendorType 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 name
NullPointerException - if the argument is null

values

public static CqUserDb.VendorType[] 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 (CqUserDb.VendorType c : CqUserDb.VendorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

Generated Wed 11-Jun-2014 01:18 AM

Copyright © IBM 2014. All rights reserved.