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

All Superinterfaces:
Child<T>

public interface SessionBeanType<T>
extends Child<T>

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

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 SessionBeanType<T> aopDomainName(String aopDomainName)
          Sets the aop-domain-name element
 SessionBeanType<T> businessLocal(String... values)
          Creates for all String objects representing business-local elements, a new business-local element
 SessionBeanType<T> businessRemote(String... values)
          Creates for all String objects representing business-remote elements, a new business-remote element
 SessionBeanType<T> clustered(Boolean clustered)
          Sets the clustered element
 SessionBeanType<T> concurrent(Boolean concurrent)
          Sets the concurrent element
 AnnotationType<SessionBeanType<T>> createAnnotation()
          Creates a new annotation element
 EjbLocalRefType<SessionBeanType<T>> createEjbLocalRef()
          Creates a new ejb-local-ref element
 EjbRefType<SessionBeanType<T>> createEjbRef()
          Creates a new ejb-ref element
 EnvEntryType<SessionBeanType<T>> createEnvEntry()
          Creates a new env-entry element
 IconType<SessionBeanType<T>> createIcon()
          Creates a new icon element
 JndiRefType<SessionBeanType<T>> createJndiRef()
          Creates a new jndi-ref element
 LocalBindingType<SessionBeanType<T>> createLocalBinding()
          Creates a new local-binding element
 MessageDestinationRefType<SessionBeanType<T>> createMessageDestinationRef()
          Creates a new message-destination-ref element
 PersistenceContextRefType<SessionBeanType<T>> createPersistenceContextRef()
          Creates a new persistence-context-ref element
 PersistenceUnitRefType<SessionBeanType<T>> createPersistenceUnitRef()
          Creates a new persistence-unit-ref element
 LifecycleCallbackType<SessionBeanType<T>> createPostConstruct()
          Creates a new post-construct element
 LifecycleCallbackType<SessionBeanType<T>> createPreDestroy()
          Creates a new pre-destroy element
 RemoteBindingType<SessionBeanType<T>> createRemoteBinding()
          Creates a new remote-binding element
 ResourceEnvRefType<SessionBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<SessionBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 ServiceRefType<SessionBeanType<T>> createServiceRef()
          Creates a new service-ref element
 SessionBeanType<T> depends(String... values)
          Creates for all String objects representing depends elements, a new depends element
 SessionBeanType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 SessionBeanType<T> displayName(String... values)
          Creates for all String objects representing display-name elements, a new display-name element
 SessionBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AnnotationType<SessionBeanType<T>>> getAllAnnotation()
          Returns all annotation elements
 List<String> getAllBusinessLocal()
          Returns all business-local elements
 List<String> getAllBusinessRemote()
          Returns all business-remote elements
 List<String> getAllDepends()
          Returns all depends elements
 List<String> getAllDescription()
          Returns all description elements
 List<String> getAllDisplayName()
          Returns all display-name elements
 List<EjbLocalRefType<SessionBeanType<T>>> getAllEjbLocalRef()
          Returns all ejb-local-ref elements
 List<EjbRefType<SessionBeanType<T>>> getAllEjbRef()
          Returns all ejb-ref elements
 List<EnvEntryType<SessionBeanType<T>>> getAllEnvEntry()
          Returns all env-entry elements
 List<IconType<SessionBeanType<T>>> getAllIcon()
          Returns all icon elements
 List<JndiRefType<SessionBeanType<T>>> getAllJndiRef()
          Returns all jndi-ref elements
 List<LocalBindingType<SessionBeanType<T>>> getAllLocalBinding()
          Returns all local-binding elements
 List<MessageDestinationRefType<SessionBeanType<T>>> getAllMessageDestinationRef()
          Returns all message-destination-ref elements
 List<PersistenceContextRefType<SessionBeanType<T>>> getAllPersistenceContextRef()
          Returns all persistence-context-ref elements
 List<PersistenceUnitRefType<SessionBeanType<T>>> getAllPersistenceUnitRef()
          Returns all persistence-unit-ref elements
 List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostConstruct()
          Returns all post-construct elements
 List<LifecycleCallbackType<SessionBeanType<T>>> getAllPreDestroy()
          Returns all pre-destroy elements
 List<RemoteBindingType<SessionBeanType<T>>> getAllRemoteBinding()
          Returns all remote-binding elements
 List<ResourceEnvRefType<SessionBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<SessionBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<ServiceRefType<SessionBeanType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getAopDomainName()
          Returns the aop-domain-name element
 String getEjbName()
          Returns the ejb-name element
 String getHomeJndiName()
          Returns the home-jndi-name element
 String getId()
          Returns the id attribute
 String getJndiBindingPolicy()
          Returns the jndi-binding-policy element
 String getJndiName()
          Returns the jndi-name element
 String getLocalHomeJndiName()
          Returns the local-home-jndi-name element
 String getLocalJndiName()
          Returns the local-jndi-name element
 String getMappedName()
          Returns the mapped-name element
 AnnotationType<SessionBeanType<T>> getOrCreateAnnotation()
          If not already created, a new annotation element will be created and returned.
 CacheConfigType<SessionBeanType<T>> getOrCreateCacheConfig()
          If not already created, a new cache-config element with the given value will be created.
 ClusterConfigType<SessionBeanType<T>> getOrCreateClusterConfig()
          If not already created, a new cluster-config element with the given value will be created.
 EjbLocalRefType<SessionBeanType<T>> getOrCreateEjbLocalRef()
          If not already created, a new ejb-local-ref element will be created and returned.
 EjbRefType<SessionBeanType<T>> getOrCreateEjbRef()
          If not already created, a new ejb-ref element will be created and returned.
 SecurityIdentityType<SessionBeanType<T>> getOrCreateEjbTimeoutIdentity()
          If not already created, a new ejb-timeout-identity element with the given value will be created.
 EnvEntryType<SessionBeanType<T>> getOrCreateEnvEntry()
          If not already created, a new env-entry element will be created and returned.
 IconType<SessionBeanType<T>> getOrCreateIcon()
          If not already created, a new icon element will be created and returned.
 IgnoreDependencyType<SessionBeanType<T>> getOrCreateIgnoreDependency()
          If not already created, a new ignore-dependency element with the given value will be created.
 JndiRefType<SessionBeanType<T>> getOrCreateJndiRef()
          If not already created, a new jndi-ref element will be created and returned.
 LocalBindingType<SessionBeanType<T>> getOrCreateLocalBinding()
          If not already created, a new local-binding element will be created and returned.
 MessageDestinationRefType<SessionBeanType<T>> getOrCreateMessageDestinationRef()
          If not already created, a new message-destination-ref element will be created and returned.
 MethodAttributesType<SessionBeanType<T>> getOrCreateMethodAttributes()
          If not already created, a new method-attributes element with the given value will be created.
 PersistenceContextRefType<SessionBeanType<T>> getOrCreatePersistenceContextRef()
          If not already created, a new persistence-context-ref element will be created and returned.
 PersistenceUnitRefType<SessionBeanType<T>> getOrCreatePersistenceUnitRef()
          If not already created, a new persistence-unit-ref element will be created and returned.
 PoolConfigType<SessionBeanType<T>> getOrCreatePoolConfig()
          If not already created, a new pool-config element with the given value will be created.
 PortComponentType<SessionBeanType<T>> getOrCreatePortComponent()
          If not already created, a new port-component element with the given value will be created.
 LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostConstruct()
          If not already created, a new post-construct element will be created and returned.
 LifecycleCallbackType<SessionBeanType<T>> getOrCreatePreDestroy()
          If not already created, a new pre-destroy element will be created and returned.
 RemoteBindingType<SessionBeanType<T>> getOrCreateRemoteBinding()
          If not already created, a new remote-binding element will be created and returned.
 ResourceEnvRefType<SessionBeanType<T>> getOrCreateResourceEnvRef()
          If not already created, a new resource-env-ref element will be created and returned.
 ResourceRefType<SessionBeanType<T>> getOrCreateResourceRef()
          If not already created, a new resource-ref element will be created and returned.
 SecurityIdentityType<SessionBeanType<T>> getOrCreateSecurityIdentity()
          If not already created, a new security-identity element with the given value will be created.
 ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 String getSecurityDomain()
          Returns the security-domain element
 SessionBeanType<T> homeJndiName(String homeJndiName)
          Sets the home-jndi-name element
 SessionBeanType<T> id(String id)
          Sets the id attribute
 Boolean isClustered()
          Returns the clustered element
 Boolean isConcurrent()
          Returns the concurrent element
 SessionBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
          Sets the jndi-binding-policy element
 SessionBeanType<T> jndiName(String jndiName)
          Sets the jndi-name element
 SessionBeanType<T> localHomeJndiName(String localHomeJndiName)
          Sets the local-home-jndi-name element
 SessionBeanType<T> localJndiName(String localJndiName)
          Sets the local-jndi-name element
 SessionBeanType<T> mappedName(String mappedName)
          Sets the mapped-name 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> removeId()
          Removes the id attribute
 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
 SessionBeanType<T> securityDomain(String securityDomain)
          Sets the security-domain element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

SessionBeanType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of SessionBeanType

displayName

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

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

getAllDisplayName

List<String> getAllDisplayName()
Returns all display-name elements

Returns:
list of display-name

removeAllDisplayName

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

Returns:
the current instance of SessionBeanType

getOrCreateIcon

IconType<SessionBeanType<T>> getOrCreateIcon()
If not already created, a new icon element will be created and returned. Otherwise, the first existing icon element will be returned.

Returns:
the instance defined for the element icon

createIcon

IconType<SessionBeanType<T>> createIcon()
Creates a new icon element

Returns:
the new created instance of IconType>

getAllIcon

List<IconType<SessionBeanType<T>>> getAllIcon()
Returns all icon elements

Returns:
list of icon

removeAllIcon

SessionBeanType<T> removeAllIcon()
Removes all icon elements

Returns:
the current instance of IconType>

getOrCreateEnvEntry

EnvEntryType<SessionBeanType<T>> getOrCreateEnvEntry()
If not already created, a new env-entry element will be created and returned. Otherwise, the first existing env-entry element will be returned.

Returns:
the instance defined for the element env-entry

createEnvEntry

EnvEntryType<SessionBeanType<T>> createEnvEntry()
Creates a new env-entry element

Returns:
the new created instance of EnvEntryType>

getAllEnvEntry

List<EnvEntryType<SessionBeanType<T>>> getAllEnvEntry()
Returns all env-entry elements

Returns:
list of env-entry

removeAllEnvEntry

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

Returns:
the current instance of EnvEntryType>

getOrCreateEjbRef

EjbRefType<SessionBeanType<T>> getOrCreateEjbRef()
If not already created, a new ejb-ref element will be created and returned. Otherwise, the first existing ejb-ref element will be returned.

Returns:
the instance defined for the element ejb-ref

createEjbRef

EjbRefType<SessionBeanType<T>> createEjbRef()
Creates a new ejb-ref element

Returns:
the new created instance of EjbRefType>

getAllEjbRef

List<EjbRefType<SessionBeanType<T>>> getAllEjbRef()
Returns all ejb-ref elements

Returns:
list of ejb-ref

removeAllEjbRef

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

Returns:
the current instance of EjbRefType>

getOrCreateEjbLocalRef

EjbLocalRefType<SessionBeanType<T>> getOrCreateEjbLocalRef()
If not already created, a new ejb-local-ref element will be created and returned. Otherwise, the first existing ejb-local-ref element will be returned.

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

createEjbLocalRef

EjbLocalRefType<SessionBeanType<T>> createEjbLocalRef()
Creates a new ejb-local-ref element

Returns:
the new created instance of EjbLocalRefType>

getAllEjbLocalRef

List<EjbLocalRefType<SessionBeanType<T>>> getAllEjbLocalRef()
Returns all ejb-local-ref elements

Returns:
list of ejb-local-ref

removeAllEjbLocalRef

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

Returns:
the current instance of EjbLocalRefType>

getOrCreateResourceRef

ResourceRefType<SessionBeanType<T>> getOrCreateResourceRef()
If not already created, a new resource-ref element will be created and returned. Otherwise, the first existing resource-ref element will be returned.

Returns:
the instance defined for the element resource-ref

createResourceRef

ResourceRefType<SessionBeanType<T>> createResourceRef()
Creates a new resource-ref element

Returns:
the new created instance of ResourceRefType>

getAllResourceRef

List<ResourceRefType<SessionBeanType<T>>> getAllResourceRef()
Returns all resource-ref elements

Returns:
list of resource-ref

removeAllResourceRef

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

Returns:
the current instance of ResourceRefType>

getOrCreateResourceEnvRef

ResourceEnvRefType<SessionBeanType<T>> getOrCreateResourceEnvRef()
If not already created, a new resource-env-ref element will be created and returned. Otherwise, the first existing resource-env-ref element will be returned.

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

createResourceEnvRef

ResourceEnvRefType<SessionBeanType<T>> createResourceEnvRef()
Creates a new resource-env-ref element

Returns:
the new created instance of ResourceEnvRefType>

getAllResourceEnvRef

List<ResourceEnvRefType<SessionBeanType<T>>> getAllResourceEnvRef()
Returns all resource-env-ref elements

Returns:
list of resource-env-ref

removeAllResourceEnvRef

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

Returns:
the current instance of ResourceEnvRefType>

getOrCreateMessageDestinationRef

MessageDestinationRefType<SessionBeanType<T>> getOrCreateMessageDestinationRef()
If not already created, a new message-destination-ref element will be created and returned. Otherwise, the first existing message-destination-ref element will be returned.

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

createMessageDestinationRef

MessageDestinationRefType<SessionBeanType<T>> createMessageDestinationRef()
Creates a new message-destination-ref element

Returns:
the new created instance of MessageDestinationRefType>

getAllMessageDestinationRef

List<MessageDestinationRefType<SessionBeanType<T>>> getAllMessageDestinationRef()
Returns all message-destination-ref elements

Returns:
list of message-destination-ref

removeAllMessageDestinationRef

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

Returns:
the current instance of MessageDestinationRefType>

getOrCreatePersistenceContextRef

PersistenceContextRefType<SessionBeanType<T>> getOrCreatePersistenceContextRef()
If not already created, a new persistence-context-ref element will be created and returned. Otherwise, the first existing persistence-context-ref element will be returned.

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

createPersistenceContextRef

PersistenceContextRefType<SessionBeanType<T>> createPersistenceContextRef()
Creates a new persistence-context-ref element

Returns:
the new created instance of PersistenceContextRefType>

getAllPersistenceContextRef

List<PersistenceContextRefType<SessionBeanType<T>>> getAllPersistenceContextRef()
Returns all persistence-context-ref elements

Returns:
list of persistence-context-ref

removeAllPersistenceContextRef

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

Returns:
the current instance of PersistenceContextRefType>

getOrCreatePersistenceUnitRef

PersistenceUnitRefType<SessionBeanType<T>> getOrCreatePersistenceUnitRef()
If not already created, a new persistence-unit-ref element will be created and returned. Otherwise, the first existing persistence-unit-ref element will be returned.

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

createPersistenceUnitRef

PersistenceUnitRefType<SessionBeanType<T>> createPersistenceUnitRef()
Creates a new persistence-unit-ref element

Returns:
the new created instance of PersistenceUnitRefType>

getAllPersistenceUnitRef

List<PersistenceUnitRefType<SessionBeanType<T>>> getAllPersistenceUnitRef()
Returns all persistence-unit-ref elements

Returns:
list of persistence-unit-ref

removeAllPersistenceUnitRef

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

Returns:
the current instance of PersistenceUnitRefType>

getOrCreatePostConstruct

LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostConstruct()
If not already created, a new post-construct element will be created and returned. Otherwise, the first existing post-construct element will be returned.

Returns:
the instance defined for the element post-construct

createPostConstruct

LifecycleCallbackType<SessionBeanType<T>> createPostConstruct()
Creates a new post-construct element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostConstruct

List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostConstruct()
Returns all post-construct elements

Returns:
list of post-construct

removeAllPostConstruct

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePreDestroy

LifecycleCallbackType<SessionBeanType<T>> getOrCreatePreDestroy()
If not already created, a new pre-destroy element will be created and returned. Otherwise, the first existing pre-destroy element will be returned.

Returns:
the instance defined for the element pre-destroy

createPreDestroy

LifecycleCallbackType<SessionBeanType<T>> createPreDestroy()
Creates a new pre-destroy element

Returns:
the new created instance of LifecycleCallbackType>

getAllPreDestroy

List<LifecycleCallbackType<SessionBeanType<T>>> getAllPreDestroy()
Returns all pre-destroy elements

Returns:
list of pre-destroy

removeAllPreDestroy

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

Returns:
the current instance of LifecycleCallbackType>

getOrCreateServiceRef

ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef()
If not already created, a new service-ref element will be created and returned. Otherwise, the first existing service-ref element will be returned.

Returns:
the instance defined for the element service-ref

createServiceRef

ServiceRefType<SessionBeanType<T>> createServiceRef()
Creates a new service-ref element

Returns:
the new created instance of ServiceRefType>

getAllServiceRef

List<ServiceRefType<SessionBeanType<T>>> getAllServiceRef()
Returns all service-ref elements

Returns:
list of service-ref

removeAllServiceRef

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

Returns:
the current instance of ServiceRefType>

ejbName

SessionBeanType<T> ejbName(String ejbName)
Sets the ejb-name element

Parameters:
ejbName - the value for the element ejb-name
Returns:
the current instance of SessionBeanType

