org.objectweb.jonas_ejb.lib.JavaTypesForSQL Class Reference

Collaboration diagram for org.objectweb.jonas_ejb.lib.JavaTypesForSQL:

Collaboration graph
[legend]
List of all members.

Static Package Functions

String getSQLGetMethod (Class c)
String getSQLSetMethod (Class c)
String getSQLType (Class c)

Detailed Description

This inner class allows to calculate, for a given Java Type:

Definition at line 246 of file JavaType.java.


Member Function Documentation

String org.objectweb.jonas_ejb.lib.JavaTypesForSQL.getSQLGetMethod Class  c  )  [static, package]
 

Returns the name of the getXXX method associated with the given type in java.sql.ResultSet.

Parameters:
c the class object for a Java type.
Returns:
a string representing the name of the get method, null in error case

Definition at line 330 of file JavaType.java.

String org.objectweb.jonas_ejb.lib.JavaTypesForSQL.getSQLSetMethod Class  c  )  [static, package]
 

Returns the name of the setXXX method associated with the given type in java.sql.PreparedStatement.

Parameters:
c the class object for a Java type.
Returns:
a string representing the name of the set method, null in error case

Definition at line 358 of file JavaType.java.

String org.objectweb.jonas_ejb.lib.JavaTypesForSQL.getSQLType Class  c  )  [static, package]
 

Returns the SQL Type mapping the given Java Type.

Parameters:
c the class object for a Java type.
Returns:
the SQL Type mapping the given Java Type, (Types.OTHER in error case)

Definition at line 385 of file JavaType.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:04 2005 for JOnAS by  doxygen 1.3.9.1