org.objectweb.jonas_ejb.deployment.api
Class EntityJdbcCmpDesc
java.lang.Object
|
+--org.objectweb.jonas_ejb.deployment.api.BeanDesc
|
+--org.objectweb.jonas_ejb.deployment.api.EntityDesc
|
+--org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
|
+--org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmpDesc
- public class EntityJdbcCmpDesc
- extends EntityCmpDesc
Base class for descriptor of an entity bean with jdbc based container managed persistence
- Author:
- Christophe Ney
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, home, jndiName, local, localhome, methodDesc, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, TRANS |
Method Summary |
java.lang.String |
getDatasourceJndiName()
Get the datasource jndi name |
FieldJdbcDesc |
getFieldJdbcDesc(java.lang.reflect.Field field)
Get jdbc specific descriptor for a given field. |
java.lang.String |
getJdbcTableName()
Get the associated DataBase table name in case of container persistence type. |
boolean |
hasFieldJdbcDesc(java.lang.reflect.Field field)
Assessor for existence of a jdbc descriptor for a given field |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
check, getDisplayName, getEjb10Environment, getEjbClass, getEjbLocalRefDesc, getEjbName, getEjbRefDesc, getEnvEntryDesc, getHomeClass, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDescs, getRemoteClass, getResourceEnvRefDesc, getResourceRefDesc, getRoleLink, getSecurityRoleNames, verifyRoleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getDatasourceJndiName
public java.lang.String getDatasourceJndiName()
- Get the datasource jndi name
- Returns:
- String representation of the jndi name
hasFieldJdbcDesc
public boolean hasFieldJdbcDesc(java.lang.reflect.Field field)
- Assessor for existence of a jdbc descriptor for a given field
- Parameters:
field
- public field of the bean class- Returns:
- true if jdbc descriptor is available for given field
getFieldJdbcDesc
public FieldJdbcDesc getFieldJdbcDesc(java.lang.reflect.Field field)
- Get jdbc specific descriptor for a given field.
Used by GenIC
- Parameters:
field
- of the bean class- Returns:
- Descriptor for the given field
getJdbcTableName
public java.lang.String getJdbcTableName()
- Get the associated DataBase table name in case of container persistence type.
Used by GenIC (This information is JOnAS specific).
- Returns:
- Name of the database table where entity bean is stored
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Overrides:
toString
in class EntityCmpDesc
- Returns:
- String representation of this object