org.jboss.shrinkwrap.descriptor.api.jboss51
Interface SessionBeanType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
SessionBeanTypeImpl

public interface SessionBeanType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the session-beanType xsd type

Original Documentation:

The session element holds information specific to jboss and not declared
in ejb-jar.xml about a session bean, such as jndi name, container configuration, and
resource managers. (see tags for details) The bean should already be declared in
ejb-jar.xml, with the same ejb-name. Used in: enterprise-beans

Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

Method Summary
 AnnotationType<SessionBeanType<T>> annotation()
          Returns the annotation element
 CacheConfigType<SessionBeanType<T>> cacheConfig()
          If not already created, a new cache-config element will be created and returned.
 ClusterConfigType<SessionBeanType<T>> clusterConfig()
          If not already created, a new cluster-config element will be created and returned.
 EjbLocalRefType<SessionBeanType<T>> ejbLocalRef()
          Returns the ejb-local-ref element
 EjbRefType<SessionBeanType<T>> ejbRef()
          Returns the ejb-ref element
 SecurityIdentityType<SessionBeanType<T>> ejbTimeoutIdentity()
          If not already created, a new ejb-timeout-identity element will be created and returned.
 EnvEntryType<SessionBeanType<T>> envEntry()
          Returns the env-entry element
 java.util.List<AnnotationType<SessionBeanType<T>>> getAnnotationList()
          Returns all annotation elements
 java.lang.String getAopDomainName()
          Returns the aop-domain-name element
 java.util.List<java.lang.String> getBusinessLocalList()
          Returns all business-local elements
 java.util.List<java.lang.String> getBusinessRemoteList()
          Returns all business-remote elements
 java.util.List<java.lang.String> getDependsList()
          Returns all depends elements
 java.util.List<java.lang.String> getDescriptionList()
          Returns all description elements
 java.util.List<java.lang.String> getDisplayNameList()
          Returns all display-name elements
 java.util.List<EjbLocalRefType<SessionBeanType<T>>> getEjbLocalRefList()
          Returns all ejb-local-ref elements
 java.lang.String getEjbName()
          Returns the ejb-name element
 java.util.List<EjbRefType<SessionBeanType<T>>> getEjbRefList()
          Returns all ejb-ref elements
 java.util.List<EnvEntryType<SessionBeanType<T>>> getEnvEntryList()
          Returns all env-entry elements
 java.lang.String getHomeJndiName()
          Returns the home-jndi-name element
 java.util.List<IconType<SessionBeanType<T>>> getIconList()
          Returns all icon elements
 java.lang.String getJndiBindingPolicy()
          Returns the jndi-binding-policy element
 java.lang.String getJndiName()
          Returns the jndi-name element
 java.util.List<JndiRefType<SessionBeanType<T>>> getJndiRefList()
          Returns all jndi-ref elements
 java.util.List<LocalBindingType<SessionBeanType<T>>> getLocalBindingList()
          Returns all local-binding elements
 java.lang.String getLocalHomeJndiName()
          Returns the local-home-jndi-name element
 java.lang.String getLocalJndiName()
          Returns the local-jndi-name element
 java.lang.String getMappedName()
          Returns the mapped-name element
 java.util.List<MessageDestinationRefType<SessionBeanType<T>>> getMessageDestinationRefList()
          Returns all message-destination-ref elements
 java.util.List<PersistenceContextRefType<SessionBeanType<T>>> getPersistenceContextRefList()
          Returns all persistence-context-ref elements
 java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> getPersistenceUnitRefList()
          Returns all persistence-unit-ref elements
 java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostConstructList()
          Returns all post-construct elements
 java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPreDestroyList()
          Returns all pre-destroy elements
 java.util.List<RemoteBindingType<SessionBeanType<T>>> getRemoteBindingList()
          Returns all remote-binding elements
 java.util.List<ResourceEnvRefType<SessionBeanType<T>>> getResourceEnvRefList()
          Returns all resource-env-ref elements
 java.util.List<ResourceRefType<SessionBeanType<T>>> getResourceRefList()
          Returns all resource-ref elements
 java.lang.String getSecurityDomain()
          Returns the security-domain element
 java.util.List<ServiceRefType<SessionBeanType<T>>> getServiceRefList()
          Returns all service-ref elements
 IconType<SessionBeanType<T>> icon()
          Returns the icon element
 IgnoreDependencyType<SessionBeanType<T>> ignoreDependency()
          If not already created, a new ignore-dependency element will be created and returned.
 java.lang.Boolean isClustered()
          Returns the clustered element
 java.lang.Boolean isConcurrent()
          Returns the concurrent element
 JndiRefType<SessionBeanType<T>> jndiRef()
          Returns the jndi-ref element
 LocalBindingType<SessionBeanType<T>> localBinding()
          Returns the local-binding element
 MessageDestinationRefType<SessionBeanType<T>> messageDestinationRef()
          Returns the message-destination-ref element
 MethodAttributesType<SessionBeanType<T>> methodAttributes()
          If not already created, a new method-attributes element will be created and returned.
 PersistenceContextRefType<SessionBeanType<T>> persistenceContextRef()
          Returns the persistence-context-ref element
 PersistenceUnitRefType<SessionBeanType<T>> persistenceUnitRef()
          Returns the persistence-unit-ref element
 PoolConfigType<SessionBeanType<T>> poolConfig()
          If not already created, a new pool-config element will be created and returned.
 PortComponentType<SessionBeanType<T>> portComponent()
          If not already created, a new port-component element will be created and returned.
 LifecycleCallbackType<SessionBeanType<T>> postConstruct()
          Returns the post-construct element
 LifecycleCallbackType<SessionBeanType<T>> preDestroy()
          Returns the pre-destroy element
 RemoteBindingType<SessionBeanType<T>> remoteBinding()
          Returns the remote-binding element
 SessionBeanType<T> removeAllAnnotation()
          Removes all annotation elements
 SessionBeanType<T> removeAllBusinessLocal()
          Removes the business-local element
 SessionBeanType<T> removeAllBusinessRemote()
          Removes the business-remote element
 SessionBeanType<T> removeAllDepends()
          Removes the depends element
 SessionBeanType<T> removeAllDescription()
          Removes the description element
 SessionBeanType<T> removeAllDisplayName()
          Removes the display-name element
 SessionBeanType<T> removeAllEjbLocalRef()
          Removes all ejb-local-ref elements
 SessionBeanType<T> removeAllEjbRef()
          Removes all ejb-ref elements
 SessionBeanType<T> removeAllEnvEntry()
          Removes all env-entry elements
 SessionBeanType<T> removeAllIcon()
          Removes all icon elements
 SessionBeanType<T> removeAllJndiRef()
          Removes all jndi-ref elements
 SessionBeanType<T> removeAllLocalBinding()
          Removes all local-binding elements
 SessionBeanType<T> removeAllMessageDestinationRef()
          Removes all message-destination-ref elements
 SessionBeanType<T> removeAllPersistenceContextRef()
          Removes all persistence-context-ref elements
 SessionBeanType<T> removeAllPersistenceUnitRef()
          Removes all persistence-unit-ref elements
 SessionBeanType<T> removeAllPostConstruct()
          Removes all post-construct elements
 SessionBeanType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 SessionBeanType<T> removeAllRemoteBinding()
          Removes all remote-binding elements
 SessionBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 SessionBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 SessionBeanType<T> removeAllServiceRef()
          Removes all service-ref elements
 SessionBeanType<T> removeAopDomainName()
          Removes the aop-domain-name element
 SessionBeanType<T> removeCacheConfig()
          Removes the cache-config element
 SessionBeanType<T> removeClusterConfig()
          Removes the cluster-config element
 SessionBeanType<T> removeClustered()
          Removes the clustered element
 SessionBeanType<T> removeConcurrent()
          Removes the concurrent element
 SessionBeanType<T> removeEjbName()
          Removes the ejb-name element
 SessionBeanType<T> removeEjbTimeoutIdentity()
          Removes the ejb-timeout-identity element
 SessionBeanType<T> removeHomeJndiName()
          Removes the home-jndi-name element
 SessionBeanType<T> removeIgnoreDependency()
          Removes the ignore-dependency element
 SessionBeanType<T> removeJndiBindingPolicy()
          Removes the jndi-binding-policy element
 SessionBeanType<T> removeJndiName()
          Removes the jndi-name element
 SessionBeanType<T> removeLocalHomeJndiName()
          Removes the local-home-jndi-name element
 SessionBeanType<T> removeLocalJndiName()
          Removes the local-jndi-name element
 SessionBeanType<T> removeMappedName()
          Removes the mapped-name element
 SessionBeanType<T> removeMethodAttributes()
          Removes the method-attributes element
 SessionBeanType<T> removePoolConfig()
          Removes the pool-config element
 SessionBeanType<T> removePortComponent()
          Removes the port-component element
 SessionBeanType<T> removeSecurityDomain()
          Removes the security-domain element
 SessionBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 ResourceEnvRefType<SessionBeanType<T>> resourceEnvRef()
          Returns the resource-env-ref element
 ResourceRefType<SessionBeanType<T>> resourceRef()
          Returns the resource-ref element
 SecurityIdentityType<SessionBeanType<T>> securityIdentity()
          If not already created, a new security-identity element will be created and returned.
 ServiceRefType<SessionBeanType<T>> serviceRef()
          Returns the service-ref element
 SessionBeanType<T> setAopDomainName(java.lang.String aopDomainName)
          If not already created, a new aop-domain-name element with the given value will be created.
 SessionBeanType<T> setBusinessLocal(java.lang.String businessLocal)
          Creates a new business-local element
 SessionBeanType<T> setBusinessLocalList(java.lang.String... values)
          Creates for all String objects representing business-local elements, a new business-local element
 SessionBeanType<T> setBusinessRemote(java.lang.String businessRemote)
          Creates a new business-remote element
 SessionBeanType<T> setBusinessRemoteList(java.lang.String... values)
          Creates for all String objects representing business-remote elements, a new business-remote element
 SessionBeanType<T> setClustered(java.lang.Boolean clustered)
          If not already created, a new clustered element with the given value will be created.
 SessionBeanType<T> setConcurrent(java.lang.Boolean concurrent)
          If not already created, a new concurrent element with the given value will be created.
 SessionBeanType<T> setDepends(java.lang.String depends)
          Creates a new depends element
 SessionBeanType<T> setDependsList(java.lang.String... values)
          Creates for all String objects representing depends elements, a new depends element
 SessionBeanType<T> setDescription(java.lang.String description)
          Creates a new description element
 SessionBeanType<T> setDescriptionList(java.lang.String... values)
          Creates for all String objects representing description elements, a new description element
 SessionBeanType<T> setDisplayName(java.lang.String displayName)
          Creates a new display-name element
 SessionBeanType<T> setDisplayNameList(java.lang.String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 SessionBeanType<T> setEjbName(java.lang.String ejbName)
          If not already created, a new ejb-name element with the given value will be created.
 SessionBeanType<T> setHomeJndiName(java.lang.String homeJndiName)
          If not already created, a new home-jndi-name element with the given value will be created.
 SessionBeanType<T> setJndiBindingPolicy(java.lang.String jndiBindingPolicy)
          If not already created, a new jndi-binding-policy element with the given value will be created.
 SessionBeanType<T> setJndiName(java.lang.String jndiName)
          If not already created, a new jndi-name element with the given value will be created.
 SessionBeanType<T> setLocalHomeJndiName(java.lang.String localHomeJndiName)
          If not already created, a new local-home-jndi-name element with the given value will be created.
 SessionBeanType<T> setLocalJndiName(java.lang.String localJndiName)
          If not already created, a new local-jndi-name element with the given value will be created.
 SessionBeanType<T> setMappedName(java.lang.String mappedName)
          If not already created, a new mapped-name element with the given value will be created.
 SessionBeanType<T> setSecurityDomain(java.lang.String securityDomain)
          If not already created, a new security-domain element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setDescription

SessionBeanType<T> setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of SessionBeanType

setDescriptionList

SessionBeanType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
list - of description objects
Returns:
the current instance of SessionBeanType

removeAllDescription

SessionBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of SessionBeanType

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

setDisplayName

SessionBeanType<T> setDisplayName(java.lang.String displayName)
Creates a new display-name element

Returns:
the current instance of SessionBeanType

setDisplayNameList

SessionBeanType<T> setDisplayNameList(java.lang.String... values)
Creates for all String objects representing display-name elements, a new display-name element

Parameters:
list - of display-name objects
Returns:
the current instance of SessionBeanType

removeAllDisplayName

SessionBeanType<T> removeAllDisplayName()
Removes the display-name element

Returns:
the current instance of SessionBeanType

getDisplayNameList

java.util.List<java.lang.String> getDisplayNameList()
Returns all display-name elements

Returns:
list of display-name

removeAllIcon

SessionBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of SessionBeanType

icon

IconType<SessionBeanType<T>> icon()
Returns the icon element

Returns:
the node defined for the element icon

getIconList

java.util.List<IconType<SessionBeanType<T>>> getIconList()
Returns all icon elements

Returns:
list of icon

removeAllEnvEntry

SessionBeanType<T> removeAllEnvEntry()
Removes all env-entry elements

Returns:
the current instance of SessionBeanType

envEntry

EnvEntryType<SessionBeanType<T>> envEntry()
Returns the env-entry element

Returns:
the node defined for the element env-entry

getEnvEntryList

java.util.List<EnvEntryType<SessionBeanType<T>>> getEnvEntryList()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEjbRef

SessionBeanType<T> removeAllEjbRef()
Removes all ejb-ref elements

Returns:
the current instance of SessionBeanType

ejbRef

EjbRefType<SessionBeanType<T>> ejbRef()
Returns the ejb-ref element

Returns:
the node defined for the element ejb-ref

getEjbRefList

java.util.List<EjbRefType<SessionBeanType<T>>> getEjbRefList()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbLocalRef

SessionBeanType<T> removeAllEjbLocalRef()
Removes all ejb-local-ref elements

Returns:
the current instance of SessionBeanType

ejbLocalRef

EjbLocalRefType<SessionBeanType<T>> ejbLocalRef()
Returns the ejb-local-ref element

Returns:
the node defined for the element ejb-local-ref

getEjbLocalRefList

java.util.List<EjbLocalRefType<SessionBeanType<T>>> getEjbLocalRefList()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllResourceRef

SessionBeanType<T> removeAllResourceRef()
Removes all resource-ref elements

Returns:
the current instance of SessionBeanType

resourceRef

ResourceRefType<SessionBeanType<T>> resourceRef()
Returns the resource-ref element

Returns:
the node defined for the element resource-ref

getResourceRefList

java.util.List<ResourceRefType<SessionBeanType<T>>> getResourceRefList()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceEnvRef

SessionBeanType<T> removeAllResourceEnvRef()
Removes all resource-env-ref elements

Returns:
the current instance of SessionBeanType

resourceEnvRef

ResourceEnvRefType<SessionBeanType<T>> resourceEnvRef()
Returns the resource-env-ref element

Returns:
the node defined for the element resource-env-ref

getResourceEnvRefList

java.util.List<ResourceEnvRefType<SessionBeanType<T>>> getResourceEnvRefList()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllMessageDestinationRef

SessionBeanType<T> removeAllMessageDestinationRef()
Removes all message-destination-ref elements

Returns:
the current instance of SessionBeanType

messageDestinationRef

MessageDestinationRefType<SessionBeanType<T>> messageDestinationRef()
Returns the message-destination-ref element

Returns:
the node defined for the element message-destination-ref

getMessageDestinationRefList

java.util.List<MessageDestinationRefType<SessionBeanType<T>>> getMessageDestinationRefList()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllPersistenceContextRef

SessionBeanType<T> removeAllPersistenceContextRef()
Removes all persistence-context-ref elements

Returns:
the current instance of SessionBeanType

persistenceContextRef

PersistenceContextRefType<SessionBeanType<T>> persistenceContextRef()
Returns the persistence-context-ref element

Returns:
the node defined for the element persistence-context-ref

getPersistenceContextRefList

java.util.List<PersistenceContextRefType<SessionBeanType<T>>> getPersistenceContextRefList()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceUnitRef

SessionBeanType<T> removeAllPersistenceUnitRef()
Removes all persistence-unit-ref elements

Returns:
the current instance of SessionBeanType

persistenceUnitRef

PersistenceUnitRefType<SessionBeanType<T>> persistenceUnitRef()
Returns the persistence-unit-ref element

Returns:
the node defined for the element persistence-unit-ref

getPersistenceUnitRefList

java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> getPersistenceUnitRefList()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllPostConstruct

SessionBeanType<T> removeAllPostConstruct()
Removes all post-construct elements

Returns:
the current instance of SessionBeanType

postConstruct

LifecycleCallbackType<SessionBeanType<T>> postConstruct()
Returns the post-construct element

Returns:
the node defined for the element post-construct

getPostConstructList

java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostConstructList()
Returns all post-construct elements

Returns:
list of post-construct

removeAllPreDestroy

SessionBeanType<T> removeAllPreDestroy()
Removes all pre-destroy elements

Returns:
the current instance of SessionBeanType

preDestroy

LifecycleCallbackType<SessionBeanType<T>> preDestroy()
Returns the pre-destroy element

Returns:
the node defined for the element pre-destroy

getPreDestroyList

java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPreDestroyList()
Returns all pre-destroy elements

Returns:
list of pre-destroy

removeAllServiceRef

SessionBeanType<T> removeAllServiceRef()
Removes all service-ref elements

Returns:
the current instance of SessionBeanType

serviceRef

ServiceRefType<SessionBeanType<T>> serviceRef()
Returns the service-ref element

Returns:
the node defined for the element service-ref

getServiceRefList

java.util.List<ServiceRefType<SessionBeanType<T>>> getServiceRefList()
Returns all service-ref elements

Returns:
list of service-ref

setEjbName

SessionBeanType<T> setEjbName(java.lang.String ejbName)
If not already created, a new ejb-name element with the given value will be created. Otherwise, the existing ejb-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeEjbName

SessionBeanType<T> removeEjbName()
Removes the ejb-name element

Returns:
the current instance of SessionBeanType

getEjbName

java.lang.String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

setMappedName

SessionBeanType<T> setMappedName(java.lang.String mappedName)
If not already created, a new mapped-name element with the given value will be created. Otherwise, the existing mapped-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeMappedName

SessionBeanType<T> removeMappedName()
Removes the mapped-name element

Returns:
the current instance of SessionBeanType

getMappedName

java.lang.String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeSecurityIdentity

SessionBeanType<T> removeSecurityIdentity()
Removes the security-identity element

Returns:
the current instance of SessionBeanType

securityIdentity

SecurityIdentityType<SessionBeanType<T>> securityIdentity()
If not already created, a new security-identity element will be created and returned. Otherwise, the existing security-identity element will be returned.

Returns:
the node defined for the element security-identity

removeAllLocalBinding

SessionBeanType<T> removeAllLocalBinding()
Removes all local-binding elements

Returns:
the current instance of SessionBeanType

localBinding

LocalBindingType<SessionBeanType<T>> localBinding()
Returns the local-binding element

Returns:
the node defined for the element local-binding

getLocalBindingList

java.util.List<LocalBindingType<SessionBeanType<T>>> getLocalBindingList()
Returns all local-binding elements

Returns:
list of local-binding

removeAllRemoteBinding

SessionBeanType<T> removeAllRemoteBinding()
Removes all remote-binding elements

Returns:
the current instance of SessionBeanType

remoteBinding

RemoteBindingType<SessionBeanType<T>> remoteBinding()
Returns the remote-binding element

Returns:
the node defined for the element remote-binding

getRemoteBindingList

java.util.List<RemoteBindingType<SessionBeanType<T>>> getRemoteBindingList()
Returns all remote-binding elements

Returns:
list of remote-binding

setBusinessLocal

SessionBeanType<T> setBusinessLocal(java.lang.String businessLocal)
Creates a new business-local element

Returns:
the current instance of SessionBeanType

setBusinessLocalList

SessionBeanType<T> setBusinessLocalList(java.lang.String... values)
Creates for all String objects representing business-local elements, a new business-local element

Parameters:
list - of business-local objects
Returns:
the current instance of SessionBeanType

removeAllBusinessLocal

SessionBeanType<T> removeAllBusinessLocal()
Removes the business-local element

Returns:
the current instance of SessionBeanType

getBusinessLocalList

java.util.List<java.lang.String> getBusinessLocalList()
Returns all business-local elements

Returns:
list of business-local

setBusinessRemote

SessionBeanType<T> setBusinessRemote(java.lang.String businessRemote)
Creates a new business-remote element

Returns:
the current instance of SessionBeanType

setBusinessRemoteList

SessionBeanType<T> setBusinessRemoteList(java.lang.String... values)
Creates for all String objects representing business-remote elements, a new business-remote element

Parameters:
list - of business-remote objects
Returns:
the current instance of SessionBeanType

removeAllBusinessRemote

SessionBeanType<T> removeAllBusinessRemote()
Removes the business-remote element

Returns:
the current instance of SessionBeanType

getBusinessRemoteList

java.util.List<java.lang.String> getBusinessRemoteList()
Returns all business-remote elements

Returns:
list of business-remote

setJndiName

SessionBeanType<T> setJndiName(java.lang.String jndiName)
If not already created, a new jndi-name element with the given value will be created. Otherwise, the existing jndi-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeJndiName

SessionBeanType<T> removeJndiName()
Removes the jndi-name element

Returns:
the current instance of SessionBeanType

getJndiName

java.lang.String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

setHomeJndiName

SessionBeanType<T> setHomeJndiName(java.lang.String homeJndiName)
If not already created, a new home-jndi-name element with the given value will be created. Otherwise, the existing home-jndi-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeHomeJndiName

SessionBeanType<T> removeHomeJndiName()
Removes the home-jndi-name element

Returns:
the current instance of SessionBeanType

getHomeJndiName

java.lang.String getHomeJndiName()
Returns the home-jndi-name element

Returns:
the node defined for the element home-jndi-name

setLocalJndiName

SessionBeanType<T> setLocalJndiName(java.lang.String localJndiName)
If not already created, a new local-jndi-name element with the given value will be created. Otherwise, the existing local-jndi-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeLocalJndiName

SessionBeanType<T> removeLocalJndiName()
Removes the local-jndi-name element

Returns:
the current instance of SessionBeanType

getLocalJndiName

java.lang.String getLocalJndiName()
Returns the local-jndi-name element

Returns:
the node defined for the element local-jndi-name

setLocalHomeJndiName

SessionBeanType<T> setLocalHomeJndiName(java.lang.String localHomeJndiName)
If not already created, a new local-home-jndi-name element with the given value will be created. Otherwise, the existing local-home-jndi-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeLocalHomeJndiName

SessionBeanType<T> removeLocalHomeJndiName()
Removes the local-home-jndi-name element

Returns:
the current instance of SessionBeanType

getLocalHomeJndiName

java.lang.String getLocalHomeJndiName()
Returns the local-home-jndi-name element

Returns:
the node defined for the element local-home-jndi-name

setJndiBindingPolicy

SessionBeanType<T> setJndiBindingPolicy(java.lang.String jndiBindingPolicy)
If not already created, a new jndi-binding-policy element with the given value will be created. Otherwise, the existing jndi-binding-policy element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeJndiBindingPolicy

SessionBeanType<T> removeJndiBindingPolicy()
Removes the jndi-binding-policy element

Returns:
the current instance of SessionBeanType

getJndiBindingPolicy

java.lang.String getJndiBindingPolicy()
Returns the jndi-binding-policy element

Returns:
the node defined for the element jndi-binding-policy

setClustered

SessionBeanType<T> setClustered(java.lang.Boolean clustered)
If not already created, a new clustered element with the given value will be created. Otherwise, the existing clustered element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeClustered

SessionBeanType<T> removeClustered()
Removes the clustered element

Returns:
the current instance of SessionBeanType

isClustered

java.lang.Boolean isClustered()
Returns the clustered element

Returns:
the node defined for the element clustered

removeClusterConfig

SessionBeanType<T> removeClusterConfig()
Removes the cluster-config element

Returns:
the current instance of SessionBeanType

clusterConfig

ClusterConfigType<SessionBeanType<T>> clusterConfig()
If not already created, a new cluster-config element will be created and returned. Otherwise, the existing cluster-config element will be returned.

Returns:
the node defined for the element cluster-config

setSecurityDomain

SessionBeanType<T> setSecurityDomain(java.lang.String securityDomain)
If not already created, a new security-domain element with the given value will be created. Otherwise, the existing security-domain element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeSecurityDomain

SessionBeanType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of SessionBeanType

getSecurityDomain

java.lang.String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeMethodAttributes

SessionBeanType<T> removeMethodAttributes()
Removes the method-attributes element

Returns:
the current instance of SessionBeanType

methodAttributes

MethodAttributesType<SessionBeanType<T>> methodAttributes()
If not already created, a new method-attributes element will be created and returned. Otherwise, the existing method-attributes element will be returned.

Returns:
the node defined for the element method-attributes

setDepends

SessionBeanType<T> setDepends(java.lang.String depends)
Creates a new depends element

Returns:
the current instance of SessionBeanType

setDependsList

SessionBeanType<T> setDependsList(java.lang.String... values)
Creates for all String objects representing depends elements, a new depends element

Parameters:
list - of depends objects
Returns:
the current instance of SessionBeanType

removeAllDepends

SessionBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of SessionBeanType

getDependsList

java.util.List<java.lang.String> getDependsList()
Returns all depends elements

Returns:
list of depends

removeAllAnnotation

SessionBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of SessionBeanType

annotation

AnnotationType<SessionBeanType<T>> annotation()
Returns the annotation element

Returns:
the node defined for the element annotation

getAnnotationList

java.util.List<AnnotationType<SessionBeanType<T>>> getAnnotationList()
Returns all annotation elements

Returns:
list of annotation

removeIgnoreDependency

SessionBeanType<T> removeIgnoreDependency()
Removes the ignore-dependency element

Returns:
the current instance of SessionBeanType

ignoreDependency

IgnoreDependencyType<SessionBeanType<T>> ignoreDependency()
If not already created, a new ignore-dependency element will be created and returned. Otherwise, the existing ignore-dependency element will be returned.

Returns:
the node defined for the element ignore-dependency

setAopDomainName

SessionBeanType<T> setAopDomainName(java.lang.String aopDomainName)
If not already created, a new aop-domain-name element with the given value will be created. Otherwise, the existing aop-domain-name element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeAopDomainName

SessionBeanType<T> removeAopDomainName()
Removes the aop-domain-name element

Returns:
the current instance of SessionBeanType

getAopDomainName

java.lang.String getAopDomainName()
Returns the aop-domain-name element

Returns:
the node defined for the element aop-domain-name

removeCacheConfig

SessionBeanType<T> removeCacheConfig()
Removes the cache-config element

Returns:
the current instance of SessionBeanType

cacheConfig

CacheConfigType<SessionBeanType<T>> cacheConfig()
If not already created, a new cache-config element will be created and returned. Otherwise, the existing cache-config element will be returned.

Returns:
the node defined for the element cache-config

removePoolConfig

SessionBeanType<T> removePoolConfig()
Removes the pool-config element

Returns:
the current instance of SessionBeanType

poolConfig

PoolConfigType<SessionBeanType<T>> poolConfig()
If not already created, a new pool-config element will be created and returned. Otherwise, the existing pool-config element will be returned.

Returns:
the node defined for the element pool-config

setConcurrent

SessionBeanType<T> setConcurrent(java.lang.Boolean concurrent)
If not already created, a new concurrent element with the given value will be created. Otherwise, the existing concurrent element will be updated with the given value.

Returns:
the current instance of SessionBeanType

removeConcurrent

SessionBeanType<T> removeConcurrent()
Removes the concurrent element

Returns:
the current instance of SessionBeanType

isConcurrent

java.lang.Boolean isConcurrent()
Returns the concurrent element

Returns:
the node defined for the element concurrent

removeAllJndiRef

SessionBeanType<T> removeAllJndiRef()
Removes all jndi-ref elements

Returns:
the current instance of SessionBeanType

jndiRef

JndiRefType<SessionBeanType<T>> jndiRef()
Returns the jndi-ref element

Returns:
the node defined for the element jndi-ref

getJndiRefList

java.util.List<JndiRefType<SessionBeanType<T>>> getJndiRefList()
Returns all jndi-ref elements

Returns:
list of jndi-ref

removePortComponent

SessionBeanType<T> removePortComponent()
Removes the port-component element

Returns:
the current instance of SessionBeanType

portComponent

PortComponentType<SessionBeanType<T>> portComponent()
If not already created, a new port-component element will be created and returned. Otherwise, the existing port-component element will be returned.

Returns:
the node defined for the element port-component

removeEjbTimeoutIdentity

SessionBeanType<T> removeEjbTimeoutIdentity()
Removes the ejb-timeout-identity element

Returns:
the current instance of SessionBeanType

ejbTimeoutIdentity

SecurityIdentityType<SessionBeanType<T>> ejbTimeoutIdentity()
If not already created, a new ejb-timeout-identity element will be created and returned. Otherwise, the existing ejb-timeout-identity element will be returned.

Returns:
the node defined for the element ejb-timeout-identity