Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.impl.ejbjar30
Class SessionBeanTypeImpl<T>

    java.lang.Object
      org.jboss.shrinkwrap.descriptor.impl.ejbjar30.SessionBeanTypeImpl<T>

All Implemented Interfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>, SessionBeanType<T>

    public class SessionBeanTypeImpl<T>

extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, SessionBeanType<T>

This class implements the `session-beanType` xsd type

Original Documentation:

The session-beanType declares an session bean. The
declaration consists of:
- an optional description
- an optional display name
- an optional icon element that contains a small and a large
icon file name
- a name assigned to the enterprise bean
in the deployment description
- an optional mapped-name element that can be used to provide
vendor-specific deployment information such as the physical
jndi-name of the session bean's remote home/business interface.
This element is not required to be supported by all
implementations. Any use of this element is non-portable.
- the names of all the remote or local business interfaces,
if any
- the names of the session bean's remote home and
remote interfaces, if any
- the names of the session bean's local home and
local interfaces, if any
- the name of the session bean's web service endpoint
interface, if any
- the session bean's implementation class
- the session bean's state management type
- an optional declaration of the session bean's timeout method.
- the optional session bean's transaction management type.
If it is not present, it is defaulted to Container.
- an optional list of the session bean class and/or
superclass around-invoke methods.
- an optional declaration of the bean's
environment entries
- an optional declaration of the bean's EJB references
- an optional declaration of the bean's local
EJB references
- an optional declaration of the bean's web
service references
- an optional declaration of the security role
references
- an optional declaration of the security identity
to be used for the execution of the bean's methods
- an optional declaration of the bean's resource
manager connection factory references
- an optional declaration of the bean's resource
environment references.
- an optional declaration of the bean's message
destination references
The elements that are optional are "optional" in the sense
that they are omitted when if lists represented by them are
empty.
Either both the local-home and the local elements or both
the home and the remote elements must be specified for the
session bean.
The service-endpoint element may only be specified if the
bean is a stateless session bean.

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

Constructor Summary
`SessionBeanTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)`
`SessionBeanTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)`

