|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.EntityCmp2Desc
Class to hold meta-information related to an entity of type CMP version 2. Created on Jun 24, 2002
Field Summary | |
protected java.lang.String |
abstractSchemaName
|
protected DeploymentCmp2Desc |
dc2d
|
protected java.lang.String |
factoryClassName
|
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc |
fieldDesc, primaryKeyField |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
cacheMax, cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, poolMin, primaryKeyClass, reentrant, shared |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, fullDerivedBeanName, home, jndiName, local, localhome, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, TRANS |
Constructor Summary | |
EntityCmp2Desc(java.lang.ClassLoader classLoader,
org.objectweb.jonas_ejb.deployment.xml.Entity ent,
org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd,
org.objectweb.jonas_ejb.deployment.xml.JonasEntity jEnt,
DeploymentCmp2Desc dc2d)
constructor: called when the DeploymentDescriptor is read. |
Method Summary | |
void |
addEjbRelationshipRoleDesc(EjbRelationshipRoleDesc ersrd)
Add meta-info of a relationship in which the bean is involved |
void |
addToJormList(org.objectweb.jorm.metainfo.api.MetaObject jobject)
add a Jorm MetaObject in the list of Jorm Meta Objects to generate |
java.lang.String |
getAbstractSchemaName()
getter for field abstractSchemaName |
java.util.Iterator |
getCmpFieldDescIterator()
get iterator on meta information for all cmp fields |
DeploymentCmp2Desc |
getDeploymentCMP2Desc()
|
EjbRelationshipRoleDesc |
getEjbRelationshipRoleDesc(java.lang.String cmr)
Get the EjbRelationshipRoleDesc corresponding to the given cmr field name. |
java.util.Iterator |
getEjbRelationshipRoleDescIterator()
Get Iterator on meta-info for all relationships for which the bean is involved in. |
java.lang.String |
getFactoryClassName(java.lang.String mapper)
It retrieves the class name of the generated Jorm mapping. |
java.lang.String |
getJormAccessorClassName()
It retrieves the class name of the generated Jorm accessor interface. |
java.lang.String |
getJormBinderClassName()
It retrieves the class name of the generated Jorm Binder. |
java.lang.String |
getJormBindingClassName(java.lang.String mapper)
It retrieves the class name of the generated Jorm binding. |
java.lang.String |
getJormClassName()
Get the Jorm Fully Qualified Class name in JOrm Meta Info It is built from the Abstract Shema Name. |
java.lang.String |
getJormCoherenceHelperFQItfName()
|
java.lang.String |
getJormCoherenceHelperItfName()
|
java.lang.String |
getJormCoherenceHelperPackageName()
|
java.util.Collection |
getJormList()
Get the list of Jorm MetaObjects to be generated |
java.lang.String |
getJormPKClassName()
Retrieves the Jorm PK Class, in case of composite PK Used by Jorm to generate PNameGetter and Binder classes |
java.lang.String |
getJormPNameGetterClassName()
It retrieves the class name of the generated Jorm PNameGetter interface. |
boolean |
needJormCoherenceHelper()
|
protected MethodDesc |
newMethodDescInstance(java.lang.reflect.Method meth,
int index)
Factory method for MethodDesc. |
java.lang.String |
toString()
String representation of the object for test and debug purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc |
getCmpFieldDesc, getPrimaryKeyFieldName, getSimplePkField, getSimplePkFieldName, hasPrimaryKeyField, hasSimplePkField, newFieldDescInstance |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
checkTxAttribute, getCacheMax, getCleanupPolicy, getPassivationTimeout, getPoolMin, getPrimaryKeyClass, isReentrant, isShared |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String abstractSchemaName
protected java.lang.String factoryClassName
protected DeploymentCmp2Desc dc2d
Constructor Detail |
public EntityCmp2Desc(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.Entity ent, org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd, org.objectweb.jonas_ejb.deployment.xml.JonasEntity jEnt, DeploymentCmp2Desc dc2d) throws DeploymentDescException
Method Detail |
public DeploymentCmp2Desc getDeploymentCMP2Desc()
public java.lang.String getAbstractSchemaName()
public java.lang.String getJormClassName()
public java.util.Collection getJormList()
public void addToJormList(org.objectweb.jorm.metainfo.api.MetaObject jobject)
jobject
- the Jorm MetaObject to add in the listpublic void addEjbRelationshipRoleDesc(EjbRelationshipRoleDesc ersrd)
public java.util.Iterator getEjbRelationshipRoleDescIterator()
public EjbRelationshipRoleDesc getEjbRelationshipRoleDesc(java.lang.String cmr)
public java.util.Iterator getCmpFieldDescIterator()
protected MethodDesc newMethodDescInstance(java.lang.reflect.Method meth, int index)
MethodCmp2Desc
newMethodDescInstance
in class BeanDesc
public java.lang.String getJormAccessorClassName()
public java.lang.String getJormBindingClassName(java.lang.String mapper)
mapper
- The mapper name
public java.lang.String getFactoryClassName(java.lang.String mapper)
mapper
- The mapper name
public java.lang.String getJormPKClassName()
public java.lang.String getJormPNameGetterClassName()
public java.lang.String getJormBinderClassName()
public boolean needJormCoherenceHelper()
public java.lang.String getJormCoherenceHelperItfName()
public java.lang.String getJormCoherenceHelperPackageName()
public java.lang.String getJormCoherenceHelperFQItfName()
public java.lang.String toString()
toString
in class EntityCmpDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |