org.objectweb.jonas_ejb.genic
Class VcParamWhere
java.lang.Object
org.objectweb.jonas_ejb.genic.VcParamWhere
- public class VcParamWhere
- extends java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getName
public java.lang.String getName()
- Returns:
- Returns the name of the parameter (ie "p1")
getTypeName
public java.lang.String getTypeName()
- Returns:
- Returns the type's name of the parameter
getSqlTypeName
public java.lang.String getSqlTypeName()
- Returns:
- Returns the SQL type's name of the parameter
getSqlSetMethod
public java.lang.String getSqlSetMethod()
- Returns:
- Returns the SQL setter method associated to the parameter
hasNotPrimitiveType
public boolean hasNotPrimitiveType()
- Returns:
- Returns true if the parameter's type is not a java primitive type
hasBigIntegerType
public boolean hasBigIntegerType()
- Returns:
- Returns true if the parameter's type is java.math.BigInteger
hasSerializableType
public boolean hasSerializableType()
- Returns:
- Returns true if the parameter's type is Serializable
hasJavaLangTypeExceptString
public boolean hasJavaLangTypeExceptString()
- Returns:
- true if the parameter's type is a java.lang.* type except java.lang.string
toString
public java.lang.String toString()
- Returns:
- Returns a string representation of the VcParamWhere object to debug use