org.jboss.metadata
Class EntityMetaData

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

public class EntityMetaData
extends BeanMetaData

The meta data information specific to entity beans.

Version:
$Revision: 1.19.2.3 $

Revisions:

2001/10/16: billb

  1. Added clustering tags
Author:
Sebastien Alborini, Scott Stark, Dain Sundstrom, Bill Burke, Christian Riege

Field Summary
static int CMP_VERSION_1
           
static int CMP_VERSION_2
           
static String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
           
static String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
           
 
Fields inherited from class org.jboss.metadata.BeanMetaData
beanType, callByValue, clustered, configurationName, containerManagedTx, ENTITY_TYPE, invokerBindings, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData
TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
EntityMetaData(ApplicationMetaData app)
           
 
Method Summary
protected  void defaultInvokerBindings()
           
 boolean doDistributedCacheInvalidations()
           
 String getAbstractSchemaName()
           
 Iterator getCMPFields()
          Gets the container managed fields.
 String getDefaultConfigurationName()
           
 CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()
           
 String getPrimaryKeyClass()
           
 String getPrimKeyField()
           
 Iterator getQueries()
           
 void importEjbJarXml(Element element)
          Non-operation.
 void importJbossXml(Element element)
          Non-operation.
 boolean isBMP()
           
 boolean isCMP()
           
 boolean isCMP1x()
           
 boolean isCMP2x()
           
 boolean isReadOnly()
           
 boolean isReentrant()
           
 
Methods inherited from class org.jboss.metadata.BeanMetaData
addExcludedMethod, addPermissionMethod, addTransactionMethod, getApplicationMetaData, getClusterConfigMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEnvironmentEntries, getExcludedMethods, getHome, getInvokerBinding, getInvokerBindings, getJndiName, getLocal, getLocalHome, getLocalJndiName, getMethodPermissions, getMethodTransactionType, getPermissionMethods, getRemote, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getSecurityRoleReferences, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, isBeanManagedTx, isCallByValue, isClustered, isContainerManagedTx, isEntity, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementContent, getElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, 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

CMP_VERSION_2

public static final int CMP_VERSION_2
See Also:
Constant Field Values

DEFAULT_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values

DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
See Also:
Constant Field Values
Constructor Detail

EntityMetaData

public EntityMetaData(ApplicationMetaData app)
Method Detail

isCMP

public boolean isCMP()

isCMP1x

public boolean isCMP1x()

isCMP2x

public boolean isCMP2x()

isBMP

public boolean isBMP()

getPrimaryKeyClass

public String getPrimaryKeyClass()

isReentrant

public boolean isReentrant()

getAbstractSchemaName

public String getAbstractSchemaName()

isReadOnly

public boolean isReadOnly()

getCMPFields

public Iterator getCMPFields()
Gets the container managed fields.


getPrimKeyField

public String getPrimKeyField()

getQueries

public Iterator getQueries()

getDefaultConfigurationName

public String getDefaultConfigurationName()
Specified by:
getDefaultConfigurationName in class BeanMetaData

doDistributedCacheInvalidations

public boolean doDistributedCacheInvalidations()

getDistributedCacheInvalidationConfig

public CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()

importEjbJarXml

public void importEjbJarXml(Element element)
                     throws org.jboss.deployment.DeploymentException
Description copied from class: MetaData
Non-operation.

Overrides:
importEjbJarXml in class BeanMetaData
Throws:
org.jboss.deployment.DeploymentException

defaultInvokerBindings

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

importJbossXml

public void importJbossXml(Element element)
                    throws org.jboss.deployment.DeploymentException
Description copied from class: MetaData
Non-operation.

Overrides:
importJbossXml in class BeanMetaData
Throws:
org.jboss.deployment.DeploymentException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.