|
||||||||||
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
Base class to hold meta-information related to an entity of type CMP.
Field Summary | |
protected java.util.HashMap |
fieldDesc
|
protected java.lang.String |
primaryKeyField
|
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, primaryKeyClass, reentrant, shared |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, cacheMax, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, fullDerivedBeanName, home, jndiName, local, localhome, poolMin, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, TRANS |
Constructor Summary | |
EntityCmpDesc(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)
constructor to be used by parent node. |
Method Summary | |
FieldDesc |
getCmpFieldDesc(java.lang.String fieldName)
Get descriptor for a given field name Used by GenIC |
java.lang.String |
getPrimaryKeyFieldName()
|
FieldDesc |
getSimplePkField()
Get the primary key field for the entity. |
java.lang.String |
getSimplePkFieldName()
Get the primary key field name for the entity. |
boolean |
hasPrimaryKeyField()
|
boolean |
hasSimplePkField()
Indicate if the primary key field is only one field with a primary-key-field defined in the DD. |
protected FieldDesc |
newFieldDescInstance()
factory method for field descriptors |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
checkTxAttribute, getCleanupPolicy, getPassivationTimeout, getPrimaryKeyClass, isReentrant, isShared |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.HashMap fieldDesc
protected java.lang.String primaryKeyField
Constructor Detail |
public EntityCmpDesc(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) throws DeploymentDescException
classLoader
- class loader to use to laod bean's classesent
- entity in the standard deployment descriptorasd
- assembly-descriptor in the standard deployment descriptorjEnt
- jonas-entity in the JOnAS deployment descriptor
DeploymentDescException
- in error case.Method Detail |
public FieldDesc getCmpFieldDesc(java.lang.String fieldName)
fieldName
- Name of the field
public boolean hasSimplePkField()
public boolean hasPrimaryKeyField()
public FieldDesc getSimplePkField()
public java.lang.String getSimplePkFieldName()
public java.lang.String getPrimaryKeyFieldName()
public java.lang.String toString()
toString
in class EntityDesc
protected FieldDesc newFieldDescInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |