org.jboss.metadata
Class EntityMetaData

java.lang.Object
  extended byorg.jboss.metadata.MetaData (src) 
      extended byorg.jboss.metadata.BeanMetaData (src) 
          extended byorg.jboss.metadata.EntityMetaData
All Implemented Interfaces:
java.lang.Cloneable, XmlLoadable (src)

public class EntityMetaData
extends BeanMetaData (src)

The meta data information specific to entity beans.


Field Summary
static int CMP_VERSION_1
           
static int CMP_VERSION_2
           
static java.lang.String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
           
static java.lang.String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
           
 
Fields inherited from class org.jboss.metadata.BeanMetaData (src)
beanType, callByValue, clustered, configurationName, containerManagedTx, ENTITY_TYPE, invokerBindings, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, portComponent, serviceEndpointClass, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData (src)
TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
EntityMetaData(ApplicationMetaData (src)  app)
           
 
Method Summary
protected  void defaultInvokerBindings()
           
 boolean doDistributedCacheInvalidations()
           
 java.lang.String getAbstractSchemaName()
           
 java.util.Iterator getCMPFields()
          Gets the container managed fields.
 java.lang.String getDefaultConfigurationName()
           
 CacheInvalidationConfigMetaData (src) getDistributedCacheInvalidationConfig()
           
 java.lang.String getPrimaryKeyClass()
           
 java.lang.String getPrimKeyField()
           
 java.util.Iterator getQueries()
           
 void importEjbJarXml(org.w3c.dom.Element element)
          Called to parse the ejb-jar.xml enterprise-beans child ejb elements
 void importJbossXml(org.w3c.dom.Element element)
          Called to parse the jboss.xml enterprise-beans child ejb elements
 boolean isBMP()
           
 boolean isCMP()
           
 boolean isCMP1x()
           
 boolean isCMP2x()
           
 boolean isReadOnly()
           
 boolean isReentrant()
           
 
Methods inherited from class org.jboss.metadata.BeanMetaData (src)
addExcludedMethod, addPermissionMethod, addTransactionMethod, getApplicationMetaData, getClusterConfigMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEnvironmentEntries, getExceptionRollback, getExcludedMethods, getHome, getInvokerBinding, getInvokerBindings, getIorSecurityConfigMetaData, getJndiName, getLocal, getLocalHome, getLocalJndiName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getPermissionMethods, getPortComponent, getRemote, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getSecurityRoleReferences, getServiceEndpoint, getServiceReferences, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, hasMethodPermission, isBeanManagedTx, isCallByValue, isClustered, isContainerManagedTx, isEntity, isExcludeMissingMethods, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.MetaData (src)
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CMP_VERSION_1

public static final int CMP_VERSION_1
See Also:
Constant Field Values (src)

CMP_VERSION_2

public static final int CMP_VERSION_2
See Also:
Constant Field Values (src)

DEFAULT_ENTITY_INVOKER_PROXY_BINDING

public static final java.lang.String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values (src)

DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING

public static final java.lang.String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values (src)
Constructor Detail

EntityMetaData

public EntityMetaData(ApplicationMetaData (src)  app)
Method Detail

isCMP

public boolean isCMP()

isCMP1x

public boolean isCMP1x()

isCMP2x

public boolean isCMP2x()

isBMP

public boolean isBMP()

getPrimaryKeyClass

public java.lang.String getPrimaryKeyClass()

isReentrant

public boolean isReentrant()

getAbstractSchemaName

public java.lang.String getAbstractSchemaName()

isReadOnly

public boolean isReadOnly()

getCMPFields

public java.util.Iterator getCMPFields()
Gets the container managed fields.


getPrimKeyField

public java.lang.String getPrimKeyField()

getQueries

public java.util.Iterator getQueries()

getDefaultConfigurationName

public java.lang.String getDefaultConfigurationName()
Specified by:
getDefaultConfigurationName in class BeanMetaData (src)

doDistributedCacheInvalidations

public boolean doDistributedCacheInvalidations()

getDistributedCacheInvalidationConfig

public CacheInvalidationConfigMetaData (src)  getDistributedCacheInvalidationConfig()

importEjbJarXml

public void importEjbJarXml(org.w3c.dom.Element element)
                     throws DeploymentException (src) 
Description copied from class: BeanMetaData (src)
Called to parse the ejb-jar.xml enterprise-beans child ejb elements

Overrides:
importEjbJarXml in class BeanMetaData (src)
Parameters:
element - one of session/entity/message-driven
Throws:
DeploymentException (src)

defaultInvokerBindings

protected void defaultInvokerBindings()
Specified by:
defaultInvokerBindings in class BeanMetaData (src)

importJbossXml

public void importJbossXml(org.w3c.dom.Element element)
                    throws DeploymentException (src) 
Description copied from class: BeanMetaData (src)
Called to parse the jboss.xml enterprise-beans child ejb elements

Overrides:
importJbossXml in class BeanMetaData (src)
Parameters:
element - one of session/entity/message-driven
Throws:
DeploymentException (src)