org.objectweb.jonas_ejb.genic.VcParamWhere Class Reference

List of all members.

Public Member Functions

String getName ()
String getTypeName ()
String getSqlTypeName ()
String getSqlSetMethod ()
boolean hasNotPrimitiveType ()
boolean hasBigIntegerType ()
boolean hasSerializableType ()
boolean hasJavaLangTypeExceptString ()
String toString ()

Package Functions

 VcParamWhere (Class type, int position)

Detailed Description

This class is the "Velocity context" for a parameter of a where clause of finder method for CMP1 only, used in the Velocity Templates.
Author:
Helene Joanin : Initial developer

Definition at line 36 of file VcParamWhere.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.genic.VcParamWhere.VcParamWhere Class  type,
int  position
[package]
 

VcParamWhere Constructor

Parameters:
type parameter's type
position parameter's position in the where clause

Definition at line 83 of file VcParamWhere.java.


Member Function Documentation

String org.objectweb.jonas_ejb.genic.VcParamWhere.getName  ) 
 

Returns:
Returns the name of the parameter (ie "p1")

Definition at line 111 of file VcParamWhere.java.

String org.objectweb.jonas_ejb.genic.VcParamWhere.getSqlSetMethod  ) 
 

Returns:
Returns the SQL setter method associated to the parameter

Definition at line 132 of file VcParamWhere.java.

String org.objectweb.jonas_ejb.genic.VcParamWhere.getSqlTypeName  ) 
 

Returns:
Returns the SQL type's name of the parameter

Definition at line 125 of file VcParamWhere.java.

String org.objectweb.jonas_ejb.genic.VcParamWhere.getTypeName  ) 
 

Returns:
Returns the type's name of the parameter

Definition at line 118 of file VcParamWhere.java.

boolean org.objectweb.jonas_ejb.genic.VcParamWhere.hasBigIntegerType  ) 
 

Returns:
Returns true if the parameter's type is java.math.BigInteger

Definition at line 146 of file VcParamWhere.java.

boolean org.objectweb.jonas_ejb.genic.VcParamWhere.hasJavaLangTypeExceptString  ) 
 

Returns:
true if the parameter's type is a java.lang.* type except java.lang.string

Definition at line 160 of file VcParamWhere.java.

boolean org.objectweb.jonas_ejb.genic.VcParamWhere.hasNotPrimitiveType  ) 
 

Returns:
Returns true if the parameter's type is not a java primitive type

Definition at line 139 of file VcParamWhere.java.

boolean org.objectweb.jonas_ejb.genic.VcParamWhere.hasSerializableType  ) 
 

Returns:
Returns true if the parameter's type is Serializable

Definition at line 153 of file VcParamWhere.java.

String org.objectweb.jonas_ejb.genic.VcParamWhere.toString  ) 
 

Returns:
Returns a string representation of the VcParamWhere object to debug use

Definition at line 167 of file VcParamWhere.java.


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