Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

uesqlc::TState Class Reference

Class for holding the SQLSTATE related variables and values. More...

List of all members.

Static Public Methods

boolean _queryIsEmpty ()
boolean _queryHasSingleRow ()
int _getUniqueValue ()
int _getUniqueValue (final String kySQLSTATE)
final String _getClassValue ()
final String _getClassValue (final String kySQLSTATE)
String _getDescription ()
String _getDescription (final String kySQLSTATE)
final String _getSubclassValue ()
final String _getSubclassValue (final String kySQLSTATE)

Static Public Attributes

int SQLCODE = 0
String SQLMESSAGE = ""
String SQLSTATE = "00000"
 SQL state parameter (values in clause 22, "Status codes").


Detailed Description

Class for holding the SQLSTATE related variables and values.

Definition at line 34 of file TState.java.


Member Function Documentation

final String uesqlc::TState::_getClassValue final String    kySQLSTATE [inline, static]
 

Gets SQLSTATE class for ySQLSTATE.

Returns:
Class description.

Definition at line 518 of file TState.java.

References uesqlc::TState::_getUniqueValue().

final String uesqlc::TState::_getClassValue   [inline, static]
 

Gets current SQLSTATE class.

Returns:
Current SQLSTATE class description.

Definition at line 509 of file TState.java.

References uesqlc::TState::SQLSTATE.

Referenced by uesqlc::TState::_getDescription().

String uesqlc::TState::_getDescription final String    kySQLSTATE [inline, static]
 

Gets the complete description for the SQLSTATE as in the source parameter kySQLSTATE.

Returns:
Complete description of the SQLSTATE in kySQLSTATE.

Definition at line 746 of file TState.java.

References uesqlc::TState::_getClassValue(), uesqlc::TState::_getSubclassValue(), and uesqlc::TState::SQLMESSAGE.

String uesqlc::TState::_getDescription   [inline, static]
 

Gets the complete description for the current SQLSTATE.

Returns:
Complete description of the current SQLSTATE.

Definition at line 736 of file TState.java.

References uesqlc::TState::SQLSTATE.

final String uesqlc::TState::_getSubclassValue final String    kySQLSTATE [inline, static]
 

Gets SQLSTATE subclass for kySQLSTATE.

Returns:
Subclass description.

Definition at line 776 of file TState.java.

References uesqlc::TState::_getUniqueValue().

final String uesqlc::TState::_getSubclassValue   [inline, static]
 

Gets SQLSTATE subclass.

Returns:
Subclass description.

Definition at line 767 of file TState.java.

References uesqlc::TState::SQLSTATE.

Referenced by uesqlc::TState::_getDescription().

int uesqlc::TState::_getUniqueValue final String    kySQLSTATE [inline, static]
 

Finds the integer value for the SQLSTATE in kySQLSTATE.

Parameters:
kySQLSTATE  SQLSTATE value.
Returns:
The integer value for the SQLSTATE in kySQLSTATE.

Definition at line 500 of file TState.java.

int uesqlc::TState::_getUniqueValue   [inline, static]
 

Finds the integer value for the current SQLSTATE.

Returns:
The integer value for the current SQLSTATE.

Definition at line 490 of file TState.java.

References uesqlc::TState::SQLSTATE.

Referenced by uesqlc::TState::_getClassValue(), uesqlc::TState::_getSubclassValue(), uesqlc::TState::_queryHasSingleRow(), and uesqlc::TState::_queryIsEmpty().

boolean uesqlc::TState::_queryHasSingleRow   [inline, static]
 

Returns true if the query has only a single row.

Returns:
True if query has a single row.

Definition at line 477 of file TState.java.

References uesqlc::TState::_getUniqueValue().

boolean uesqlc::TState::_queryIsEmpty   [inline, static]
 

Returns true if the query is empty.

Returns:
True if query is empty.

Definition at line 468 of file TState.java.

References uesqlc::TState::_getUniqueValue().


Member Data Documentation

int uesqlc::TState::SQLCODE = 0 [static]
 

SQL state parameter (values are implementation defined and using it is deprecated).

Definition at line 41 of file TState.java.

String uesqlc::TState::SQLMESSAGE = "" [static]
 

SQL extended description (target dependent). This an extended message for including target dependent description of errors.

Definition at line 47 of file TState.java.

Referenced by uesqlc::TState::_getDescription().


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:40:11 2003 for UESQLC by doxygen1.2.18