org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc Class Reference

Inherits org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EntityJdbcCmp2Desc (ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, DeploymentDescEjb2 dc2d, JLinkedList jMDRList, String fileName) throws DeploymentDescException
String getDatasourceJndiName ()
String getJdbcTableName ()
String toString ()

Protected Member Functions

FieldDesc newFieldDescInstance ()

Detailed Description

Class to hold meta-information related to an CMP v2 entity bean with jdbc data store.
Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin on May 2003: code cleanup

Helene Joanin on May 2003: complement for legacy first version

Definition at line 44 of file EntityJdbcCmp2Desc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.EntityJdbcCmp2Desc ClassLoader  classLoader,
Entity  ent,
AssemblyDescriptor  asd,
JonasEntity  jEnt,
DeploymentDescEjb2  dc2d,
JLinkedList  jMDRList,
String  fileName
throws DeploymentDescException
 

constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.

Definition at line 53 of file EntityJdbcCmp2Desc.java.

References org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getAbstractSchemaName(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getCmpFieldJdbcMappingList(), org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.getFieldName(), org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.getJdbcAutomaticPkFieldName(), org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.getJdbcFieldName(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getJdbcTableName(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getJndiName(), org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.getSqlType(), org.objectweb.jonas_ejb.deployment.api.EntityDesc.isUndefinedPK(), org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.setJdbcFieldName(), and org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.setSqlType().

Here is the call graph for this function:


Member Function Documentation

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.getDatasourceJndiName  ) 
 

Get the datasource jndi name

Returns:
String representation of the jndi name

Definition at line 126 of file EntityJdbcCmp2Desc.java.

Referenced by org.objectweb.jonas_ejb.container.JContainer.addBean(), org.objectweb.jonas.container.EJB.getAllDataSourceName(), and org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.toString().

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.getJdbcTableName  ) 
 

Get the associated DataBase table name.

Returns:
Name of the database table where entity bean is stored

Definition at line 134 of file EntityJdbcCmp2Desc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.toString().

FieldDesc org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.newFieldDescInstance  )  [protected]
 

field descriptor factory method

Reimplemented from org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc.

Definition at line 118 of file EntityJdbcCmp2Desc.java.

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Reimplemented from org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.

Definition at line 142 of file EntityJdbcCmp2Desc.java.

References org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.getDatasourceJndiName(), org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc.getJdbcTableName(), and org.objectweb.jonas_ejb.deployment.api.FieldDesc.toString().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:20 2005 for JOnAS by  doxygen 1.3.9.1