JBoss Metadata EJB 7.2.2.Final

org.jboss.metadata.ejb.spec
Class AbstractGenericBeanMetaData

java.lang.Object
  extended by org.jboss.metadata.javaee.support.IdMetaDataImpl
      extended by org.jboss.metadata.javaee.support.NamedMetaData
          extended by org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
              extended by org.jboss.metadata.ejb.spec.AbstractEnterpriseBeanMetaData
                  extended by org.jboss.metadata.ejb.spec.AbstractGenericBeanMetaData
All Implemented Interfaces:
Serializable, Cloneable, IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,AbstractEnterpriseBeanMetaData,EjbJarMetaData>, EnterpriseBeanMetaData, Environment, RemoteEnvironment, IdMetaData, MappableMetaData
Direct Known Subclasses:
GenericBeanMetaData

public abstract class AbstractGenericBeanMetaData
extends AbstractEnterpriseBeanMetaData

Author:
Carlo de Wolf
See Also:
Serialized Form

Constructor Summary
protected AbstractGenericBeanMetaData()
          Create a new AbstractGenericBeanMetaData.
 
Method Summary
 void addTimer(TimerMetaData timer)
           
protected abstract  AbstractEnterpriseBeanMetaData createMerged(AbstractEnterpriseBeanMetaData original)
           
 String getAbstractSchemaName()
          Get the abstractSchemaName.
 AccessTimeoutMetaData getAccessTimeout()
          Returns the access timeout metadata applicable at bean level
 String getAcknowledgeMode()
          Get the acknowledgeMode.
 ActivationConfigMetaData getActivationConfig()
          Get the activationConfig.
 NamedMethodMetaData getAfterBeginMethod()
           
 NamedMethodMetaData getAfterCompletionMethod()
           
 AroundInvokesMetaData getAroundInvokes()
          Get the aroundInvokes.
 AroundTimeoutsMetaData getAroundTimeouts()
           
 AsyncMethodsMetaData getAsyncMethods()
           
 NamedMethodMetaData getBeforeCompletionMethod()
           
 BusinessLocalsMetaData getBusinessLocals()
          Get the businessLocals.
 BusinessRemotesMetaData getBusinessRemotes()
          Get the businessRemotes.
 CMPFieldsMetaData getCmpFields()
          Get the cmpFields.
 String getCmpVersion()
          Get the cmpVersion.
 javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
          Returns the concurrency management type of this bean
 ConcurrentMethodsMetaData getConcurrentMethods()
          Returns a Map whose key represents a NamedMethodMetaData and whose value represents ConcurrentMethodMetaData of this bean.
 String[] getDependsOn()
          Returns the names of one or more Singleton beans in the same application as the referring Singleton.
 String getHome()
          Get the home.
 InitMethodsMetaData getInitMethods()
          Get the initMethods.
 String getLocal()
          Get the local.
 EmptyMetaData getLocalBean()
           
 String getLocalHome()
          Get the localHome.
 javax.ejb.LockType getLockType()
          Returns the lock type applicable at the bean level
 String getMessageDestinationLink()
          Get the messageDestinationLink.
 String getMessageDestinationType()
          Get the messageDestinationType.
 String getMessageSelector()
          Get the messageSelector.
 String getMessagingType()
          Get the messagingType.
 PersistenceType getPersistenceType()
          Get the persistenceType.
 LifecycleCallbacksMetaData getPostActivates()
          Get the postActivates.
 LifecycleCallbacksMetaData getPrePassivates()
          Get the prePassivates.
 String getPrimKeyClass()
          Get the primKeyClass.
 String getPrimKeyField()
          Get the primKeyField.
 QueriesMetaData getQueries()
          Get the queries.
 String getRemote()
          Get the remote.
 RemoveMethodsMetaData getRemoveMethods()
          Get the removeMethods.
 String getServiceEndpoint()
          Get the serviceEndpoint.
 SessionType getSessionType()
          Get the sessionType.
 StatefulTimeoutMetaData getStatefulTimeout()
           
 SubscriptionDurability getSubscriptionDurability()
          Get the subscriptionDurability.
 NamedMethodMetaData getTimeoutMethod()
          Get the timeoutMethod.
 List<TimerMetaData> getTimers()
          Returns the TimerMetaData associated with this bean
 javax.ejb.TransactionManagementType getTransactionType()
          Get the transactionType.
 boolean isBMP()
          Is this bean managed persistence
 boolean isCMP()
          Is this container managed persistence
 boolean isCMP1x()
          Whether it is CMP1x
 Boolean isInitOnStartup()
          Returns the init-on-startup value of the session bean metadata.
 boolean isJMS()
          Is this JMS
 boolean isNoInterfaceBean()
           
 boolean isReentrant()
          Get the reentrant.
 boolean isSingleton()
          Returns true if this is a singleton session bean.
 boolean isStateful()
          Is this stateful
 boolean isStateless()
          Is this stateless
 void merge(AbstractEnterpriseBeanMetaData eoverride, AbstractEnterpriseBeanMetaData eoriginal)
          Merge two EnterpriseBeanMetaDatas
 void setAbstractSchemaName(String abstractSchemaName)
          Set the abstractSchemaName.
 void setAccessTimeout(AccessTimeoutMetaData accessTimeout)
          Sets the bean level access timeout metadata
 void setAcknowledgeMode(String acknowledgeMode)
          Set the acknowledgeMode.
 void setActivationConfig(ActivationConfigMetaData activationConfig)
          Set the activationConfig.
 void setAfterBeginMethod(NamedMethodMetaData method)
           
 void setAfterCompletionMethod(NamedMethodMetaData method)
           
 void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
          Set the aroundInvokes.
 void setAroundTimeouts(AroundTimeoutsMetaData aroundTimeouts)
           
 void setAsyncMethods(AsyncMethodsMetaData asyncMethods)
           
 void setBeforeCompletionMethod(NamedMethodMetaData method)
           
 void setBusinessLocals(BusinessLocalsMetaData businessLocals)
          Set the businessLocals.
 void setBusinessRemotes(BusinessRemotesMetaData businessRemotes)
          Set the businessRemotes.
 void setCmpFields(CMPFieldsMetaData cmpFields)
          Set the cmpFields.
 void setCmpVersion(String cmpVersion)
          Set the cmpVersion.
 void setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
          Sets the concurrency management type of this bean
 void setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
          Sets the concurrent methods of this bean
 void setDependsOn(Collection<String> dependsOn)
          Sets the names of one or more singleton beans, each of which must be initialized before the referring bean.
 void setDependsOn(String[] dependsOn)
          Sets the names of one or more singleton beans, each of which must be initialized before the referring bean.
 void setDependsOnMetaData(DependsOnMetaData dependsOnMetaData)
          Sets the names of one or more singleton beans, each of which must be initialized before the referring bean.
 void setHome(String home)
          Set the home.
 void setInitMethods(InitMethodsMetaData initMethods)
          Set the initMethods.
 void setInitOnStartup(Boolean initOnStartup)
           
 void setLocal(String local)
          Set the local.
 void setLocalBean(EmptyMetaData localBean)
          Set the metadata to represent whether this bean exposes an no-interface view
 void setLocalHome(String localHome)
          Set the localHome.
 void setLockType(javax.ejb.LockType lockType)
          Sets the lock type applicable at the bean level
 void setMessageDestinationLink(String messageDestinationLink)
          Set the messageDestinationLink.
 void setMessageDestinationType(String messageDestinationType)
          Set the messageDestinationType.
 void setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd)
           
 void setMessageSelector(String messageSelector)
          Set the messageSelector.
 void setMessagingType(String messagingType)
          Set the messagingType.
 void setNoInterfaceBean(boolean isNoInterfaceBean)
          Sets the no-interface information in the metadata
 void setPersistenceType(PersistenceType persistenceType)
          Set the persistenceType.
 void setPostActivates(LifecycleCallbacksMetaData postActivates)
          Set the postActivates.
 void setPrePassivates(LifecycleCallbacksMetaData prePassivates)
          Set the prePassivates.
 void setPrimKeyClass(String primKeyClass)
          Set the primKeyClass.
 void setPrimKeyField(String primKeyField)
          Set the primKeyField.
 void setQueries(QueriesMetaData queries)
          Set the queries.
 void setReentrant(boolean reentrant)
          Set the reentrant.
 void setRemote(String remote)
          Set the remote.
 void setRemoveMethods(RemoveMethodsMetaData removeMethods)
          Set the removeMethods.
 void setServiceEndpoint(String serviceEndpoint)
          Set the serviceEndpoint.
 void setSessionType(SessionType sessionType)
          Set the sessionType.
 void setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout)
           
 void setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
          Set the subscriptionDurability.
 void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
          Set the timeoutMethod.
 void setTimers(List<TimerMetaData> timers)
          Sets the TimerMetaData for this bean
 void setTransactionType(javax.ejb.TransactionManagementType transactionType)
          Set the transactionType.
 
Methods inherited from class org.jboss.metadata.ejb.spec.AbstractEnterpriseBeanMetaData
augment, getAnnotatedEjbReferences, getAssemblyDescriptor, getContainerTransactions, getDataSourceByName, getDataSources, getEjbClass, getEjbJarMetaData, getEjbJarVersion, getEjbLocalReferenceByName, getEjbLocalReferences, getEjbName, getEjbReferenceByName, getEjbReferences, getEjbType, getEnterpriseBeansMetaData, getEnvironmentEntries, getEnvironmentEntryByName, getExcludeList, getJndiEnvironmentRefsGroup, getMappedName, getMessageDestinationReferenceByName, getMessageDestinationReferences, getMethodPermissions, getMethodTransactionType, getMethodTransactionType, getPersistenceContextReferenceByName, getPersistenceContextRefs, getPersistenceUnitReferenceByName, getPersistenceUnitRefs, getPostConstructs, getPreDestroys, getResourceEnvironmentReferenceByName, getResourceEnvironmentReferences, getResourceReferenceByName, getResourceReferences, getSecurityIdentity, getSecurityRoleRefs, getServiceReferenceByName, getServiceReferences, isBMT, isCMT, isEntity, isMessageDriven, isSession, merged, newBean, override, setEjbClass, setEjbName, setEjbType, setEnterpriseBeansMetaData, setEnvironmentRefsGroup, setJndiEnvironmentRefsGroup, setMappedName, setSecurityIdentity, setSecurityRoleRefs
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaDataWithDescriptionGroup
getDescriptionGroup, setDescriptionGroup
 
Methods inherited from class org.jboss.metadata.javaee.support.NamedMetaData
equals, getKey, getName, hashCode, setName, toString
 
Methods inherited from class org.jboss.metadata.javaee.support.IdMetaDataImpl
clone, getId, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.metadata.ejb.spec.EnterpriseBeanMetaData
getDescriptionGroup, getName
 
Methods inherited from interface org.jboss.metadata.javaee.support.IdMetaData
getId, setId
 
Methods inherited from interface org.jboss.metadata.common.ejb.IEnterpriseBeanMetaData
getDescriptionGroup, getId, setDescriptionGroup
 
Methods inherited from interface org.jboss.metadata.javaee.support.MappableMetaData
getKey
 

Constructor Detail

AbstractGenericBeanMetaData

protected AbstractGenericBeanMetaData()
Create a new AbstractGenericBeanMetaData.

Method Detail

createMerged

protected abstract AbstractEnterpriseBeanMetaData createMerged(AbstractEnterpriseBeanMetaData original)
Specified by:
createMerged in class AbstractEnterpriseBeanMetaData

getMessagingType

public String getMessagingType()
Get the messagingType.

Returns:
the messagingType.

isJMS

public boolean isJMS()
Is this JMS

Returns:
true for jms

setMessagingType

public void setMessagingType(String messagingType)
Set the messagingType.

Parameters:
messagingType - the messagingType.
Throws:
IllegalArgumentException - for a null messagingType

getMessageDestinationType

public String getMessageDestinationType()
Get the messageDestinationType.

Returns:
the messageDestinationType.

setMessageDestinationType

public void setMessageDestinationType(String messageDestinationType)
Set the messageDestinationType.

Parameters:
messageDestinationType - the messageDestinationType.
Throws:
IllegalArgumentException - for a null messageDestinationType

getMessageDestinationLink

public String getMessageDestinationLink()
Get the messageDestinationLink.

Returns:
the messageDestinationLink.

setMessageDestinationLink

public void setMessageDestinationLink(String messageDestinationLink)
Set the messageDestinationLink.

Parameters:
messageDestinationLink - the messageDestinationLink.
Throws:
IllegalArgumentException - for a null messageDestinationLink

getActivationConfig

public ActivationConfigMetaData getActivationConfig()
Get the activationConfig.

Returns:
the activationConfig.

setActivationConfig

public void setActivationConfig(ActivationConfigMetaData activationConfig)
Set the activationConfig.

Parameters:
activationConfig - the activationConfig.
Throws:
IllegalArgumentException - for a null activationConfig

getMessageSelector

public String getMessageSelector()
Get the messageSelector.

Returns:
the messageSelector.

setMessageSelector

public void setMessageSelector(String messageSelector)
Set the messageSelector.

Parameters:
messageSelector - the messageSelector.
Throws:
IllegalArgumentException - for a null messageSelector

getAcknowledgeMode

public String getAcknowledgeMode()
Get the acknowledgeMode.

Returns:
the acknowledgeMode.

setAcknowledgeMode

public void setAcknowledgeMode(String acknowledgeMode)
Set the acknowledgeMode.

Parameters:
acknowledgeMode - the acknowledgeMode.
Throws:
IllegalArgumentException - for a null acknowledgeMode

getSubscriptionDurability

public SubscriptionDurability getSubscriptionDurability()
Get the subscriptionDurability.

Returns:
the subscriptionDurability.

setSubscriptionDurability

public void setSubscriptionDurability(SubscriptionDurability subscriptionDurability)
Set the subscriptionDurability.

Parameters:
subscriptionDurability - the subscriptionDurability.
Throws:
IllegalArgumentException - for a null subscriptionDurability

setMessageDrivenDestination

public void setMessageDrivenDestination(MessageDrivenDestinationMetaData mdd)

getHome

public String getHome()
Get the home.

Returns:
the home.

setHome

public void setHome(String home)
Set the home.

Parameters:
home - the home.
Throws:
IllegalArgumentException - for a null home

getRemote

public String getRemote()
Get the remote.

Returns:
the remote.

setRemote

public void setRemote(String remote)
Set the remote.

Parameters:
remote - the remote.
Throws:
IllegalArgumentException - for a null remote

getLocalHome

public String getLocalHome()
Get the localHome.

Returns:
the localHome.

setLocalHome

public void setLocalHome(String localHome)
Set the localHome.

Parameters:
localHome - the localHome.
Throws:
IllegalArgumentException - for a null localHome

getLocal

public String getLocal()
Get the local.

Returns:
the local.

setLocal

public void setLocal(String local)
Set the local.

Parameters:
local - the local.
Throws:
IllegalArgumentException - for a null local

getBusinessLocals

public BusinessLocalsMetaData getBusinessLocals()
Get the businessLocals.

Returns:
the businessLocals.

setBusinessLocals

public void setBusinessLocals(BusinessLocalsMetaData businessLocals)
Set the businessLocals.

Parameters:
businessLocals - the businessLocals.
Throws:
IllegalArgumentException - for a null businessLocasl

getBusinessRemotes

public BusinessRemotesMetaData getBusinessRemotes()
Get the businessRemotes.

Returns:
the businessRemotes.

setBusinessRemotes

public void setBusinessRemotes(BusinessRemotesMetaData businessRemotes)
Set the businessRemotes.

Parameters:
businessRemotes - the businessRemotes.
Throws:
IllegalArgumentException - for a null businessRemotes

getServiceEndpoint

public String getServiceEndpoint()
Get the serviceEndpoint.

Returns:
the serviceEndpoint.

setServiceEndpoint

public void setServiceEndpoint(String serviceEndpoint)
Set the serviceEndpoint.

Parameters:
serviceEndpoint - the serviceEndpoint.
Throws:
IllegalArgumentException - for a null serviceEndpoint

getSessionType

public SessionType getSessionType()
Get the sessionType.

Returns:
the sessionType.

setSessionType

public void setSessionType(SessionType sessionType)
Set the sessionType.

Parameters:
sessionType - the sessionType.
Throws:
IllegalArgumentException - for a null sessionType

isStateful

public boolean isStateful()
Is this stateful

Returns:
true for stateful

isStateless

public boolean isStateless()
Is this stateless

Returns:
true for stateless

setTimeoutMethod

public void setTimeoutMethod(NamedMethodMetaData timeoutMethod)
Set the timeoutMethod.

Parameters:
timeoutMethod - the timeoutMethod.
Throws:
IllegalArgumentException - for a null timeoutMethod

getInitMethods

public InitMethodsMetaData getInitMethods()
Get the initMethods.

Returns:
the initMethods.

setInitMethods

public void setInitMethods(InitMethodsMetaData initMethods)
Set the initMethods.

Parameters:
initMethods - the initMethods.
Throws:
IllegalArgumentException - for a null initMethods

getRemoveMethods

public RemoveMethodsMetaData getRemoveMethods()
Get the removeMethods.

Returns:
the removeMethods.

setRemoveMethods

public void setRemoveMethods(RemoveMethodsMetaData removeMethods)
Set the removeMethods.

Parameters:
removeMethods - the removeMethods.
Throws:
IllegalArgumentException - for a null removeMethods

getPostActivates

public LifecycleCallbacksMetaData getPostActivates()
Get the postActivates.

Returns:
the postActivates.

setPostActivates

public void setPostActivates(LifecycleCallbacksMetaData postActivates)
Set the postActivates.

Parameters:
postActivates - the postActivates.
Throws:
IllegalArgumentException - for a null postActivates

getPrePassivates

public LifecycleCallbacksMetaData getPrePassivates()
Get the prePassivates.

Returns:
the prePassivates.

setPrePassivates

public void setPrePassivates(LifecycleCallbacksMetaData prePassivates)
Set the prePassivates.

Parameters:
prePassivates - the prePassivates.
Throws:
IllegalArgumentException - for a null prePassivates

merge

public void merge(AbstractEnterpriseBeanMetaData eoverride,
                  AbstractEnterpriseBeanMetaData eoriginal)
Description copied from class: AbstractEnterpriseBeanMetaData
Merge two EnterpriseBeanMetaDatas


isInitOnStartup

public Boolean isInitOnStartup()
Returns the init-on-startup value of the session bean metadata. Returns null if none is defined.

Returns:

setInitOnStartup

public void setInitOnStartup(Boolean initOnStartup)

getAsyncMethods

public AsyncMethodsMetaData getAsyncMethods()

setAsyncMethods

public void setAsyncMethods(AsyncMethodsMetaData asyncMethods)

getLocalBean

public EmptyMetaData getLocalBean()
Returns:
Returns EmptyMetaData if the bean represents a no-interface bean. Else returns null. Use the isNoInterfaceBean() API which is more intuitive.
See Also:
SessionBean31MetaData.isNoInterfaceBean()

setLocalBean

public void setLocalBean(EmptyMetaData localBean)
Set the metadata to represent whether this bean exposes an no-interface view

Parameters:
isNoInterfaceBean - True if the bean exposes a no-interface view. Else set to false.

isNoInterfaceBean

public boolean isNoInterfaceBean()
Returns:
Returns true if this bean exposes a no-interface view. Else returns false. This is similar to getLocalBean(), but is more intuitive

setNoInterfaceBean

public void setNoInterfaceBean(boolean isNoInterfaceBean)
Sets the no-interface information in the metadata

Parameters:
isNoInterfaceBean - True if this is a no-interface bean, false otherwise

