All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.shrinkwrap.descriptor.api.ejbjar32.SessionBeanType Maven / Gradle / Ivy

package org.jboss.shrinkwrap.descriptor.api.ejbjar32; 

import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.SessionTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.StatefulTimeoutType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.TimerType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ConcurrencyManagementTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.ConcurrentMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.DependsOnType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.InitMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.RemoveMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.AsyncMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.TransactionTypeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.AroundInvokeType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.AroundTimeoutType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.SecurityIdentityType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.IconType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EnvEntryType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EjbRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.EjbLocalRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ResourceRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ResourceEnvRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MessageDestinationRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PersistenceContextRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.PersistenceUnitRefType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.DataSourceType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.JmsConnectionFactoryType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.JmsDestinationType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.MailSessionType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.ConnectionFactoryResourceType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.AdministeredObjectType;
import org.jboss.shrinkwrap.descriptor.api.javaeewebservicesclient14.ServiceRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.*;
import org.jboss.shrinkwrap.descriptor.api.ejbjar.JavaeeSessionBeanCommonType;

import org.jboss.shrinkwrap.descriptor.api.ejbjar32.NamedMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.InitMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.RemoveMethodType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.AroundInvokeType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.LifecycleCallbackType;
import org.jboss.shrinkwrap.descriptor.api.javaee7.SecurityRoleRefType;
import org.jboss.shrinkwrap.descriptor.api.ejbjar32.SecurityIdentityType;/**
 * This interface defines the contract for the  session-beanType  xsd type 
 * @author Ralf Battenfeld
 * @author Andrew Lee Rubinger
 */
public interface SessionBeanType extends Child, 
    JavaeeSessionBeanCommonType,
    NamedMethodType>,
    InitMethodType>,
    RemoveMethodType>,
    AroundInvokeType>,
    LifecycleCallbackType>,
    LifecycleCallbackType>,
    SecurityRoleRefType>,
    SecurityIdentityType>> { 

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:string ElementType : description
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing description elements, 
    * a new description element 
    * @param values list of description objects 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType description(String ... values);

   /**
    * Returns all description elements
    * @return list of description 
    */
   public List getAllDescription();

   /**
    * Removes the description element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAllDescription();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:token ElementType : display-name
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing display-name elements, 
    * a new display-name element 
    * @param values list of display-name objects 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType displayName(String ... values);

   /**
    * Returns all display-name elements
    * @return list of display-name 
    */
   public List getAllDisplayName();

   /**
    * Removes the display-name element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAllDisplayName();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:iconType ElementType : icon
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new icon element will be created and returned.
    * Otherwise, the first existing icon element will be returned.
    * @return the instance defined for the element icon 
    */
   public IconType> getOrCreateIcon();

   /**
    * Creates a new icon element 
    * @return the new created instance of IconType> 
    */
   public IconType> createIcon();

   /**
    * Returns all icon elements
    * @return list of icon 
    */
   public List>> getAllIcon();

   /**
    * Removes all icon elements 
    * @return the current instance of IconType> 
    */
   public SessionBeanType removeAllIcon();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:env-entryType ElementType : env-entry
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new env-entry element will be created and returned.
    * Otherwise, the first existing env-entry element will be returned.
    * @return the instance defined for the element env-entry 
    */
   public EnvEntryType> getOrCreateEnvEntry();

   /**
    * Creates a new env-entry element 
    * @return the new created instance of EnvEntryType> 
    */
   public EnvEntryType> createEnvEntry();

   /**
    * Returns all env-entry elements
    * @return list of env-entry 
    */
   public List>> getAllEnvEntry();

   /**
    * Removes all env-entry elements 
    * @return the current instance of EnvEntryType> 
    */
   public SessionBeanType removeAllEnvEntry();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:ejb-refType ElementType : ejb-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new ejb-ref element will be created and returned.
    * Otherwise, the first existing ejb-ref element will be returned.
    * @return the instance defined for the element ejb-ref 
    */
   public EjbRefType> getOrCreateEjbRef();

   /**
    * Creates a new ejb-ref element 
    * @return the new created instance of EjbRefType> 
    */
   public EjbRefType> createEjbRef();

   /**
    * Returns all ejb-ref elements
    * @return list of ejb-ref 
    */
   public List>> getAllEjbRef();

   /**
    * Removes all ejb-ref elements 
    * @return the current instance of EjbRefType> 
    */
   public SessionBeanType removeAllEjbRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:ejb-local-refType ElementType : ejb-local-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element ejb-local-ref 
    */
   public EjbLocalRefType> getOrCreateEjbLocalRef();

   /**
    * Creates a new ejb-local-ref element 
    * @return the new created instance of EjbLocalRefType> 
    */
   public EjbLocalRefType> createEjbLocalRef();

   /**
    * Returns all ejb-local-ref elements
    * @return list of ejb-local-ref 
    */
   public List>> getAllEjbLocalRef();

   /**
    * Removes all ejb-local-ref elements 
    * @return the current instance of EjbLocalRefType> 
    */
   public SessionBeanType removeAllEjbLocalRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:resource-refType ElementType : resource-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new resource-ref element will be created and returned.
    * Otherwise, the first existing resource-ref element will be returned.
    * @return the instance defined for the element resource-ref 
    */
   public ResourceRefType> getOrCreateResourceRef();

   /**
    * Creates a new resource-ref element 
    * @return the new created instance of ResourceRefType> 
    */
   public ResourceRefType> createResourceRef();

   /**
    * Returns all resource-ref elements
    * @return list of resource-ref 
    */
   public List>> getAllResourceRef();

   /**
    * Removes all resource-ref elements 
    * @return the current instance of ResourceRefType> 
    */
   public SessionBeanType removeAllResourceRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:resource-env-refType ElementType : resource-env-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element resource-env-ref 
    */
   public ResourceEnvRefType> getOrCreateResourceEnvRef();

   /**
    * Creates a new resource-env-ref element 
    * @return the new created instance of ResourceEnvRefType> 
    */
   public ResourceEnvRefType> createResourceEnvRef();

   /**
    * Returns all resource-env-ref elements
    * @return list of resource-env-ref 
    */
   public List>> getAllResourceEnvRef();

   /**
    * Removes all resource-env-ref elements 
    * @return the current instance of ResourceEnvRefType> 
    */
   public SessionBeanType removeAllResourceEnvRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:message-destination-refType ElementType : message-destination-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element message-destination-ref 
    */
   public MessageDestinationRefType> getOrCreateMessageDestinationRef();

   /**
    * Creates a new message-destination-ref element 
    * @return the new created instance of MessageDestinationRefType> 
    */
   public MessageDestinationRefType> createMessageDestinationRef();

   /**
    * Returns all message-destination-ref elements
    * @return list of message-destination-ref 
    */
   public List>> getAllMessageDestinationRef();

   /**
    * Removes all message-destination-ref elements 
    * @return the current instance of MessageDestinationRefType> 
    */
   public SessionBeanType removeAllMessageDestinationRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:persistence-context-refType ElementType : persistence-context-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element persistence-context-ref 
    */
   public PersistenceContextRefType> getOrCreatePersistenceContextRef();

   /**
    * Creates a new persistence-context-ref element 
    * @return the new created instance of PersistenceContextRefType> 
    */
   public PersistenceContextRefType> createPersistenceContextRef();

   /**
    * Returns all persistence-context-ref elements
    * @return list of persistence-context-ref 
    */
   public List>> getAllPersistenceContextRef();

   /**
    * Removes all persistence-context-ref elements 
    * @return the current instance of PersistenceContextRefType> 
    */
   public SessionBeanType removeAllPersistenceContextRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:persistence-unit-refType ElementType : persistence-unit-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element persistence-unit-ref 
    */
   public PersistenceUnitRefType> getOrCreatePersistenceUnitRef();

   /**
    * Creates a new persistence-unit-ref element 
    * @return the new created instance of PersistenceUnitRefType> 
    */
   public PersistenceUnitRefType> createPersistenceUnitRef();

   /**
    * Returns all persistence-unit-ref elements
    * @return list of persistence-unit-ref 
    */
   public List>> getAllPersistenceUnitRef();

   /**
    * Removes all persistence-unit-ref elements 
    * @return the current instance of PersistenceUnitRefType> 
    */
   public SessionBeanType removeAllPersistenceUnitRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:lifecycle-callbackType ElementType : post-construct
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new post-construct element will be created and returned.
    * Otherwise, the first existing post-construct element will be returned.
    * @return the instance defined for the element post-construct 
    */
   public LifecycleCallbackType> getOrCreatePostConstruct();

   /**
    * Creates a new post-construct element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPostConstruct();

   /**
    * Returns all post-construct elements
    * @return list of post-construct 
    */
   public List>> getAllPostConstruct();

   /**
    * Removes all post-construct elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public SessionBeanType removeAllPostConstruct();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:lifecycle-callbackType ElementType : pre-destroy
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new pre-destroy element will be created and returned.
    * Otherwise, the first existing pre-destroy element will be returned.
    * @return the instance defined for the element pre-destroy 
    */
   public LifecycleCallbackType> getOrCreatePreDestroy();

   /**
    * Creates a new pre-destroy element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPreDestroy();

   /**
    * Returns all pre-destroy elements
    * @return list of pre-destroy 
    */
   public List>> getAllPreDestroy();

   /**
    * Removes all pre-destroy elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public SessionBeanType removeAllPreDestroy();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:data-sourceType ElementType : data-source
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new data-source element will be created and returned.
    * Otherwise, the first existing data-source element will be returned.
    * @return the instance defined for the element data-source 
    */
   public DataSourceType> getOrCreateDataSource();

   /**
    * Creates a new data-source element 
    * @return the new created instance of DataSourceType> 
    */
   public DataSourceType> createDataSource();

   /**
    * Returns all data-source elements
    * @return list of data-source 
    */
   public List>> getAllDataSource();

   /**
    * Removes all data-source elements 
    * @return the current instance of DataSourceType> 
    */
   public SessionBeanType removeAllDataSource();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:jms-connection-factoryType ElementType : jms-connection-factory
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new jms-connection-factory element will be created and returned.
    * Otherwise, the first existing jms-connection-factory element will be returned.
    * @return the instance defined for the element jms-connection-factory 
    */
   public JmsConnectionFactoryType> getOrCreateJmsConnectionFactory();

   /**
    * Creates a new jms-connection-factory element 
    * @return the new created instance of JmsConnectionFactoryType> 
    */
   public JmsConnectionFactoryType> createJmsConnectionFactory();

   /**
    * Returns all jms-connection-factory elements
    * @return list of jms-connection-factory 
    */
   public List>> getAllJmsConnectionFactory();

   /**
    * Removes all jms-connection-factory elements 
    * @return the current instance of JmsConnectionFactoryType> 
    */
   public SessionBeanType removeAllJmsConnectionFactory();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:jms-destinationType ElementType : jms-destination
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new jms-destination element will be created and returned.
    * Otherwise, the first existing jms-destination element will be returned.
    * @return the instance defined for the element jms-destination 
    */
   public JmsDestinationType> getOrCreateJmsDestination();

   /**
    * Creates a new jms-destination element 
    * @return the new created instance of JmsDestinationType> 
    */
   public JmsDestinationType> createJmsDestination();

   /**
    * Returns all jms-destination elements
    * @return list of jms-destination 
    */
   public List>> getAllJmsDestination();

   /**
    * Removes all jms-destination elements 
    * @return the current instance of JmsDestinationType> 
    */
   public SessionBeanType removeAllJmsDestination();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:mail-sessionType ElementType : mail-session
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new mail-session element will be created and returned.
    * Otherwise, the first existing mail-session element will be returned.
    * @return the instance defined for the element mail-session 
    */
   public MailSessionType> getOrCreateMailSession();

   /**
    * Creates a new mail-session element 
    * @return the new created instance of MailSessionType> 
    */
   public MailSessionType> createMailSession();

   /**
    * Returns all mail-session elements
    * @return list of mail-session 
    */
   public List>> getAllMailSession();

   /**
    * Removes all mail-session elements 
    * @return the current instance of MailSessionType> 
    */
   public SessionBeanType removeAllMailSession();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:connection-factory-resourceType ElementType : connection-factory
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new connection-factory element will be created and returned.
    * Otherwise, the first existing connection-factory element will be returned.
    * @return the instance defined for the element connection-factory 
    */
   public ConnectionFactoryResourceType> getOrCreateConnectionFactory();

   /**
    * Creates a new connection-factory element 
    * @return the new created instance of ConnectionFactoryResourceType> 
    */
   public ConnectionFactoryResourceType> createConnectionFactory();

   /**
    * Returns all connection-factory elements
    * @return list of connection-factory 
    */
   public List>> getAllConnectionFactory();

   /**
    * Removes all connection-factory elements 
    * @return the current instance of ConnectionFactoryResourceType> 
    */
   public SessionBeanType removeAllConnectionFactory();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:administered-objectType ElementType : administered-object
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new administered-object element will be created and returned.
    * Otherwise, the first existing administered-object element will be returned.
    * @return the instance defined for the element administered-object 
    */
   public AdministeredObjectType> getOrCreateAdministeredObject();

   /**
    * Creates a new administered-object element 
    * @return the new created instance of AdministeredObjectType> 
    */
   public AdministeredObjectType> createAdministeredObject();

   /**
    * Returns all administered-object elements
    * @return list of administered-object 
    */
   public List>> getAllAdministeredObject();

   /**
    * Removes all administered-object elements 
    * @return the current instance of AdministeredObjectType> 
    */
   public SessionBeanType removeAllAdministeredObject();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:service-refType ElementType : service-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new service-ref element will be created and returned.
    * Otherwise, the first existing service-ref element will be returned.
    * @return the instance defined for the element service-ref 
    */
   public ServiceRefType> getOrCreateServiceRef();

   /**
    * Creates a new service-ref element 
    * @return the new created instance of ServiceRefType> 
    */
   public ServiceRefType> createServiceRef();

   /**
    * Returns all service-ref elements
    * @return list of service-ref 
    */
   public List>> getAllServiceRef();

   /**
    * Removes all service-ref elements 
    * @return the current instance of ServiceRefType> 
    */
   public SessionBeanType removeAllServiceRef();
 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:xsdNMTOKENType ElementType : ejb-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ejb-name element
    * @param ejbName the value for the element ejb-name 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType ejbName(String ejbName);

   /**
    * Returns the ejb-name element
    * @return the node defined for the element ejb-name 
    */
   public String getEjbName();

   /**
    * Removes the ejb-name element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeEjbName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:string ElementType : mapped-name
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the mapped-name element
    * @param mappedName the value for the element mapped-name 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType mappedName(String mappedName);

   /**
    * Returns the mapped-name element
    * @return the node defined for the element mapped-name 
    */
   public String getMappedName();

   /**
    * Removes the mapped-name element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeMappedName();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:fully-qualified-classType ElementType : home
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the home element
    * @param home the value for the element home 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType home(String home);

   /**
    * Returns the home element
    * @return the node defined for the element home 
    */
   public String getHome();

   /**
    * Removes the home element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeHome();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:fully-qualified-classType ElementType : remote
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the remote element
    * @param remote the value for the element remote 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType remote(String remote);

   /**
    * Returns the remote element
    * @return the node defined for the element remote 
    */
   public String getRemote();

   /**
    * Removes the remote element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeRemote();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:fully-qualified-classType ElementType : local-home
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the local-home element
    * @param localHome the value for the element local-home 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType localHome(String localHome);

   /**
    * Returns the local-home element
    * @return the node defined for the element local-home 
    */
   public String getLocalHome();

   /**
    * Removes the local-home element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeLocalHome();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:fully-qualified-classType ElementType : local
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the local element
    * @param local the value for the element local 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType local(String local);

   /**
    * Returns the local element
    * @return the node defined for the element local 
    */
   public String getLocal();

   /**
    * Removes the local element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeLocal();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:token ElementType : business-local
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing business-local elements, 
    * a new business-local element 
    * @param values list of business-local objects 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType businessLocal(String ... values);

   /**
    * Returns all business-local elements
    * @return list of business-local 
    */
   public List getAllBusinessLocal();

   /**
    * Removes the business-local element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAllBusinessLocal();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:token ElementType : business-remote
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Creates for all String objects representing business-remote elements, 
    * a new business-remote element 
    * @param values list of business-remote objects 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType businessRemote(String ... values);

   /**
    * Returns all business-remote elements
    * @return list of business-remote 
    */
   public List getAllBusinessRemote();

   /**
    * Removes the business-remote element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAllBusinessRemote();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:emptyType ElementType : local-bean
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the local-bean element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType localBean();

   /**
    * Removes the local-bean element 
    * @return the current instance of SessionBeanType 
    */
   public Boolean isLocalBean();

   /**
    * Removes the local-bean element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeLocalBean();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:token ElementType : service-endpoint
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the service-endpoint element
    * @param serviceEndpoint the value for the element service-endpoint 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType serviceEndpoint(String serviceEndpoint);

   /**
    * Returns the service-endpoint element
    * @return the node defined for the element service-endpoint 
    */
   public String getServiceEndpoint();

   /**
    * Removes the service-endpoint element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeServiceEndpoint();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:fully-qualified-classType ElementType : ejb-class
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the ejb-class element
    * @param ejbClass the value for the element ejb-class 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType ejbClass(String ejbClass);

   /**
    * Returns the ejb-class element
    * @return the node defined for the element ejb-class 
    */
   public String getEjbClass();

   /**
    * Removes the ejb-class element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeEjbClass();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:session-typeType ElementType : session-type
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the session-type element
    * @param sessionType the value for the element session-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType sessionType(SessionTypeType sessionType);
   /**
    * Sets the session-type element
    * @param sessionType the value for the element session-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType sessionType(String sessionType);

   /**
    * Returns the session-type element
    * @return the value found for the element session-type 
    */
   public SessionTypeType getSessionType();

   /**
    * Returns the session-type element
    * @return the value found for the element session-type 
    */
   public String  getSessionTypeAsString();

   /**
    * Removes the session-type attribute 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeSessionType();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:stateful-timeoutType ElementType : stateful-timeout
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new stateful-timeout element with the given value will be created.
    * Otherwise, the existing stateful-timeout element will be returned.
    * @return  a new or existing instance of StatefulTimeoutType> 
    */
   public StatefulTimeoutType> getOrCreateStatefulTimeout();

   /**
    * Removes the stateful-timeout element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeStatefulTimeout();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:named-methodType ElementType : timeout-method
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return  a new or existing instance of NamedMethodType> 
    */
   public NamedMethodType> getOrCreateTimeoutMethod();

   /**
    * Removes the timeout-method element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeTimeoutMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:timerType ElementType : timer
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new timer element will be created and returned.
    * Otherwise, the first existing timer element will be returned.
    * @return the instance defined for the element timer 
    */
   public TimerType> getOrCreateTimer();

   /**
    * Creates a new timer element 
    * @return the new created instance of TimerType> 
    */
   public TimerType> createTimer();

   /**
    * Returns all timer elements
    * @return list of timer 
    */
   public List>> getAllTimer();

   /**
    * Removes all timer elements 
    * @return the current instance of TimerType> 
    */
   public SessionBeanType removeAllTimer();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:xsdBooleanType ElementType : init-on-startup
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the init-on-startup element
    * @param initOnStartup the value for the element init-on-startup 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType initOnStartup(Boolean initOnStartup);

   /**
    * Returns the init-on-startup element
    * @return the node defined for the element init-on-startup 
    */
   public Boolean isInitOnStartup();

   /**
    * Removes the init-on-startup element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeInitOnStartup();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:concurrency-management-typeType ElementType : concurrency-management-type
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the concurrency-management-type element
    * @param concurrencyManagementType the value for the element concurrency-management-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType concurrencyManagementType(ConcurrencyManagementTypeType concurrencyManagementType);
   /**
    * Sets the concurrency-management-type element
    * @param concurrencyManagementType the value for the element concurrency-management-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType concurrencyManagementType(String concurrencyManagementType);

   /**
    * Returns the concurrency-management-type element
    * @return the value found for the element concurrency-management-type 
    */
   public ConcurrencyManagementTypeType getConcurrencyManagementType();

   /**
    * Returns the concurrency-management-type element
    * @return the value found for the element concurrency-management-type 
    */
   public String  getConcurrencyManagementTypeAsString();

   /**
    * Removes the concurrency-management-type attribute 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeConcurrencyManagementType();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:concurrent-methodType ElementType : concurrent-method
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new concurrent-method element will be created and returned.
    * Otherwise, the first existing concurrent-method element will be returned.
    * @return the instance defined for the element concurrent-method 
    */
   public ConcurrentMethodType> getOrCreateConcurrentMethod();

   /**
    * Creates a new concurrent-method element 
    * @return the new created instance of ConcurrentMethodType> 
    */
   public ConcurrentMethodType> createConcurrentMethod();

   /**
    * Returns all concurrent-method elements
    * @return list of concurrent-method 
    */
   public List>> getAllConcurrentMethod();

   /**
    * Removes all concurrent-method elements 
    * @return the current instance of ConcurrentMethodType> 
    */
   public SessionBeanType removeAllConcurrentMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:depends-onType ElementType : depends-on
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new depends-on element with the given value will be created.
    * Otherwise, the existing depends-on element will be returned.
    * @return  a new or existing instance of DependsOnType> 
    */
   public DependsOnType> getOrCreateDependsOn();

   /**
    * Removes the depends-on element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeDependsOn();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:init-methodType ElementType : init-method
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new init-method element will be created and returned.
    * Otherwise, the first existing init-method element will be returned.
    * @return the instance defined for the element init-method 
    */
   public InitMethodType> getOrCreateInitMethod();

   /**
    * Creates a new init-method element 
    * @return the new created instance of InitMethodType> 
    */
   public InitMethodType> createInitMethod();

   /**
    * Returns all init-method elements
    * @return list of init-method 
    */
   public List>> getAllInitMethod();

   /**
    * Removes all init-method elements 
    * @return the current instance of InitMethodType> 
    */
   public SessionBeanType removeAllInitMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:remove-methodType ElementType : remove-method
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new remove-method element will be created and returned.
    * Otherwise, the first existing remove-method element will be returned.
    * @return the instance defined for the element remove-method 
    */
   public RemoveMethodType> getOrCreateRemoveMethod();

   /**
    * Creates a new remove-method element 
    * @return the new created instance of RemoveMethodType> 
    */
   public RemoveMethodType> createRemoveMethod();

   /**
    * Returns all remove-method elements
    * @return list of remove-method 
    */
   public List>> getAllRemoveMethod();

   /**
    * Removes all remove-method elements 
    * @return the current instance of RemoveMethodType> 
    */
   public SessionBeanType removeAllRemoveMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:async-methodType ElementType : async-method
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new async-method element will be created and returned.
    * Otherwise, the first existing async-method element will be returned.
    * @return the instance defined for the element async-method 
    */
   public AsyncMethodType> getOrCreateAsyncMethod();

   /**
    * Creates a new async-method element 
    * @return the new created instance of AsyncMethodType> 
    */
   public AsyncMethodType> createAsyncMethod();

   /**
    * Returns all async-method elements
    * @return list of async-method 
    */
   public List>> getAllAsyncMethod();

   /**
    * Removes all async-method elements 
    * @return the current instance of AsyncMethodType> 
    */
   public SessionBeanType removeAllAsyncMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:transaction-typeType ElementType : transaction-type
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: true isDataType: false
   // --------------------------------------------------------------------------------------------------------||
   /**
    * Sets the transaction-type element
    * @param transactionType the value for the element transaction-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType transactionType(TransactionTypeType transactionType);
   /**
    * Sets the transaction-type element
    * @param transactionType the value for the element transaction-type 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType transactionType(String transactionType);

   /**
    * Returns the transaction-type element
    * @return the value found for the element transaction-type 
    */
   public TransactionTypeType getTransactionType();

   /**
    * Returns the transaction-type element
    * @return the value found for the element transaction-type 
    */
   public String  getTransactionTypeAsString();

   /**
    * Removes the transaction-type attribute 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeTransactionType();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:named-methodType ElementType : after-begin-method
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new after-begin-method element with the given value will be created.
    * Otherwise, the existing after-begin-method element will be returned.
    * @return  a new or existing instance of NamedMethodType> 
    */
   public NamedMethodType> getOrCreateAfterBeginMethod();

   /**
    * Removes the after-begin-method element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAfterBeginMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:named-methodType ElementType : before-completion-method
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new before-completion-method element with the given value will be created.
    * Otherwise, the existing before-completion-method element will be returned.
    * @return  a new or existing instance of NamedMethodType> 
    */
   public NamedMethodType> getOrCreateBeforeCompletionMethod();

   /**
    * Removes the before-completion-method element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeBeforeCompletionMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:named-methodType ElementType : after-completion-method
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new after-completion-method element with the given value will be created.
    * Otherwise, the existing after-completion-method element will be returned.
    * @return  a new or existing instance of NamedMethodType> 
    */
   public NamedMethodType> getOrCreateAfterCompletionMethod();

   /**
    * Removes the after-completion-method element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeAfterCompletionMethod();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:around-invokeType ElementType : around-invoke
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new around-invoke element will be created and returned.
    * Otherwise, the first existing around-invoke element will be returned.
    * @return the instance defined for the element around-invoke 
    */
   public AroundInvokeType> getOrCreateAroundInvoke();

   /**
    * Creates a new around-invoke element 
    * @return the new created instance of AroundInvokeType> 
    */
   public AroundInvokeType> createAroundInvoke();

   /**
    * Returns all around-invoke elements
    * @return list of around-invoke 
    */
   public List>> getAllAroundInvoke();

   /**
    * Removes all around-invoke elements 
    * @return the current instance of AroundInvokeType> 
    */
   public SessionBeanType removeAllAroundInvoke();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:around-timeoutType ElementType : around-timeout
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new around-timeout element will be created and returned.
    * Otherwise, the first existing around-timeout element will be returned.
    * @return the instance defined for the element around-timeout 
    */
   public AroundTimeoutType> getOrCreateAroundTimeout();

   /**
    * Creates a new around-timeout element 
    * @return the new created instance of AroundTimeoutType> 
    */
   public AroundTimeoutType> createAroundTimeout();

   /**
    * Returns all around-timeout elements
    * @return list of around-timeout 
    */
   public List>> getAllAroundTimeout();

   /**
    * Removes all around-timeout elements 
    * @return the current instance of AroundTimeoutType> 
    */
   public SessionBeanType removeAllAroundTimeout();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:lifecycle-callbackType ElementType : post-activate
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new post-activate element will be created and returned.
    * Otherwise, the first existing post-activate element will be returned.
    * @return the instance defined for the element post-activate 
    */
   public LifecycleCallbackType> getOrCreatePostActivate();

   /**
    * Creates a new post-activate element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPostActivate();

   /**
    * Returns all post-activate elements
    * @return list of post-activate 
    */
   public List>> getAllPostActivate();

   /**
    * Removes all post-activate elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public SessionBeanType removeAllPostActivate();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:lifecycle-callbackType ElementType : pre-passivate
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * If not already created, a new pre-passivate element will be created and returned.
    * Otherwise, the first existing pre-passivate element will be returned.
    * @return the instance defined for the element pre-passivate 
    */
   public LifecycleCallbackType> getOrCreatePrePassivate();

   /**
    * Creates a new pre-passivate element 
    * @return the new created instance of LifecycleCallbackType> 
    */
   public LifecycleCallbackType> createPrePassivate();

   /**
    * Returns all pre-passivate elements
    * @return list of pre-passivate 
    */
   public List>> getAllPrePassivate();

   /**
    * Removes all pre-passivate elements 
    * @return the current instance of LifecycleCallbackType> 
    */
   public SessionBeanType removeAllPrePassivate();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:security-role-refType ElementType : security-role-ref
   // MaxOccurs: -unbounded  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return the instance defined for the element security-role-ref 
    */
   public SecurityRoleRefType> getOrCreateSecurityRoleRef();

   /**
    * Creates a new security-role-ref element 
    * @return the new created instance of SecurityRoleRefType> 
    */
   public SecurityRoleRefType> createSecurityRoleRef();

   /**
    * Returns all security-role-ref elements
    * @return list of security-role-ref 
    */
   public List>> getAllSecurityRoleRef();

   /**
    * Removes all security-role-ref elements 
    * @return the current instance of SecurityRoleRefType> 
    */
   public SessionBeanType removeAllSecurityRoleRef();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: javaee:security-identityType ElementType : security-identity
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: false
   // --------------------------------------------------------------------------------------------------------||

   /**
    * 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.
    * @return  a new or existing instance of SecurityIdentityType> 
    */
   public SecurityIdentityType> getOrCreateSecurityIdentity();

   /**
    * Removes the security-identity element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeSecurityIdentity();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:boolean ElementType : passivation-capable
   // MaxOccurs: -  isGeneric: true   isAttribute: false isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the passivation-capable element
    * @param passivationCapable the value for the element passivation-capable 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType passivationCapable(Boolean passivationCapable);

   /**
    * Returns the passivation-capable element
    * @return the node defined for the element passivation-capable 
    */
   public Boolean isPassivationCapable();

   /**
    * Removes the passivation-capable element 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removePassivationCapable();

 
   // --------------------------------------------------------------------------------------------------------||
   // ClassName: SessionBeanType ElementName: xsd:ID ElementType : id
   // MaxOccurs: -  isGeneric: true   isAttribute: true isEnum: false isDataType: true
   // --------------------------------------------------------------------------------------------------------||

   /**
    * Sets the id attribute
    * @param id the value for the attribute id 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType id(String id);

   /**
    * Returns the id attribute
    * @return the value defined for the attribute id 
    */
   public String getId();

   /**
    * Removes the id attribute 
    * @return the current instance of SessionBeanType 
    */
   public SessionBeanType removeId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy