com.crystaldecisions.sdk.occa.report.data
Class ConnectionInfoKind

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.data.ConnectionInfoKind

public final class ConnectionInfoKind
extends java.lang.Object

This class contains constants that specify what type of database connection has been made. The kind can be used to determine whether or not a database supports linking. The following database files do not allow linking:


Field Summary
static int _CRQE
           A connection using the Crystal Reports Query Engine (CRW 9 types of connections).
static int _DBFile
           A connection to a database files (mdb or dbf).
static int _metaData
           A connection to a dc5, dct, or civ database.
static int _OLAP
           An OLAP database connection.
static int _query
           A database query file.
static int _SQL
           Connection to an SQL database (CRW 8 types of connections).
static int _unknown
           Unknown database connection.
static ConnectionInfoKind CRQE
           A ConnectionInfoKind object that specifies a connection using the Crystal Reports Query Engine (CRW 9 types of connections).
static ConnectionInfoKind DBFile
           A ConnectionInfoKind object that specifies a connection to a database files (mdb or dbf).
static ConnectionInfoKind metaData
           A ConnectionInfoKind object that specifies a connection to a dc5, dct, or civ database.
static ConnectionInfoKind OLAP
           An OLAP connection.
static ConnectionInfoKind query
           A ConnectionInfoKind object that specifies a database query file.
static ConnectionInfoKind SQL
           A ConnectionInfoKind object that specifies a connection to an SQL database (CRW 8 types of connections).
static ConnectionInfoKind unknown
           A ConnectionInfoKind object that specifies an unknown database connection.
 
Method Summary
static ConnectionInfoKind from_int(int i)
           Returns the ConnectionInfoKind corresponding to the specified value.
static ConnectionInfoKind from_string(java.lang.String sVal)
           Returns the ConnectionInfoKind corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this ConnectionInfoKind object.
 int value()
           Returns the int value of this ConnectionInfoKind object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_unknown

public static final int _unknown

Unknown database connection.

See Also:
Constant Field Values

_SQL

public static final int _SQL

Connection to an SQL database (CRW 8 types of connections).

See Also:
Constant Field Values

_query

public static final int _query

A database query file. Query files are created using the Crystal SQL Designer

See Also:
Constant Field Values

_metaData

public static final int _metaData

A connection to a dc5, dct, or civ database.

See Also:
Constant Field Values

_DBFile

public static final int _DBFile

A connection to a database files (mdb or dbf).

See Also:
Constant Field Values

_CRQE

public static final int _CRQE

A connection using the Crystal Reports Query Engine (CRW 9 types of connections).

See Also:
Constant Field Values

_OLAP

public static final int _OLAP

An OLAP database connection.

See Also:
Constant Field Values

unknown

public static final ConnectionInfoKind unknown

A ConnectionInfoKind object that specifies an unknown database connection.


SQL

public static final ConnectionInfoKind SQL

A ConnectionInfoKind object that specifies a connection to an SQL database (CRW 8 types of connections).


query

public static final ConnectionInfoKind query

A ConnectionInfoKind object that specifies a database query file.


metaData

public static final ConnectionInfoKind metaData

A ConnectionInfoKind object that specifies a connection to a dc5, dct, or civ database.


DBFile

public static final ConnectionInfoKind DBFile

A ConnectionInfoKind object that specifies a connection to a database files (mdb or dbf).


CRQE

public static final ConnectionInfoKind CRQE

A ConnectionInfoKind object that specifies a connection using the Crystal Reports Query Engine (CRW 9 types of connections).


OLAP

public static final ConnectionInfoKind OLAP

An OLAP connection.

Method Detail

from_int

public static final ConnectionInfoKind from_int(int i)

Returns the ConnectionInfoKind corresponding to the specified value.

Parameters:
i - The int value of the desired ConnectionInfoKind object.
Returns:
The ConnectionInfoKind corresponding to the specified value.

from_string

public static final ConnectionInfoKind from_string(java.lang.String sVal)

Returns the ConnectionInfoKind corresponding to the specified type.

Parameters:
sVal - The String value of the desired ConnectionInfoKind object.
Returns:
The ConnectionInfoKind corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this ConnectionInfoKind object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this ConnectionInfoKind object.

value

public int value()

Returns the int value of this ConnectionInfoKind object.

Returns:
The int value of this ConnectionInfoKind object.