org.jboss.metadata
Class EntityMetaData

java.lang.Object
  extended by org.jboss.metadata.MetaData
      extended by org.jboss.metadata.OldMetaData<JBossEnterpriseBeanMetaData>
          extended by org.jboss.metadata.BeanMetaData
              extended by org.jboss.metadata.EntityMetaData
All Implemented Interfaces:
Cloneable, XmlLoadable

Deprecated.

@Deprecated
public class EntityMetaData
extends BeanMetaData

The meta data information specific to entity beans.

Author:
Sebastien Alborini, Scott Stark, Dain Sundstrom, Bill Burke, Christian Riege, Adrian Brock

Field Summary
static int CMP_VERSION_1
          Deprecated. CMP Version 1
static int CMP_VERSION_2
          Deprecated. CMP Version 2
static String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
          Deprecated. The default clustered entity invoker
static String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
          Deprecated. The default entity bean invoker
 
Fields inherited from class org.jboss.metadata.BeanMetaData
ENTITY_TYPE, LOCAL_INVOKER_PROXY_BINDING, MDB_TYPE, SESSION_TYPE
 
Fields inherited from class org.jboss.metadata.MetaData
log, TX_MANDATORY, TX_NEVER, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, TX_UNKNOWN
 
Constructor Summary
protected EntityMetaData(ApplicationMetaData app, JBossEnterpriseBeanMetaData delegate)
          Deprecated. Create a new EntityBeanMetaData.
protected EntityMetaData(org.jboss.metadata.spi.MetaData metaData)
          Deprecated. Create a new EntityMetaData.
 
Method Summary
 boolean doDistributedCacheInvalidations()
          Deprecated. Whether to do cache invalidations
 String getAbstractSchemaName()
          Deprecated. Get the abstract schema name
 ClusterConfigMetaData getClusterConfigMetaData()
          Deprecated. Get the cluster config
 Iterator<String> getCMPFields()
          Deprecated. Gets the container managed fields.
 JBossEntityBeanMetaData getDelegate()
          Deprecated. Get the delegate.
 CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()
          Deprecated. The cache invalidation config
 SecurityIdentityMetaData getEjbTimeoutIdentity()
          Deprecated. Get the ejb timeout identity
 String getHome()
          Deprecated. Get the home class name
 String getJndiName()
          Deprecated. Get the jndi name
 String getLocal()
          Deprecated. Get the local class name
 String getLocalHome()
          Deprecated. Get the local home class name
 String getPrimaryKeyClass()
          Deprecated. Get the primary key class
 String getPrimKeyField()
          Deprecated. Get the primary key field
 Iterator<QueryMetaData> getQueries()
          Deprecated.  
 String getRemote()
          Deprecated. Get the remote class name
 Iterator<SecurityRoleRefMetaData> getSecurityRoleReferences()
          Deprecated. Get the security role references
 String getServiceEndpoint()
          Deprecated. Get the service endpoint
 boolean isBMP()
          Deprecated.  
 boolean isCallByValue()
          Deprecated. Get the callByValue.
 boolean isClustered()
          Deprecated. Get whether it is clustered.
 boolean isCMP()
          Deprecated. Is this container managed persistence
 boolean isCMP1x()
          Deprecated. Is this CMP1x
 boolean isCMP2x()
          Deprecated. Is this CMP2x
 boolean isReadOnly()
          Deprecated. Whether the bean is read only
 boolean isReentrant()
          Deprecated. Is the entity reentrant
 
Methods inherited from class org.jboss.metadata.BeanMetaData
addExcludedMethod, addPermissionMethod, addTransactionMethod, create, getApplicationMetaData, getConfigurationName, getContainerConfiguration, getContainerObjectNameJndiName, getDefaultConfigurationName, getDepends, getEjbClass, getEjbLocalRefByName, getEjbLocalReferences, getEjbName, getEjbRefByName, getEjbReferences, getEnvironmentEntries, getExceptionRollback, getExcludedMethods, getInvokerBinding, getInvokerBindings, getIorSecurityConfigMetaData, getLocalJndiName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getPermissionMethods, getPortComponent, getResourceEnvReferences, getResourceReferences, getSecurityIdentityMetaData, getSecurityProxy, getServiceReferences, getTimerPersistence, getTransactionMethod, getTransactionMethods, getTransactionTimeout, getTransactionTimeout, hasMethodPermission, isBeanManagedTx, isContainerManagedTx, isEntity, isExcludeMissingMethods, isMessageDriven, isMethodReadOnly, isMethodReadOnly, isSession
 
Methods inherited from class org.jboss.metadata.OldMetaData
equals, getMetaData, hashCode, importEjbJarXml, importJbossXml, toString
 
Methods inherited from class org.jboss.metadata.MetaData
clone, getChildrenByTagName, getElementAttribute, getElementAttribute, getElementContent, getElementContent, getElementContent, getFirstElementContent, getFirstElementContent, getOptionalChild, getOptionalChild, getOptionalChildBooleanContent, getOptionalChildBooleanContent, getOptionalChildContent, getOptionalChildContent, getUniqueChild, getUniqueChildContent, importXml, jdk13Enabled
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CMP_VERSION_1

public static final int CMP_VERSION_1
Deprecated. 
CMP Version 1

See Also:
Constant Field Values

CMP_VERSION_2

public static final int CMP_VERSION_2
Deprecated. 
CMP Version 2

See Also:
Constant Field Values

DEFAULT_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_ENTITY_INVOKER_PROXY_BINDING
Deprecated. 
The default entity bean invoker

See Also:
Constant Field Values

DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING

public static final String DEFAULT_CLUSTERED_ENTITY_INVOKER_PROXY_BINDING
Deprecated. 
The default clustered entity invoker

See Also:
Constant Field Values
Constructor Detail

EntityMetaData

protected EntityMetaData(ApplicationMetaData app,
                         JBossEnterpriseBeanMetaData delegate)
Deprecated. 
Create a new EntityBeanMetaData.

Parameters:
delegate - the delegate
Throws:
IllegalArgumentException - for a null delegate

EntityMetaData

protected EntityMetaData(org.jboss.metadata.spi.MetaData metaData)
Deprecated. 
Create a new EntityMetaData.

Parameters:
metaData - the delegate metadata
Throws:
IllegalArgumentException - for a null metaData
IllegalStateException - if the metadata doesn't have an EnterpriseBeanMetaData
Method Detail

getDelegate

public JBossEntityBeanMetaData getDelegate()
Deprecated. 
Description copied from class: OldMetaData
Get the delegate.

Overrides:
getDelegate in class OldMetaData<JBossEnterpriseBeanMetaData>
Returns:
the delegate.

getHome

public String getHome()
Deprecated. 
Description copied from class: BeanMetaData
Get the home class name

Specified by:
getHome in class BeanMetaData
Returns:
the home class name

getLocal

public String getLocal()
Deprecated. 
Description copied from class: BeanMetaData
Get the local class name

Specified by:
getLocal in class BeanMetaData
Returns:
the local class name

getLocalHome

public String getLocalHome()
Deprecated. 
Description copied from class: BeanMetaData
Get the local home class name

Specified by:
getLocalHome in class BeanMetaData
Returns:
the local home class name

getRemote

public String getRemote()
Deprecated. 
Description copied from class: BeanMetaData
Get the remote class name

Specified by:
getRemote in class BeanMetaData
Returns:
the remote class name

getServiceEndpoint

public String getServiceEndpoint()
Deprecated. 
Description copied from class: BeanMetaData
Get the service endpoint

Specified by:
getServiceEndpoint in class BeanMetaData
Returns:
the service endpoint

isCMP

public boolean isCMP()
Deprecated. 
Is this container managed persistence

Returns:
true for cmp

isCMP1x

public boolean isCMP1x()
Deprecated. 
Is this CMP1x

Returns:
true for version 1.x

isCMP2x

public boolean isCMP2x()
Deprecated. 
Is this CMP2x

Returns:
true for version 2.x

isBMP

public boolean isBMP()
Deprecated. 

getPrimaryKeyClass

public String getPrimaryKeyClass()
Deprecated. 
Get the primary key class

Returns:
the primary key class

isReentrant

public boolean isReentrant()
Deprecated. 
Is the entity reentrant

Returns:
true for reentrant

getAbstractSchemaName

public String getAbstractSchemaName()
Deprecated. 
Get the abstract schema name

Returns:
the abstract schema name

getCMPFields

public Iterator<String> getCMPFields()
Deprecated. 
Gets the container managed fields.

Returns:
iterator over Strings containing names of the fields

getPrimKeyField

public String getPrimKeyField()
Deprecated. 
Get the primary key field

Returns:
the primary key field

getQueries

public Iterator<QueryMetaData> getQueries()
Deprecated. 

getJndiName

public String getJndiName()
Deprecated. 
Description copied from class: BeanMetaData
Get the jndi name

Specified by:
getJndiName in class BeanMetaData
Returns:
the jndi name

isCallByValue

public boolean isCallByValue()
Deprecated. 
Description copied from class: BeanMetaData
Get the callByValue.

Specified by:
isCallByValue in class BeanMetaData
Returns:
the callByValue.

isClustered

public boolean isClustered()
Deprecated. 
Description copied from class: BeanMetaData
Get whether it is clustered.

Specified by:
isClustered in class BeanMetaData
Returns:
true if clustered.

getClusterConfigMetaData

public ClusterConfigMetaData getClusterConfigMetaData()
Deprecated. 
Description copied from class: BeanMetaData
Get the cluster config

Specified by:
getClusterConfigMetaData in class BeanMetaData
Returns:
the cluster config

isReadOnly

public boolean isReadOnly()
Deprecated. 
Whether the bean is read only

Returns:
true when read only

getSecurityRoleReferences

public Iterator<SecurityRoleRefMetaData> getSecurityRoleReferences()
Deprecated. 
Description copied from class: BeanMetaData
Get the security role references

Specified by:
getSecurityRoleReferences in class BeanMetaData
Returns:
the security role references

getEjbTimeoutIdentity

public SecurityIdentityMetaData getEjbTimeoutIdentity()
Deprecated. 
Description copied from class: BeanMetaData
Get the ejb timeout identity

Specified by:
getEjbTimeoutIdentity in class BeanMetaData
Returns:
the ejb timeout identity

doDistributedCacheInvalidations

public boolean doDistributedCacheInvalidations()
Deprecated. 
Whether to do cache invalidations

Returns:
true when cache invalidations are required

getDistributedCacheInvalidationConfig

public CacheInvalidationConfigMetaData getDistributedCacheInvalidationConfig()
Deprecated. 
The cache invalidation config

Returns:
the config


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.