getEjbName

String getEjbName()
Returns the ejb-name element

Returns:
the node defined for the element ejb-name

removeEjbName

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

Returns:
the current instance of SessionBeanType

mappedName

SessionBeanType<T> mappedName(String mappedName)
Sets the mapped-name element

Parameters:
mappedName - the value for the element mapped-name
Returns:
the current instance of SessionBeanType

getMappedName

String getMappedName()
Returns the mapped-name element

Returns:
the node defined for the element mapped-name

removeMappedName

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

Returns:
the current instance of SessionBeanType

getOrCreateSecurityIdentity

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

Returns:
a new or existing instance of SecurityIdentityType>

removeSecurityIdentity

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

Returns:
the current instance of SessionBeanType

getOrCreateLocalBinding

LocalBindingType<SessionBeanType<T>> getOrCreateLocalBinding()
If not already created, a new local-binding element will be created and returned. Otherwise, the first existing local-binding element will be returned.

Returns:
the instance defined for the element local-binding

createLocalBinding

LocalBindingType<SessionBeanType<T>> createLocalBinding()
Creates a new local-binding element

Returns:
the new created instance of LocalBindingType>

getAllLocalBinding

List<LocalBindingType<SessionBeanType<T>>> getAllLocalBinding()
Returns all local-binding elements

Returns:
list of local-binding

removeAllLocalBinding

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

Returns:
the current instance of LocalBindingType>

getOrCreateRemoteBinding

RemoteBindingType<SessionBeanType<T>> getOrCreateRemoteBinding()
If not already created, a new remote-binding element will be created and returned. Otherwise, the first existing remote-binding element will be returned.

Returns:
the instance defined for the element remote-binding

createRemoteBinding

RemoteBindingType<SessionBeanType<T>> createRemoteBinding()
Creates a new remote-binding element

Returns:
the new created instance of RemoteBindingType>

getAllRemoteBinding

List<RemoteBindingType<SessionBeanType<T>>> getAllRemoteBinding()
Returns all remote-binding elements

Returns:
list of remote-binding

removeAllRemoteBinding

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

Returns:
the current instance of RemoteBindingType>

businessLocal

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

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

getAllBusinessLocal

List<String> getAllBusinessLocal()
Returns all business-local elements

Returns:
list of business-local

removeAllBusinessLocal

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

Returns:
the current instance of SessionBeanType

businessRemote

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

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

getAllBusinessRemote

List<String> getAllBusinessRemote()
Returns all business-remote elements

Returns:
list of business-remote

removeAllBusinessRemote

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

Returns:
the current instance of SessionBeanType

jndiName

SessionBeanType<T> jndiName(String jndiName)
Sets the jndi-name element

Parameters:
jndiName - the value for the element jndi-name
Returns:
the current instance of SessionBeanType

getJndiName

String getJndiName()
Returns the jndi-name element

Returns:
the node defined for the element jndi-name

removeJndiName

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

Returns:
the current instance of SessionBeanType

homeJndiName

SessionBeanType<T> homeJndiName(String homeJndiName)
Sets the home-jndi-name element

Parameters:
homeJndiName - the value for the element home-jndi-name
Returns:
the current instance of SessionBeanType

getHomeJndiName

String getHomeJndiName()
Returns the home-jndi-name element

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

removeHomeJndiName

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

Returns:
the current instance of SessionBeanType

localJndiName

SessionBeanType<T> localJndiName(String localJndiName)
Sets the local-jndi-name element

Parameters:
localJndiName - the value for the element local-jndi-name
Returns:
the current instance of SessionBeanType

getLocalJndiName

String getLocalJndiName()
Returns the local-jndi-name element

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

removeLocalJndiName

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

Returns:
the current instance of SessionBeanType

localHomeJndiName

SessionBeanType<T> localHomeJndiName(String localHomeJndiName)
Sets the local-home-jndi-name element

Parameters:
localHomeJndiName - the value for the element local-home-jndi-name
Returns:
the current instance of SessionBeanType

getLocalHomeJndiName

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

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

removeLocalHomeJndiName

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

Returns:
the current instance of SessionBeanType

jndiBindingPolicy

SessionBeanType<T> jndiBindingPolicy(String jndiBindingPolicy)
Sets the jndi-binding-policy element

Parameters:
jndiBindingPolicy - the value for the element jndi-binding-policy
Returns:
the current instance of SessionBeanType

getJndiBindingPolicy

String getJndiBindingPolicy()
Returns the jndi-binding-policy element

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

removeJndiBindingPolicy

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

Returns:
the current instance of SessionBeanType

clustered

SessionBeanType<T> clustered(Boolean clustered)
Sets the clustered element

Parameters:
clustered - the value for the element clustered
Returns:
the current instance of SessionBeanType

isClustered

Boolean isClustered()
Returns the clustered element

Returns:
the node defined for the element clustered

removeClustered

SessionBeanType<T> removeClustered()
Removes the clustered element

Returns:
the current instance of SessionBeanType

getOrCreateClusterConfig

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

Returns:
a new or existing instance of ClusterConfigType>

removeClusterConfig

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

Returns:
the current instance of SessionBeanType

securityDomain

SessionBeanType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of SessionBeanType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

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

Returns:
the current instance of SessionBeanType

getOrCreateMethodAttributes

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

Returns:
a new or existing instance of MethodAttributesType>

removeMethodAttributes

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

Returns:
the current instance of SessionBeanType

depends

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

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

getAllDepends

List<String> getAllDepends()
Returns all depends elements

Returns:
list of depends

removeAllDepends

SessionBeanType<T> removeAllDepends()
Removes the depends element

Returns:
the current instance of SessionBeanType

getOrCreateAnnotation

AnnotationType<SessionBeanType<T>> getOrCreateAnnotation()
If not already created, a new annotation element will be created and returned. Otherwise, the first existing annotation element will be returned.

Returns:
the instance defined for the element annotation

createAnnotation

AnnotationType<SessionBeanType<T>> createAnnotation()
Creates a new annotation element

Returns:
the new created instance of AnnotationType>

getAllAnnotation

List<AnnotationType<SessionBeanType<T>>> getAllAnnotation()
Returns all annotation elements

Returns:
list of annotation

removeAllAnnotation

SessionBeanType<T> removeAllAnnotation()
Removes all annotation elements

Returns:
the current instance of AnnotationType>

getOrCreateIgnoreDependency

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

Returns:
a new or existing instance of IgnoreDependencyType>

removeIgnoreDependency

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

Returns:
the current instance of SessionBeanType

aopDomainName

SessionBeanType<T> aopDomainName(String aopDomainName)
Sets the aop-domain-name element

Parameters:
aopDomainName - the value for the element aop-domain-name
Returns:
the current instance of SessionBeanType

getAopDomainName

String getAopDomainName()
Returns the aop-domain-name element

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

removeAopDomainName

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

Returns:
the current instance of SessionBeanType

getOrCreateCacheConfig

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

Returns:
a new or existing instance of CacheConfigType>

removeCacheConfig

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

Returns:
the current instance of SessionBeanType

getOrCreatePoolConfig

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

Returns:
a new or existing instance of PoolConfigType>

removePoolConfig

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

Returns:
the current instance of SessionBeanType

concurrent

SessionBeanType<T> concurrent(Boolean concurrent)
Sets the concurrent element

Parameters:
concurrent - the value for the element concurrent
Returns:
the current instance of SessionBeanType

isConcurrent

Boolean isConcurrent()
Returns the concurrent element

Returns:
the node defined for the element concurrent

removeConcurrent

SessionBeanType<T> removeConcurrent()
Removes the concurrent element

Returns:
the current instance of SessionBeanType

getOrCreateJndiRef

JndiRefType<SessionBeanType<T>> getOrCreateJndiRef()
If not already created, a new jndi-ref element will be created and returned. Otherwise, the first existing jndi-ref element will be returned.

Returns:
the instance defined for the element jndi-ref

createJndiRef

JndiRefType<SessionBeanType<T>> createJndiRef()
Creates a new jndi-ref element

Returns:
the new created instance of JndiRefType>

getAllJndiRef

List<JndiRefType<SessionBeanType<T>>> getAllJndiRef()
Returns all jndi-ref elements

Returns:
list of jndi-ref

removeAllJndiRef

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

Returns:
the current instance of JndiRefType>

getOrCreatePortComponent

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

Returns:
a new or existing instance of PortComponentType>

removePortComponent

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

Returns:
the current instance of SessionBeanType

getOrCreateEjbTimeoutIdentity

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

Returns:
a new or existing instance of SecurityIdentityType>

removeEjbTimeoutIdentity

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

Returns:
the current instance of SessionBeanType

id

SessionBeanType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of SessionBeanType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

SessionBeanType<T> removeId()
Removes the id attribute

Returns:
the current instance of SessionBeanType


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