isSingleton

public boolean isSingleton()
Returns true if this is a singleton session bean. Else returns false


setConcurrencyManagementType

public void setConcurrencyManagementType(javax.ejb.ConcurrencyManagementType concurrencyManagementType)
Sets the concurrency management type of this bean

Parameters:
concurrencyManagementType - The concurrency management type
Throws:
If - the passed concurrencyManagementType is null

getConcurrencyManagementType

public javax.ejb.ConcurrencyManagementType getConcurrencyManagementType()
Returns the concurrency management type of this bean

Returns:

setConcurrentMethods

public void setConcurrentMethods(ConcurrentMethodsMetaData concurrentMethods)
Sets the concurrent methods of this bean

Parameters:
concurrentMethods -
Throws:
IllegalArgumentException - If the passed concurrentMethods is null

getConcurrentMethods

public ConcurrentMethodsMetaData getConcurrentMethods()
Returns a Map whose key represents a NamedMethodMetaData and whose value represents ConcurrentMethodMetaData of this bean. Returns an empty Map if there are no concurrent methods for this bean

Returns:

setLockType

public void setLockType(javax.ejb.LockType lockType)
Sets the lock type applicable at the bean level

Parameters:
lockType - LockType

getLockType

public javax.ejb.LockType getLockType()
Returns the lock type applicable at the bean level

Returns:

setAccessTimeout

public void setAccessTimeout(AccessTimeoutMetaData accessTimeout)
Sets the bean level access timeout metadata

Parameters:
accessTimeout - AccessTimeoutMetaData

getAccessTimeout

public AccessTimeoutMetaData getAccessTimeout()
Returns the access timeout metadata applicable at bean level

Returns:

getDependsOn

public String[] getDependsOn()
Returns the names of one or more Singleton beans in the same application as the referring Singleton.

Returns:

setDependsOn

public void setDependsOn(String[] dependsOn)
Sets the names of one or more singleton beans, each of which must be initialized before the referring bean. Each dependent bean is expressed using ejb-link syntax.

Parameters:
dependsOn - The singleton bean dependencies

setDependsOnMetaData

public void setDependsOnMetaData(DependsOnMetaData dependsOnMetaData)
Sets the names of one or more singleton beans, each of which must be initialized before the referring bean. Each dependent bean is expressed using ejb-link syntax.

Parameters:
dependsOn - The singleton bean dependencies

setDependsOn

public void setDependsOn(Collection<String> dependsOn)
Sets the names of one or more singleton beans, each of which must be initialized before the referring bean. Each dependent bean is expressed using ejb-link syntax.

Parameters:
dependsOn - The singleton bean dependencies

getAfterBeginMethod

public NamedMethodMetaData getAfterBeginMethod()

setAfterBeginMethod

public void setAfterBeginMethod(NamedMethodMetaData method)

getBeforeCompletionMethod

public NamedMethodMetaData getBeforeCompletionMethod()

setBeforeCompletionMethod

public void setBeforeCompletionMethod(NamedMethodMetaData method)

getAfterCompletionMethod

public NamedMethodMetaData getAfterCompletionMethod()

setAfterCompletionMethod

public void setAfterCompletionMethod(NamedMethodMetaData method)

getStatefulTimeout

public StatefulTimeoutMetaData getStatefulTimeout()

setStatefulTimeout

public void setStatefulTimeout(StatefulTimeoutMetaData statefulTimeout)

isCMP

public boolean isCMP()
Is this container managed persistence

Returns:
true for cmp

isBMP

public boolean isBMP()
Is this bean managed persistence

Returns:
true for bmp

getPersistenceType

public PersistenceType getPersistenceType()
Get the persistenceType.

Returns:
the persistenceType.

setPersistenceType

public void setPersistenceType(PersistenceType persistenceType)
Set the persistenceType.

Parameters:
persistenceType - the persistenceType.
Throws:
IllegalArgumentException - for a null persistenceType

getPrimKeyClass

public String getPrimKeyClass()
Get the primKeyClass.

Returns:
the primKeyClass.

setPrimKeyClass

public void setPrimKeyClass(String primKeyClass)
Set the primKeyClass.

Parameters:
primKeyClass - the primKeyClass.
Throws:
IllegalArgumentException - for a null primKeyClass

isReentrant

public boolean isReentrant()
Get the reentrant.

Returns:
the reentrant.

setReentrant

public void setReentrant(boolean reentrant)
Set the reentrant.

Parameters:
reentrant - the reentrant.

isCMP1x

public boolean isCMP1x()
Whether it is CMP1x

Returns:
true for cmp1x

getCmpVersion

public String getCmpVersion()
Get the cmpVersion.

Returns:
the cmpVersion.

setCmpVersion

public void setCmpVersion(String cmpVersion)
Set the cmpVersion.

Parameters:
cmpVersion - the cmpVersion.
Throws:
IllegalArgumentException - for a null cmpVersion

getAbstractSchemaName

public String getAbstractSchemaName()
Get the abstractSchemaName.

Returns:
the abstractSchemaName.

setAbstractSchemaName

public void setAbstractSchemaName(String abstractSchemaName)
Set the abstractSchemaName.

Parameters:
abstractSchemaName - the abstractSchemaName.
Throws:
IllegalArgumentException - for a null abstractSchemaName

getPrimKeyField

public String getPrimKeyField()
Get the primKeyField.

Returns:
the primKeyField.

setPrimKeyField

public void setPrimKeyField(String primKeyField)
Set the primKeyField.

Parameters:
primKeyField - the primKeyField.
Throws:
IllegalArgumentException - for a null primKeyField

getCmpFields

public CMPFieldsMetaData getCmpFields()
Get the cmpFields.

Returns:
the cmpFields.

setCmpFields

public void setCmpFields(CMPFieldsMetaData cmpFields)
Set the cmpFields.

Parameters:
cmpFields - the cmpFields.
Throws:
IllegalArgumentException - for a null cmpFields

getQueries

public QueriesMetaData getQueries()
Get the queries.

Returns:
the queries.

setQueries

public void setQueries(QueriesMetaData queries)
Set the queries.

Parameters:
queries - the queries.
Throws:
IllegalArgumentException - for a null queries

getAroundInvokes

public AroundInvokesMetaData getAroundInvokes()
Get the aroundInvokes.

Returns:
the aroundInvokes.

setAroundInvokes

public void setAroundInvokes(AroundInvokesMetaData aroundInvokes)
Set the aroundInvokes.

Parameters:
aroundInvokes - the aroundInvokes.
Throws:
IllegalArgumentException - for a null aroundInvokes

getTimeoutMethod

public NamedMethodMetaData getTimeoutMethod()
Get the timeoutMethod.

Returns:
the timeoutMethod.

getTransactionType

public javax.ejb.TransactionManagementType getTransactionType()
Description copied from class: AbstractEnterpriseBeanMetaData
Get the transactionType.

Specified by:
getTransactionType in interface IEnterpriseBeanMetaData<AssemblyDescriptorMetaData,EnterpriseBeansMetaData,AbstractEnterpriseBeanMetaData,EjbJarMetaData>
Specified by:
getTransactionType in interface EnterpriseBeanMetaData
Overrides:
getTransactionType in class AbstractEnterpriseBeanMetaData
Returns:
the transactionType.

setTransactionType

public void setTransactionType(javax.ejb.TransactionManagementType transactionType)
Set the transactionType.

Parameters:
transactionType - the transactionType.
Throws:
IllegalArgumentException - for a null transactionType

getAroundTimeouts

public AroundTimeoutsMetaData getAroundTimeouts()

setAroundTimeouts

public void setAroundTimeouts(AroundTimeoutsMetaData aroundTimeouts)

getTimers

public List<TimerMetaData> getTimers()
Returns the TimerMetaData associated with this bean


setTimers

public void setTimers(List<TimerMetaData> timers)
Sets the TimerMetaData for this bean


addTimer

public void addTimer(TimerMetaData timer)

JBoss Metadata EJB 7.2.2.Final

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.