org.objectweb.jonas_ejb.deployment.api
Class FieldJdbcDesc
java.lang.Object
|
+--org.objectweb.jonas_ejb.deployment.api.FieldDesc
|
+--org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc
- public class FieldJdbcDesc
- extends FieldDesc
Class to hold meta-information related to a cmp-field of a bean with jdbc based store
- Author:
- Christophe Ney [cney@batisseurs.com]
Method Summary |
java.lang.String |
getJdbcFieldName()
Get database field name in the table where bean is stored |
java.lang.String |
getSqlType()
|
void |
setJdbcFieldName(java.lang.String jdbcFieldName)
Jdbc field name setter. |
void |
setSqlType(java.lang.String st)
|
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
jdbcFieldName
protected java.lang.String jdbcFieldName
sqlType
protected java.lang.String sqlType
FieldJdbcDesc
public FieldJdbcDesc()
getJdbcFieldName
public java.lang.String getJdbcFieldName()
- Get database field name in the table where bean is stored
- Returns:
- Name of the field in the database
setJdbcFieldName
public void setJdbcFieldName(java.lang.String jdbcFieldName)
- Jdbc field name setter. The name is the name of the table column in the database
setSqlType
public void setSqlType(java.lang.String st)
getSqlType
public java.lang.String getSqlType()
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Overrides:
toString
in class FieldDesc
- Returns:
- String representation of this object