Method Summary
`AroundInvokeType<SessionBeanType<T>>` | `aroundInvoke()` Returns the `around-invoke` element
`EjbLocalRefType<SessionBeanType<T>>` | `ejbLocalRef()` Returns the `ejb-local-ref` element
`EjbRefType<SessionBeanType<T>>` | `ejbRef()` Returns the `ejb-ref` element
`EnvEntryType<SessionBeanType<T>>` | `envEntry()` Returns the `env-entry` element
`java.util.List<AroundInvokeType<SessionBeanType<T>>>` | `getAroundInvokeList()` Returns all `around-invoke` elements
`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>` | `getDescriptionList()` Returns all `description` elements
`java.util.List<java.lang.String>` | `getDisplayNameList()` Returns all `display-name` elements
`java.lang.String` | `getEjbClass()` Returns the `ejb-class` element
`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` | `getHome()` Returns the `home` element
`java.util.List<IconType<SessionBeanType<T>>>` | `getIconList()` Returns all `icon` elements
`java.util.List<InitMethodType<SessionBeanType<T>>>` | `getInitMethodList()` Returns all `init-method` elements
`java.lang.String` | `getLocal()` Returns the `local` element
`java.lang.String` | `getLocalHome()` Returns the `local-home` 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>>>` | `getPostActivateList()` Returns all `post-activate` 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<LifecycleCallbackType<SessionBeanType<T>>>` | `getPrePassivateList()` Returns all `pre-passivate` elements
`java.lang.String` | `getRemote()` Returns the `remote` element
`java.util.List<RemoveMethodType<SessionBeanType<T>>>` | `getRemoveMethodList()` Returns all `remove-method` 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.util.List<SecurityRoleRefType<SessionBeanType<T>>>` | `getSecurityRoleRefList()` Returns all `security-role-ref` elements
`java.lang.String` | `getServiceEndpoint()` Returns the `service-endpoint` element
`java.util.List<ServiceRefType<SessionBeanType<T>>>` | `getServiceRefList()` Returns all `service-ref` elements
`SessionTypeType` | `getSessionType()` Returns the `session-type` element
`java.lang.String` | `getSessionTypeAsString()` Returns the `session-type` element
`TransactionTypeType` | `getTransactionType()` Returns the `transaction-type` element
`java.lang.String` | `getTransactionTypeAsString()` Returns the `transaction-type` element
`IconType<SessionBeanType<T>>` | `icon()` Returns the `icon` element
`InitMethodType<SessionBeanType<T>>` | `initMethod()` Returns the `init-method` element
`MessageDestinationRefType<SessionBeanType<T>>` | `messageDestinationRef()` Returns the `message-destination-ref` element
`PersistenceContextRefType<SessionBeanType<T>>` | `persistenceContextRef()` Returns the `persistence-context-ref` element
`PersistenceUnitRefType<SessionBeanType<T>>` | `persistenceUnitRef()` Returns the `persistence-unit-ref` element
`LifecycleCallbackType<SessionBeanType<T>>` | `postActivate()` Returns the `post-activate` element
`LifecycleCallbackType<SessionBeanType<T>>` | `postConstruct()` Returns the `post-construct` element
`LifecycleCallbackType<SessionBeanType<T>>` | `preDestroy()` Returns the `pre-destroy` element
`LifecycleCallbackType<SessionBeanType<T>>` | `prePassivate()` Returns the `pre-passivate` 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
`RemoveMethodType<SessionBeanType<T>>` | `removeMethod()` Returns the `remove-method` 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>` | `removeTimeoutMethod()` Removes the `timeout-method` 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.
`SecurityRoleRefType<SessionBeanType<T>>` | `securityRoleRef()` Returns the `security-role-ref` element
`ServiceRefType<SessionBeanType<T>>` | `serviceRef()` Returns the `service-ref` element
`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>` | `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>` | `setEjbClass(java.lang.String ejbClass)` If not already created, a new `ejb-class` element with the given value will be created.
`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>` | `setHome(java.lang.String home)` If not already created, a new `home` element with the given value will be created.
`SessionBeanType<T>` | `setLocal(java.lang.String local)` If not already created, a new `local` element with the given value will be created.
`SessionBeanType<T>` | `setLocalHome(java.lang.String localHome)` If not already created, a new `local-home` 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>` | `setRemote(java.lang.String remote)` If not already created, a new `remote` element with the given value will be created.
`SessionBeanType<T>` | `setServiceEndpoint(java.lang.String serviceEndpoint)` If not already created, a new `service-endpoint` element with the given value will be created.
`SessionBeanType<T>` | `setSessionType(SessionTypeType sessionType)` If not already created, a new `session-type` element with the given value will be created.
`SessionBeanType<T>` | `setSessionType(java.lang.String sessionType)` If not already created, a new `session-type` element with the given value will be created.
`SessionBeanType<T>` | `setTransactionType(java.lang.String transactionType)` If not already created, a new `transaction-type` element with the given value will be created.
`SessionBeanType<T>` | `setTransactionType(TransactionTypeType transactionType)` If not already created, a new `transaction-type` element with the given value will be created.
`NamedMethodType<SessionBeanType<T>>` | `timeoutMethod()` If not already created, a new `timeout-method` element will be created and returned.
`T` | `up()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SessionBeanTypeImpl

    public SessionBeanTypeImpl(T t,
                               java.lang.String nodeName,
                               org.jboss.shrinkwrap.descriptor.spi.Node node)

### SessionBeanTypeImpl

    public SessionBeanTypeImpl(T t,
                               java.lang.String nodeName,
                               org.jboss.shrinkwrap.descriptor.spi.Node node,
                               org.jboss.shrinkwrap.descriptor.spi.Node childNode)

Method Detail

### up

    public T up()

  Specified by:
    `up` in interface `org.jboss.shrinkwrap.descriptor.api.Child<T>`

### setDescription

    public SessionBeanType<T> setDescription(java.lang.String description)

  Creates a new `description` element

  Specified by:
    `setDescription` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setDescriptionList

    public SessionBeanType<T> setDescriptionList(java.lang.String... values)

  Creates for all String objects representing `description` elements, a new `description` element

  Specified by:
    `setDescriptionList` in interface `SessionBeanType<T>`
  Parameters:
    `list` - of `description` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllDescription

    public SessionBeanType<T> removeAllDescription()

  Removes the `description` element

  Specified by:
    `removeAllDescription` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getDescriptionList

    public java.util.List<java.lang.String> getDescriptionList()

  Returns all `description` elements

  Specified by:
    `getDescriptionList` in interface `SessionBeanType<T>`
  Returns:
    list of `description`

### setDisplayName

    public SessionBeanType<T> setDisplayName(java.lang.String displayName)

  Creates a new `display-name` element

  Specified by:
    `setDisplayName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setDisplayNameList

    public SessionBeanType<T> setDisplayNameList(java.lang.String... values)

  Creates for all String objects representing `display-name` elements, a new `display-name` element

  Specified by:
    `setDisplayNameList` in interface `SessionBeanType<T>`
  Parameters:
    `list` - of `display-name` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllDisplayName

    public SessionBeanType<T> removeAllDisplayName()

  Removes the `display-name` element

  Specified by:
    `removeAllDisplayName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getDisplayNameList

    public java.util.List<java.lang.String> getDisplayNameList()

  Returns all `display-name` elements

  Specified by:
    `getDisplayNameList` in interface `SessionBeanType<T>`
  Returns:
    list of `display-name`

### removeAllIcon

    public SessionBeanType<T> removeAllIcon()

  Removes all `icon` elements

  Specified by:
    `removeAllIcon` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### icon

    public IconType<SessionBeanType<T>> icon()

  Returns the `icon` element

  Specified by:
    `icon` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `icon`

### getIconList

    public java.util.List<IconType<SessionBeanType<T>>> getIconList()

  Returns all `icon` elements

  Specified by:
    `getIconList` in interface `SessionBeanType<T>`
  Returns:
    list of `icon`

### removeAllEnvEntry

    public SessionBeanType<T> removeAllEnvEntry()

  Removes all `env-entry` elements

  Specified by:
    `removeAllEnvEntry` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### envEntry

    public EnvEntryType<SessionBeanType<T>> envEntry()

  Returns the `env-entry` element

  Specified by:
    `envEntry` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `env-entry`

### getEnvEntryList

    public java.util.List<EnvEntryType<SessionBeanType<T>>> getEnvEntryList()

  Returns all `env-entry` elements

  Specified by:
    `getEnvEntryList` in interface `SessionBeanType<T>`
  Returns:
    list of `env-entry`

### removeAllEjbRef

    public SessionBeanType<T> removeAllEjbRef()

  Removes all `ejb-ref` elements

  Specified by:
    `removeAllEjbRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### ejbRef

    public EjbRefType<SessionBeanType<T>> ejbRef()

  Returns the `ejb-ref` element

  Specified by:
    `ejbRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `ejb-ref`

### getEjbRefList

    public java.util.List<EjbRefType<SessionBeanType<T>>> getEjbRefList()

  Returns all `ejb-ref` elements

  Specified by:
    `getEjbRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `ejb-ref`

### removeAllEjbLocalRef

    public SessionBeanType<T> removeAllEjbLocalRef()

  Removes all `ejb-local-ref` elements

  Specified by:
    `removeAllEjbLocalRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### ejbLocalRef

    public EjbLocalRefType<SessionBeanType<T>> ejbLocalRef()

  Returns the `ejb-local-ref` element

  Specified by:
    `ejbLocalRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `ejb-local-ref`

### getEjbLocalRefList

    public java.util.List<EjbLocalRefType<SessionBeanType<T>>> getEjbLocalRefList()

  Returns all `ejb-local-ref` elements

  Specified by:
    `getEjbLocalRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `ejb-local-ref`

### removeAllResourceRef

    public SessionBeanType<T> removeAllResourceRef()

  Removes all `resource-ref` elements

  Specified by:
    `removeAllResourceRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### resourceRef

    public ResourceRefType<SessionBeanType<T>> resourceRef()

  Returns the `resource-ref` element

  Specified by:
    `resourceRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `resource-ref`

