ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar30
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 :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 AroundInvokeType<SessionBeanType<T>> createAroundInvoke()
          Creates a new around-invoke 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
 InitMethodType<SessionBeanType<T>> createInitMethod()
          Creates a new init-method 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>> createPostActivate()
          Creates a new post-activate element
 LifecycleCallbackType<SessionBeanType<T>> createPostConstruct()
          Creates a new post-construct element
 LifecycleCallbackType<SessionBeanType<T>> createPreDestroy()
          Creates a new pre-destroy element
 LifecycleCallbackType<SessionBeanType<T>> createPrePassivate()
          Creates a new pre-passivate element
 RemoveMethodType<SessionBeanType<T>> createRemoveMethod()
          Creates a new remove-method element
 ResourceEnvRefType<SessionBeanType<T>> createResourceEnvRef()
          Creates a new resource-env-ref element
 ResourceRefType<SessionBeanType<T>> createResourceRef()
          Creates a new resource-ref element
 SecurityRoleRefType<SessionBeanType<T>> createSecurityRoleRef()
          Creates a new security-role-ref element
 ServiceRefType<SessionBeanType<T>> createServiceRef()
          Creates a new service-ref 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> ejbClass(String ejbClass)
          Sets the ejb-class element
 SessionBeanType<T> ejbName(String ejbName)
          Sets the ejb-name element
 List<AroundInvokeType<SessionBeanType<T>>> getAllAroundInvoke()
          Returns all around-invoke elements
 List<String> getAllBusinessLocal()
          Returns all business-local elements
 List<String> getAllBusinessRemote()
          Returns all business-remote 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<InitMethodType<SessionBeanType<T>>> getAllInitMethod()
          Returns all init-method 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>>> getAllPostActivate()
          Returns all post-activate elements
 List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostConstruct()
          Returns all post-construct elements
 List<LifecycleCallbackType<SessionBeanType<T>>> getAllPreDestroy()
          Returns all pre-destroy elements
 List<LifecycleCallbackType<SessionBeanType<T>>> getAllPrePassivate()
          Returns all pre-passivate elements
 List<RemoveMethodType<SessionBeanType<T>>> getAllRemoveMethod()
          Returns all remove-method elements
 List<ResourceEnvRefType<SessionBeanType<T>>> getAllResourceEnvRef()
          Returns all resource-env-ref elements
 List<ResourceRefType<SessionBeanType<T>>> getAllResourceRef()
          Returns all resource-ref elements
 List<SecurityRoleRefType<SessionBeanType<T>>> getAllSecurityRoleRef()
          Returns all security-role-ref elements
 List<ServiceRefType<SessionBeanType<T>>> getAllServiceRef()
          Returns all service-ref elements
 String getEjbClass()
          Returns the ejb-class element
 String getEjbName()
          Returns the ejb-name element
 String getHome()
          Returns the home element
 String getLocal()
          Returns the local element
 String getLocalHome()
          Returns the local-home element
 String getMappedName()
          Returns the mapped-name element
 AroundInvokeType<SessionBeanType<T>> getOrCreateAroundInvoke()
          If not already created, a new around-invoke element will be created and returned.
 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.
 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.
 InitMethodType<SessionBeanType<T>> getOrCreateInitMethod()
          If not already created, a new init-method 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.
 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.
 LifecycleCallbackType<SessionBeanType<T>> getOrCreatePostActivate()
          If not already created, a new post-activate element will be created and returned.
 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.
 LifecycleCallbackType<SessionBeanType<T>> getOrCreatePrePassivate()
          If not already created, a new pre-passivate element will be created and returned.
 RemoveMethodType<SessionBeanType<T>> getOrCreateRemoveMethod()
          If not already created, a new remove-method 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.
 SecurityRoleRefType<SessionBeanType<T>> getOrCreateSecurityRoleRef()
          If not already created, a new security-role-ref element will be created and returned.
 ServiceRefType<SessionBeanType<T>> getOrCreateServiceRef()
          If not already created, a new service-ref element will be created and returned.
 NamedMethodType<SessionBeanType<T>> getOrCreateTimeoutMethod()
          If not already created, a new timeout-method element with the given value will be created.
 String getRemote()
          Returns the remote element
 String getServiceEndpoint()
          Returns the service-endpoint element
 SessionTypeType getSessionType()
          Returns the session-type element
 String getSessionTypeAsString()
          Returns the session-type element
 TransactionTypeType getTransactionType()
          Returns the transaction-type element
 String getTransactionTypeAsString()
          Returns the transaction-type element
 SessionBeanType<T> home(String home)
          Sets the home element
 SessionBeanType<T> local(String local)
          Sets the local element
 SessionBeanType<T> localHome(String localHome)
          Sets the local-home element
 SessionBeanType<T> mappedName(String mappedName)
          Sets the mapped-name element
 SessionBeanType<T> remote(String remote)
          Sets the remote element
 SessionBeanType<T> removeAllAroundInvoke()
          Removes all around-invoke elements
 SessionBeanType<T> removeAllBusinessLocal()
          Removes the business-local element
 SessionBeanType<T> removeAllBusinessRemote()
          Removes the business-remote 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> removeAllInitMethod()
          Removes all init-method 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> removeAllPostActivate()
          Removes all post-activate elements
 SessionBeanType<T> removeAllPostConstruct()
          Removes all post-construct elements
 SessionBeanType<T> removeAllPreDestroy()
          Removes all pre-destroy elements
 SessionBeanType<T> removeAllPrePassivate()
          Removes all pre-passivate elements
 SessionBeanType<T> removeAllRemoveMethod()
          Removes all remove-method elements
 SessionBeanType<T> removeAllResourceEnvRef()
          Removes all resource-env-ref elements
 SessionBeanType<T> removeAllResourceRef()
          Removes all resource-ref elements
 SessionBeanType<T> removeAllSecurityRoleRef()
          Removes all security-role-ref elements
 SessionBeanType<T> removeAllServiceRef()
          Removes all service-ref elements
 SessionBeanType<T> removeEjbClass()
          Removes the ejb-class element
 SessionBeanType<T> removeEjbName()
          Removes the ejb-name element
 SessionBeanType<T> removeHome()
          Removes the home element
 SessionBeanType<T> removeLocal()
          Removes the local element
 SessionBeanType<T> removeLocalHome()
          Removes the local-home element
 SessionBeanType<T> removeMappedName()
          Removes the mapped-name element
 SessionBeanType<T> removeRemote()
          Removes the remote element
 SessionBeanType<T> removeSecurityIdentity()
          Removes the security-identity element
 SessionBeanType<T> removeServiceEndpoint()
          Removes the service-endpoint element
 SessionBeanType<T> removeSessionType()
          Removes the session-type attribute
 SessionBeanType<T> removeTimeoutMethod()
          Removes the timeout-method element
 SessionBeanType<T> removeTransactionType()
          Removes the transaction-type attribute
 SessionBeanType<T> serviceEndpoint(String serviceEndpoint)
          Sets the service-endpoint element
 SessionBeanType<T> sessionType(SessionTypeType sessionType)
          Sets the session-type element
 SessionBeanType<T> sessionType(String sessionType)
          Sets the session-type element
 SessionBeanType<T> transactionType(String transactionType)
          Sets the transaction-type element
 SessionBeanType<T> transactionType(TransactionTypeType transactionType)
          Sets the transaction-type 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

home

SessionBeanType<T> home(String home)
Sets the home element

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

getHome

String getHome()
Returns the home element

Returns:
the node defined for the element home

removeHome

SessionBeanType<T> removeHome()
Removes the home element

Returns:
the current instance of SessionBeanType

remote

SessionBeanType<T> remote(String remote)
Sets the remote element

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

getRemote

String getRemote()
Returns the remote element

Returns:
the node defined for the element remote

removeRemote

SessionBeanType<T> removeRemote()
Removes the remote element

Returns:
the current instance of SessionBeanType

localHome

SessionBeanType<T> localHome(String localHome)
Sets the local-home element

Parameters:
localHome - the value for the element local-home
Returns:
the current instance of SessionBeanType

getLocalHome

String getLocalHome()
Returns the local-home element

Returns:
the node defined for the element local-home

removeLocalHome

SessionBeanType<T> removeLocalHome()
Removes the local-home element

Returns:
the current instance of SessionBeanType

local

SessionBeanType<T> local(String local)
Sets the local element

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

getLocal

String getLocal()
Returns the local element

Returns:
the node defined for the element local

removeLocal

SessionBeanType<T> removeLocal()
Removes the local element

Returns:
the current instance of SessionBeanType

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

serviceEndpoint

SessionBeanType<T> serviceEndpoint(String serviceEndpoint)
Sets the service-endpoint element

Parameters:
serviceEndpoint - the value for the element service-endpoint
Returns:
the current instance of SessionBeanType

getServiceEndpoint

String getServiceEndpoint()
Returns the service-endpoint element

Returns:
the node defined for the element service-endpoint

removeServiceEndpoint

SessionBeanType<T> removeServiceEndpoint()
Removes the service-endpoint element

Returns:
the current instance of SessionBeanType

ejbClass

SessionBeanType<T> ejbClass(String ejbClass)
Sets the ejb-class element

Parameters:
ejbClass - the value for the element ejb-class
Returns:
the current instance of SessionBeanType

getEjbClass

String getEjbClass()
Returns the ejb-class element

Returns:
the node defined for the element ejb-class

removeEjbClass

SessionBeanType<T> removeEjbClass()
Removes the ejb-class element

Returns:
the current instance of SessionBeanType

sessionType

SessionBeanType<T> sessionType(SessionTypeType sessionType)
Sets the session-type element

Parameters:
sessionType - the value for the element session-type
Returns:
the current instance of SessionBeanType

sessionType

SessionBeanType<T> sessionType(String sessionType)
Sets the session-type element

Parameters:
sessionType - the value for the element session-type
Returns:
the current instance of SessionBeanType

getSessionType

SessionTypeType getSessionType()
Returns the session-type element

Returns:
the value found for the element session-type

getSessionTypeAsString

String getSessionTypeAsString()
Returns the session-type element

Returns:
the value found for the element session-type

removeSessionType

SessionBeanType<T> removeSessionType()
Removes the session-type attribute

Returns:
the current instance of SessionBeanType

getOrCreateTimeoutMethod

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

Returns:
a new or existing instance of NamedMethodType>

removeTimeoutMethod

SessionBeanType<T> removeTimeoutMethod()
Removes the timeout-method element

Returns:
the current instance of SessionBeanType

getOrCreateInitMethod

InitMethodType<SessionBeanType<T>> getOrCreateInitMethod()
If not already created, a new init-method element will be created and returned. Otherwise, the first existing init-method element will be returned.

Returns:
the instance defined for the element init-method

createInitMethod

InitMethodType<SessionBeanType<T>> createInitMethod()
Creates a new init-method element

Returns:
the new created instance of InitMethodType>

getAllInitMethod

List<InitMethodType<SessionBeanType<T>>> getAllInitMethod()
Returns all init-method elements

Returns:
list of init-method

removeAllInitMethod

SessionBeanType<T> removeAllInitMethod()
Removes all init-method elements

Returns:
the current instance of InitMethodType>

getOrCreateRemoveMethod

RemoveMethodType<SessionBeanType<T>> getOrCreateRemoveMethod()
If not already created, a new remove-method element will be created and returned. Otherwise, the first existing remove-method element will be returned.

Returns:
the instance defined for the element remove-method

createRemoveMethod

RemoveMethodType<SessionBeanType<T>> createRemoveMethod()
Creates a new remove-method element

Returns:
the new created instance of RemoveMethodType>

getAllRemoveMethod

List<RemoveMethodType<SessionBeanType<T>>> getAllRemoveMethod()
Returns all remove-method elements

Returns:
list of remove-method

removeAllRemoveMethod

SessionBeanType<T> removeAllRemoveMethod()
Removes all remove-method elements

Returns:
the current instance of RemoveMethodType>

transactionType

SessionBeanType<T> transactionType(TransactionTypeType transactionType)
Sets the transaction-type element

Parameters:
transactionType - the value for the element transaction-type
Returns:
the current instance of SessionBeanType

transactionType

SessionBeanType<T> transactionType(String transactionType)
Sets the transaction-type element

Parameters:
transactionType - the value for the element transaction-type
Returns:
the current instance of SessionBeanType

getTransactionType

TransactionTypeType getTransactionType()
Returns the transaction-type element

Returns:
the value found for the element transaction-type

getTransactionTypeAsString

String getTransactionTypeAsString()
Returns the transaction-type element

Returns:
the value found for the element transaction-type

removeTransactionType

SessionBeanType<T> removeTransactionType()
Removes the transaction-type attribute

Returns:
the current instance of SessionBeanType

getOrCreateAroundInvoke

AroundInvokeType<SessionBeanType<T>> getOrCreateAroundInvoke()
If not already created, a new around-invoke element will be created and returned. Otherwise, the first existing around-invoke element will be returned.

Returns:
the instance defined for the element around-invoke

createAroundInvoke

AroundInvokeType<SessionBeanType<T>> createAroundInvoke()
Creates a new around-invoke element

Returns:
the new created instance of AroundInvokeType>

getAllAroundInvoke

List<AroundInvokeType<SessionBeanType<T>>> getAllAroundInvoke()
Returns all around-invoke elements

Returns:
list of around-invoke

removeAllAroundInvoke

SessionBeanType<T> removeAllAroundInvoke()
Removes all around-invoke elements

Returns:
the current instance of AroundInvokeType>

getOrCreatePostActivate

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

Returns:
the instance defined for the element post-activate

createPostActivate

LifecycleCallbackType<SessionBeanType<T>> createPostActivate()
Creates a new post-activate element

Returns:
the new created instance of LifecycleCallbackType>

getAllPostActivate

List<LifecycleCallbackType<SessionBeanType<T>>> getAllPostActivate()
Returns all post-activate elements

Returns:
list of post-activate

removeAllPostActivate

SessionBeanType<T> removeAllPostActivate()
Removes all post-activate elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreatePrePassivate

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

Returns:
the instance defined for the element pre-passivate

createPrePassivate

LifecycleCallbackType<SessionBeanType<T>> createPrePassivate()
Creates a new pre-passivate element

Returns:
the new created instance of LifecycleCallbackType>

getAllPrePassivate

List<LifecycleCallbackType<SessionBeanType<T>>> getAllPrePassivate()
Returns all pre-passivate elements

Returns:
list of pre-passivate

removeAllPrePassivate

SessionBeanType<T> removeAllPrePassivate()
Removes all pre-passivate elements

Returns:
the current instance of LifecycleCallbackType>

getOrCreateSecurityRoleRef

SecurityRoleRefType<SessionBeanType<T>> getOrCreateSecurityRoleRef()
If not already created, a new security-role-ref element will be created and returned. Otherwise, the first existing security-role-ref element will be returned.

Returns:
the instance defined for the element security-role-ref

createSecurityRoleRef

SecurityRoleRefType<SessionBeanType<T>> createSecurityRoleRef()
Creates a new security-role-ref element

Returns:
the new created instance of SecurityRoleRefType>

getAllSecurityRoleRef

List<SecurityRoleRefType<SessionBeanType<T>>> getAllSecurityRoleRef()
Returns all security-role-ref elements

Returns:
list of security-role-ref

removeAllSecurityRoleRef

SessionBeanType<T> removeAllSecurityRoleRef()
Removes all security-role-ref elements

Returns:
the current instance of SecurityRoleRefType>

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

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

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