| |
|
| java.lang.Object org.objectweb.jonas_ejb.genic.VcParamWhere
VcParamWhere | public class VcParamWhere (Code) | | 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 |
VcParamWhere | VcParamWhere(Class type, int position)(Code) | | VcParamWhere Constructor
Parameters: type - parameter's type Parameters: position - parameter's position in the where clause |
getName | public String getName()(Code) | | Returns the name of the parameter (ie "p1") |
getSqlSetMethod | public String getSqlSetMethod()(Code) | | Returns the SQL setter method associated to the parameter |
getSqlTypeName | public String getSqlTypeName()(Code) | | Returns the SQL type's name of the parameter |
getTypeName | public String getTypeName()(Code) | | Returns the type's name of the parameter |
hasBigIntegerType | public boolean hasBigIntegerType()(Code) | | Returns true if the parameter's type is java.math.BigInteger |
hasJavaLangTypeExceptString | public boolean hasJavaLangTypeExceptString()(Code) | | true if the parameter's type is a java.lang.* type except java.lang.string |
hasNotPrimitiveType | public boolean hasNotPrimitiveType()(Code) | | Returns true if the parameter's type is not a java primitive type |
hasSerializableType | public boolean hasSerializableType()(Code) | | Returns true if the parameter's type is Serializable |
toString | public String toString()(Code) | | Returns a string representation of the VcParamWhere object to debug use |
|
|
|