| java.lang.Object org.objectweb.jonas_ejb.genic.VcField
VcField | public class VcField (Code) | | This class is the "Velocity context" for a container managed persistence bean's field
used in the Velocity Template.
author: Helene Joanin : Initial developer |
VcField | public VcField(String mName, Class fType, FieldDesc fd, boolean isCmp1)(Code) | | VcField constructor
Parameters: mName - name of the cmp field Parameters: fType - type of the cmp field Parameters: fd - field descriptor of the cmp field Parameters: isCmp1 - true if it's a cmp version 1 field, false if it's a cmp version 2 field. |
VcField | VcField(Field field, FieldDesc fd)(Code) | | VcField contructor for cmp field version 1
Parameters: field - java field descriptor of the cmp field Parameters: fd - field descriptor of the cmp field |
VcField | VcField(FieldDesc fd)(Code) | | VcField onstructor for cmp field version 2
Parameters: fd - field descriptor of the cmp field |
getConvertClassName | public String getConvertClassName()(Code) | | the class name of for the convertion between the memory representation and the storage representation for the cmp field |
getDefaultValue | public String getDefaultValue()(Code) | | the string representation of the java default value for the cmp field (ie "0 "for int, "null" for object ...) |
getGetterName | public String getGetterName()(Code) | | the name of the getter method of the cmp field |
getJormTypeName | public String getJormTypeName()(Code) | | the JORM type name of the cmp field |
getName | public String getName()(Code) | | the name of the cmp field |
getNameUpperFirst | public String getNameUpperFirst()(Code) | | the name, with the first letter capitalized, of the cmp field |
getSetterName | public String getSetterName()(Code) | | the name of the setter method of the cmp field |
getSqlGetMethod | public String getSqlGetMethod()(Code) | | the SQL getter method name for the cmp field |
getSqlSetMethod | public String getSqlSetMethod()(Code) | | the SQL setter method name for the cmp field |
getSqlTypeName | public String getSqlTypeName()(Code) | | the SQL type name of the cmp field |
getTypeName | public String getTypeName()(Code) | | the type name of the cmp field |
hasBigIntegerType | public boolean hasBigIntegerType()(Code) | | true if the type of the cmp field is java.math.BigInteger |
hasJavaLangTypeExceptString | public boolean hasJavaLangTypeExceptString()(Code) | | true if the type of the cmp type is a java.lag type except java.lang.String |
hasNotPrimitiveType | public boolean hasNotPrimitiveType()(Code) | | true if the type of the cmp field is not a java primitive type |
hasSerializableType | public boolean hasSerializableType()(Code) | | true of the type of the cmp field is Serializable |
isMustBeConvert | public boolean isMustBeConvert()(Code) | | true if a conversion must be dome between the memory representation and the storage representation for the cmp field |
isPrimaryKey | public boolean isPrimaryKey()(Code) | | true if the cmp field composes the primary key |
toString | public String toString()(Code) | | a string representation of the VcField for debug use |
|
|