### getResourceRefList

    public java.util.List<ResourceRefType<SessionBeanType<T>>> getResourceRefList()

  Returns all `resource-ref` elements

  Specified by:
    `getResourceRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `resource-ref`

### removeAllResourceEnvRef

    public SessionBeanType<T> removeAllResourceEnvRef()

  Removes all `resource-env-ref` elements

  Specified by:
    `removeAllResourceEnvRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### resourceEnvRef

    public ResourceEnvRefType<SessionBeanType<T>> resourceEnvRef()

  Returns the `resource-env-ref` element

  Specified by:
    `resourceEnvRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `resource-env-ref`

### getResourceEnvRefList

    public java.util.List<ResourceEnvRefType<SessionBeanType<T>>> getResourceEnvRefList()

  Returns all `resource-env-ref` elements

  Specified by:
    `getResourceEnvRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `resource-env-ref`

### removeAllMessageDestinationRef

    public SessionBeanType<T> removeAllMessageDestinationRef()

  Removes all `message-destination-ref` elements

  Specified by:
    `removeAllMessageDestinationRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### messageDestinationRef

    public MessageDestinationRefType<SessionBeanType<T>> messageDestinationRef()

  Returns the `message-destination-ref` element

  Specified by:
    `messageDestinationRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `message-destination-ref`

### getMessageDestinationRefList

    public java.util.List<MessageDestinationRefType<SessionBeanType<T>>> getMessageDestinationRefList()

  Returns all `message-destination-ref` elements

  Specified by:
    `getMessageDestinationRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `message-destination-ref`

### removeAllPersistenceContextRef

    public SessionBeanType<T> removeAllPersistenceContextRef()

  Removes all `persistence-context-ref` elements

  Specified by:
    `removeAllPersistenceContextRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### persistenceContextRef

    public PersistenceContextRefType<SessionBeanType<T>> persistenceContextRef()

  Returns the `persistence-context-ref` element

  Specified by:
    `persistenceContextRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `persistence-context-ref`

### getPersistenceContextRefList

    public java.util.List<PersistenceContextRefType<SessionBeanType<T>>> getPersistenceContextRefList()

  Returns all `persistence-context-ref` elements

  Specified by:
    `getPersistenceContextRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `persistence-context-ref`

### removeAllPersistenceUnitRef

    public SessionBeanType<T> removeAllPersistenceUnitRef()

  Removes all `persistence-unit-ref` elements

  Specified by:
    `removeAllPersistenceUnitRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### persistenceUnitRef

    public PersistenceUnitRefType<SessionBeanType<T>> persistenceUnitRef()

  Returns the `persistence-unit-ref` element

  Specified by:
    `persistenceUnitRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `persistence-unit-ref`

### getPersistenceUnitRefList

    public java.util.List<PersistenceUnitRefType<SessionBeanType<T>>> getPersistenceUnitRefList()

  Returns all `persistence-unit-ref` elements

  Specified by:
    `getPersistenceUnitRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `persistence-unit-ref`

### removeAllPostConstruct

    public SessionBeanType<T> removeAllPostConstruct()

  Removes all `post-construct` elements

  Specified by:
    `removeAllPostConstruct` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### postConstruct

    public LifecycleCallbackType<SessionBeanType<T>> postConstruct()

  Returns the `post-construct` element

  Specified by:
    `postConstruct` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `post-construct`

### getPostConstructList

    public java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostConstructList()

  Returns all `post-construct` elements

  Specified by:
    `getPostConstructList` in interface `SessionBeanType<T>`
  Returns:
    list of `post-construct`

### removeAllPreDestroy

    public SessionBeanType<T> removeAllPreDestroy()

  Removes all `pre-destroy` elements

  Specified by:
    `removeAllPreDestroy` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### preDestroy

    public LifecycleCallbackType<SessionBeanType<T>> preDestroy()

  Returns the `pre-destroy` element

  Specified by:
    `preDestroy` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `pre-destroy`

### getPreDestroyList

    public java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPreDestroyList()

  Returns all `pre-destroy` elements

  Specified by:
    `getPreDestroyList` in interface `SessionBeanType<T>`
  Returns:
    list of `pre-destroy`

### removeAllServiceRef

    public SessionBeanType<T> removeAllServiceRef()

  Removes all `service-ref` elements

  Specified by:
    `removeAllServiceRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### serviceRef

    public ServiceRefType<SessionBeanType<T>> serviceRef()

  Returns the `service-ref` element

  Specified by:
    `serviceRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `service-ref`

### getServiceRefList

    public java.util.List<ServiceRefType<SessionBeanType<T>>> getServiceRefList()

  Returns all `service-ref` elements

  Specified by:
    `getServiceRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `service-ref`

### setEjbName

    public 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.

  Specified by:
    `setEjbName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeEjbName

    public SessionBeanType<T> removeEjbName()

  Removes the `ejb-name` element

  Specified by:
    `removeEjbName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getEjbName

    public java.lang.String getEjbName()

  Returns the `ejb-name` element

  Specified by:
    `getEjbName` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `ejb-name`

### setMappedName

    public 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.

  Specified by:
    `setMappedName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeMappedName

    public SessionBeanType<T> removeMappedName()

  Removes the `mapped-name` element

  Specified by:
    `removeMappedName` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getMappedName

    public java.lang.String getMappedName()

  Returns the `mapped-name` element

  Specified by:
    `getMappedName` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `mapped-name`

### setHome

    public SessionBeanType<T> setHome(java.lang.String home)

  If not already created, a new `home` element with the given value will be created. Otherwise, the existing `home` element will be updated with the given value.

  Specified by:
    `setHome` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeHome

    public SessionBeanType<T> removeHome()

  Removes the `home` element

  Specified by:
    `removeHome` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getHome

    public java.lang.String getHome()

  Returns the `home` element

  Specified by:
    `getHome` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `home`

### setRemote

    public SessionBeanType<T> setRemote(java.lang.String remote)

  If not already created, a new `remote` element with the given value will be created. Otherwise, the existing `remote` element will be updated with the given value.

  Specified by:
    `setRemote` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeRemote

    public SessionBeanType<T> removeRemote()

  Removes the `remote` element

  Specified by:
    `removeRemote` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getRemote

    public java.lang.String getRemote()

  Returns the `remote` element

  Specified by:
    `getRemote` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `remote`

### setLocalHome

    public SessionBeanType<T> setLocalHome(java.lang.String localHome)

  If not already created, a new `local-home` element with the given value will be created. Otherwise, the existing `local-home` element will be updated with the given value.

  Specified by:
    `setLocalHome` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeLocalHome

    public SessionBeanType<T> removeLocalHome()

  Removes the `local-home` element

  Specified by:
    `removeLocalHome` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getLocalHome

    public java.lang.String getLocalHome()

  Returns the `local-home` element

  Specified by:
    `getLocalHome` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `local-home`

### setLocal

    public SessionBeanType<T> setLocal(java.lang.String local)

  If not already created, a new `local` element with the given value will be created. Otherwise, the existing `local` element will be updated with the given value.

  Specified by:
    `setLocal` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeLocal

    public SessionBeanType<T> removeLocal()

  Removes the `local` element

  Specified by:
    `removeLocal` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getLocal

    public java.lang.String getLocal()

  Returns the `local` element

  Specified by:
    `getLocal` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `local`

### setBusinessLocal

    public SessionBeanType<T> setBusinessLocal(java.lang.String businessLocal)

  Creates a new `business-local` element

  Specified by:
    `setBusinessLocal` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setBusinessLocalList

    public SessionBeanType<T> setBusinessLocalList(java.lang.String... values)

  Creates for all String objects representing `business-local` elements, a new `business-local` element

  Specified by:
    `setBusinessLocalList` in interface `SessionBeanType<T>`
  Parameters:
    `list` - of `business-local` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllBusinessLocal

    public SessionBeanType<T> removeAllBusinessLocal()

  Removes the `business-local` element

  Specified by:
    `removeAllBusinessLocal` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getBusinessLocalList

    public java.util.List<java.lang.String> getBusinessLocalList()

  Returns all `business-local` elements

  Specified by:
    `getBusinessLocalList` in interface `SessionBeanType<T>`
  Returns:
    list of `business-local`

### setBusinessRemote

    public SessionBeanType<T> setBusinessRemote(java.lang.String businessRemote)

  Creates a new `business-remote` element

  Specified by:
    `setBusinessRemote` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setBusinessRemoteList

    public SessionBeanType<T> setBusinessRemoteList(java.lang.String... values)

  Creates for all String objects representing `business-remote` elements, a new `business-remote` element

  Specified by:
    `setBusinessRemoteList` in interface `SessionBeanType<T>`
  Parameters:
    `list` - of `business-remote` objects
  Returns:
    the current instance of `SessionBeanType`

### removeAllBusinessRemote

    public SessionBeanType<T> removeAllBusinessRemote()

  Removes the `business-remote` element

  Specified by:
    `removeAllBusinessRemote` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getBusinessRemoteList

    public java.util.List<java.lang.String> getBusinessRemoteList()

  Returns all `business-remote` elements

  Specified by:
    `getBusinessRemoteList` in interface `SessionBeanType<T>`
  Returns:
    list of `business-remote`

### setServiceEndpoint

    public SessionBeanType<T> setServiceEndpoint(java.lang.String serviceEndpoint)

  If not already created, a new `service-endpoint` element with the given value will be created. Otherwise, the existing `service-endpoint` element will be updated with the given value.

  Specified by:
    `setServiceEndpoint` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeServiceEndpoint

    public SessionBeanType<T> removeServiceEndpoint()

  Removes the `service-endpoint` element

  Specified by:
    `removeServiceEndpoint` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getServiceEndpoint

    public java.lang.String getServiceEndpoint()

  Returns the `service-endpoint` element

  Specified by:
    `getServiceEndpoint` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `service-endpoint`

### setEjbClass

    public SessionBeanType<T> setEjbClass(java.lang.String ejbClass)

  If not already created, a new `ejb-class` element with the given value will be created. Otherwise, the existing `ejb-class` element will be updated with the given value.

  Specified by:
    `setEjbClass` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeEjbClass

    public SessionBeanType<T> removeEjbClass()

  Removes the `ejb-class` element

  Specified by:
    `removeEjbClass` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getEjbClass

    public java.lang.String getEjbClass()

  Returns the `ejb-class` element

  Specified by:
    `getEjbClass` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `ejb-class`

### setSessionType

    public SessionBeanType<T> setSessionType(SessionTypeType sessionType)

  If not already created, a new `session-type` element with the given value will be created. Otherwise, the existing `session-type` element will be updated with the given value.

  Specified by:
    `setSessionType` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setSessionType

    public SessionBeanType<T> setSessionType(java.lang.String sessionType)

  If not already created, a new `session-type` element with the given value will be created. Otherwise, the existing `session-type` element will be updated with the given value.

  Specified by:
    `setSessionType` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getSessionType

    public SessionTypeType getSessionType()

  Returns the `session-type` element

  Specified by:
    `getSessionType` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `session-type`

### getSessionTypeAsString

    public java.lang.String getSessionTypeAsString()

  Returns the `session-type` element

  Specified by:
    `getSessionTypeAsString` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `session-type`

### removeTimeoutMethod

    public SessionBeanType<T> removeTimeoutMethod()

  Removes the `timeout-method` element

  Specified by:
    `removeTimeoutMethod` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### timeoutMethod

    public NamedMethodType<SessionBeanType<T>> timeoutMethod()

  If not already created, a new `timeout-method` element will be created and returned. Otherwise, the existing `timeout-method` element will be returned.

  Specified by:
    `timeoutMethod` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `timeout-method`

### removeAllInitMethod

    public SessionBeanType<T> removeAllInitMethod()

  Removes all `init-method` elements

  Specified by:
    `removeAllInitMethod` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### initMethod

    public InitMethodType<SessionBeanType<T>> initMethod()

  Returns the `init-method` element

  Specified by:
    `initMethod` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `init-method`

### getInitMethodList

    public java.util.List<InitMethodType<SessionBeanType<T>>> getInitMethodList()

  Returns all `init-method` elements

  Specified by:
    `getInitMethodList` in interface `SessionBeanType<T>`
  Returns:
    list of `init-method`

### removeAllRemoveMethod

    public SessionBeanType<T> removeAllRemoveMethod()

  Removes all `remove-method` elements

  Specified by:
    `removeAllRemoveMethod` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### removeMethod

    public RemoveMethodType<SessionBeanType<T>> removeMethod()

  Returns the `remove-method` element

  Specified by:
    `removeMethod` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `remove-method`

### getRemoveMethodList

    public java.util.List<RemoveMethodType<SessionBeanType<T>>> getRemoveMethodList()

  Returns all `remove-method` elements

  Specified by:
    `getRemoveMethodList` in interface `SessionBeanType<T>`
  Returns:
    list of `remove-method`

### setTransactionType

    public SessionBeanType<T> setTransactionType(TransactionTypeType transactionType)

  If not already created, a new `transaction-type` element with the given value will be created. Otherwise, the existing `transaction-type` element will be updated with the given value.

  Specified by:
    `setTransactionType` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### setTransactionType

    public SessionBeanType<T> setTransactionType(java.lang.String transactionType)

  If not already created, a new `transaction-type` element with the given value will be created. Otherwise, the existing `transaction-type` element will be updated with the given value.

  Specified by:
    `setTransactionType` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### getTransactionType

    public TransactionTypeType getTransactionType()

  Returns the `transaction-type` element

  Specified by:
    `getTransactionType` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `transaction-type`

### getTransactionTypeAsString

    public java.lang.String getTransactionTypeAsString()

  Returns the `transaction-type` element

  Specified by:
    `getTransactionTypeAsString` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `transaction-type`

### removeAllAroundInvoke

    public SessionBeanType<T> removeAllAroundInvoke()

  Removes all `around-invoke` elements

  Specified by:
    `removeAllAroundInvoke` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### aroundInvoke

    public AroundInvokeType<SessionBeanType<T>> aroundInvoke()

  Returns the `around-invoke` element

  Specified by:
    `aroundInvoke` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `around-invoke`

### getAroundInvokeList

    public java.util.List<AroundInvokeType<SessionBeanType<T>>> getAroundInvokeList()

  Returns all `around-invoke` elements

  Specified by:
    `getAroundInvokeList` in interface `SessionBeanType<T>`
  Returns:
    list of `around-invoke`

### removeAllPostActivate

    public SessionBeanType<T> removeAllPostActivate()

  Removes all `post-activate` elements

  Specified by:
    `removeAllPostActivate` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### postActivate

    public LifecycleCallbackType<SessionBeanType<T>> postActivate()

  Returns the `post-activate` element

  Specified by:
    `postActivate` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `post-activate`

### getPostActivateList

    public java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPostActivateList()

  Returns all `post-activate` elements

  Specified by:
    `getPostActivateList` in interface `SessionBeanType<T>`
  Returns:
    list of `post-activate`

### removeAllPrePassivate

    public SessionBeanType<T> removeAllPrePassivate()

  Removes all `pre-passivate` elements

  Specified by:
    `removeAllPrePassivate` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### prePassivate

    public LifecycleCallbackType<SessionBeanType<T>> prePassivate()

  Returns the `pre-passivate` element

  Specified by:
    `prePassivate` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `pre-passivate`

### getPrePassivateList

    public java.util.List<LifecycleCallbackType<SessionBeanType<T>>> getPrePassivateList()

  Returns all `pre-passivate` elements

  Specified by:
    `getPrePassivateList` in interface `SessionBeanType<T>`
  Returns:
    list of `pre-passivate`

### removeAllSecurityRoleRef

    public SessionBeanType<T> removeAllSecurityRoleRef()

  Removes all `security-role-ref` elements

  Specified by:
    `removeAllSecurityRoleRef` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### securityRoleRef

    public SecurityRoleRefType<SessionBeanType<T>> securityRoleRef()

  Returns the `security-role-ref` element

  Specified by:
    `securityRoleRef` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `security-role-ref`

### getSecurityRoleRefList

    public java.util.List<SecurityRoleRefType<SessionBeanType<T>>> getSecurityRoleRefList()

  Returns all `security-role-ref` elements

  Specified by:
    `getSecurityRoleRefList` in interface `SessionBeanType<T>`
  Returns:
    list of `security-role-ref`

### removeSecurityIdentity

    public SessionBeanType<T> removeSecurityIdentity()

  Removes the `security-identity` element

  Specified by:
    `removeSecurityIdentity` in interface `SessionBeanType<T>`
  Returns:
    the current instance of `SessionBeanType`

### securityIdentity

    public 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.

  Specified by:
    `securityIdentity` in interface `SessionBeanType<T>`
  Returns:
    the node defined for the element `security-identity`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD