|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc org.objectweb.jonas_ejb.deployment.api.BeanDesc org.objectweb.jonas_ejb.deployment.api.EntityDesc org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
public abstract class 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 |
jdbcAutomaticPkFieldName
|
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, deadlockTimeout, hardLimit, inactivityTimeout, jdbcAutomaticPk, LOCK_CONTAINER_READ_COMMITTED, LOCK_CONTAINER_READ_UNCOMMITTED, LOCK_CONTAINER_READ_WRITE, LOCK_CONTAINER_SERIALIZED, LOCK_CONTAINER_SERIALIZED_TRANSACTED, LOCK_DATABASE, LOCK_READ_ONLY, lockPolicy, maxWaitTime, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, pkObjectType, prefetch, primaryKeyClass, readTimeout, reentrant, shared |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
---|
BEAN_TRANSACTION_TYPE, beanIdentification, bf, cacheMax, clusterHomeDistributor, clusterRemoteDistributor, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, logger, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
Constructor Summary | |
---|---|
EntityCmpDesc(java.lang.ClassLoader classLoader,
Entity ent,
AssemblyDescriptor asd,
JonasEntity jEnt,
JLinkedList jMDRList,
java.lang.String fileName)
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.util.Iterator |
getCmpFieldDescIterator()
|
java.lang.String |
getJdbcAutomaticPkFieldName()
Get the associated field for auto genarated pk field specify by user |
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, getDeadlockTimeout, getInactivityTimeout, getLockPolicy, getMaxWaitTime, getPassivationTimeout, getPrimaryKeyClass, getReadTimeout, isAutomaticPk, isHardLimit, isPrefetch, isReentrant, isShared, isUndefinedPK |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getEnvEntryDesc, getMessageDestinationRefDesc, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc |
---|
getDescription, getDisplayName, getLargeIcon, getSAXMsg, getSmallIcon |
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
protected java.lang.String jdbcAutomaticPkFieldName
Constructor Detail |
---|
public EntityCmpDesc(java.lang.ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList, java.lang.String fileName) 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 descriptorfileName
- jar or directory containing ejb
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 getJdbcAutomaticPkFieldName()
public java.util.Iterator getCmpFieldDescIterator()
public java.lang.String toString()
toString
in interface DescriptionGroup
toString
in class EntityDesc
protected FieldDesc newFieldDescInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |