net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee
Interface SessionBeanType

All Known Implementing Classes:
SessionBeanTypeImpl

public interface SessionBeanType

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.

Java class for session-beanType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="session-beanType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://java.sun.com/xml/ns/javaee}descriptionGroup"/>
         <element name="ejb-name" type="{http://java.sun.com/xml/ns/javaee}ejb-nameType"/>
         <element name="mapped-name" type="{http://java.sun.com/xml/ns/javaee}xsdStringType" minOccurs="0"/>
         <element name="home" type="{http://java.sun.com/xml/ns/javaee}homeType" minOccurs="0"/>
         <element name="remote" type="{http://java.sun.com/xml/ns/javaee}remoteType" minOccurs="0"/>
         <element name="local-home" type="{http://java.sun.com/xml/ns/javaee}local-homeType" minOccurs="0"/>
         <element name="local" type="{http://java.sun.com/xml/ns/javaee}localType" minOccurs="0"/>
         <element name="business-local" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="business-remote" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="service-endpoint" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="ejb-class" type="{http://java.sun.com/xml/ns/javaee}ejb-classType" minOccurs="0"/>
         <element name="session-type" type="{http://java.sun.com/xml/ns/javaee}session-typeType" minOccurs="0"/>
         <element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType" minOccurs="0"/>
         <element name="init-method" type="{http://java.sun.com/xml/ns/javaee}init-methodType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="remove-method" type="{http://java.sun.com/xml/ns/javaee}remove-methodType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="transaction-type" type="{http://java.sun.com/xml/ns/javaee}transaction-typeType" minOccurs="0"/>
         <element name="around-invoke" type="{http://java.sun.com/xml/ns/javaee}around-invokeType" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://java.sun.com/xml/ns/javaee}jndiEnvironmentRefsGroup"/>
         <element name="post-activate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="pre-passivate" type="{http://java.sun.com/xml/ns/javaee}lifecycle-callbackType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="security-role-ref" type="{http://java.sun.com/xml/ns/javaee}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="security-identity" type="{http://java.sun.com/xml/ns/javaee}security-identityType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 List<AroundInvokeType> getAroundInvoke()
          Gets the value of the aroundInvoke property.
 List<FullyQualifiedClassType> getBusinessLocal()
          Gets the value of the businessLocal property.
 List<FullyQualifiedClassType> getBusinessRemote()
          Gets the value of the businessRemote property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 List<DisplayNameType> getDisplayName()
          Gets the value of the displayName property.
 EjbClassType getEjbClass()
          Gets the value of the ejbClass property.
 List<EjbLocalRefType> getEjbLocalRef()
          Gets the value of the ejbLocalRef property.
 EjbNameType getEjbName()
          Gets the value of the ejbName property.
 List<EjbRefType> getEjbRef()
          Gets the value of the ejbRef property.
 List<EnvEntryType> getEnvEntry()
          Gets the value of the envEntry property.
 HomeType getHome()
          Gets the value of the home property.
 List<IconType> getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 List<InitMethodType> getInitMethod()
          Gets the value of the initMethod property.
 LocalType getLocal()
          Gets the value of the local property.
 LocalHomeType getLocalHome()
          Gets the value of the localHome property.
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 List<MessageDestinationRefType> getMessageDestinationRef()
          Gets the value of the messageDestinationRef property.
 List<PersistenceContextRefType> getPersistenceContextRef()
          Gets the value of the persistenceContextRef property.
 List<PersistenceUnitRefType> getPersistenceUnitRef()
          Gets the value of the persistenceUnitRef property.
 List<LifecycleCallbackType> getPostActivate()
          Gets the value of the postActivate property.
 List<LifecycleCallbackType> getPostConstruct()
          Gets the value of the postConstruct property.
 List<LifecycleCallbackType> getPreDestroy()
          Gets the value of the preDestroy property.
 List<LifecycleCallbackType> getPrePassivate()
          Gets the value of the prePassivate property.
 RemoteType getRemote()
          Gets the value of the remote property.
 List<RemoveMethodType> getRemoveMethod()
          Gets the value of the removeMethod property.
 List<ResourceEnvRefType> getResourceEnvRef()
          Gets the value of the resourceEnvRef property.
 List<ResourceRefType> getResourceRef()
          Gets the value of the resourceRef property.
 SecurityIdentityType getSecurityIdentity()
          Gets the value of the securityIdentity property.
 List<SecurityRoleRefType> getSecurityRoleRef()
          Gets the value of the securityRoleRef property.
 FullyQualifiedClassType getServiceEndpoint()
          Gets the value of the serviceEndpoint property.
 List<ServiceRefType> getServiceRef()
          Gets the value of the serviceRef property.
 SessionTypeType getSessionType()
          Gets the value of the sessionType property.
 NamedMethodType getTimeoutMethod()
          Gets the value of the timeoutMethod property.
 TransactionTypeType getTransactionType()
          Gets the value of the transactionType property.
 void setEjbClass(EjbClassType value)
          Sets the value of the ejbClass property.
 void setEjbName(EjbNameType value)
          Sets the value of the ejbName property.
 void setHome(HomeType value)
          Sets the value of the home property.
 void setId(String value)
          Sets the value of the id property.
 void setLocal(LocalType value)
          Sets the value of the local property.
 void setLocalHome(LocalHomeType value)
          Sets the value of the localHome property.
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 void setRemote(RemoteType value)
          Sets the value of the remote property.
 void setSecurityIdentity(SecurityIdentityType value)
          Sets the value of the securityIdentity property.
 void setServiceEndpoint(FullyQualifiedClassType value)
          Sets the value of the serviceEndpoint property.
 void setSessionType(SessionTypeType value)
          Sets the value of the sessionType property.
 void setTimeoutMethod(NamedMethodType value)
          Sets the value of the timeoutMethod property.
 void setTransactionType(TransactionTypeType value)
          Sets the value of the transactionType property.
 

Method Detail

getDescription

List<DescriptionType> getDescription()
Gets the value of the description property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the description property.

For example, to add a new item, do as follows:

    getDescription().add(newItem);
 

Objects of the following type(s) are allowed in the list DescriptionType


getDisplayName

List<DisplayNameType> getDisplayName()
Gets the value of the displayName property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the displayName property.

For example, to add a new item, do as follows:

    getDisplayName().add(newItem);
 

Objects of the following type(s) are allowed in the list DisplayNameType


getIcon

List<IconType> getIcon()
Gets the value of the icon property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the icon property.

For example, to add a new item, do as follows:

    getIcon().add(newItem);
 

Objects of the following type(s) are allowed in the list IconType


getEjbName

EjbNameType getEjbName()
Gets the value of the ejbName property.

Returns:
possible object is EjbNameType

setEjbName

void setEjbName(EjbNameType value)
Sets the value of the ejbName property.

Parameters:
value - allowed object is EjbNameType

getMappedName

XsdStringType getMappedName()
Gets the value of the mappedName property.

Returns:
possible object is XsdStringType

setMappedName

void setMappedName(XsdStringType value)
Sets the value of the mappedName property.

Parameters:
value - allowed object is XsdStringType

getHome

HomeType getHome()
Gets the value of the home property.

Returns:
possible object is HomeType

setHome

void setHome(HomeType value)
Sets the value of the home property.

Parameters:
value - allowed object is HomeType

getRemote

RemoteType getRemote()
Gets the value of the remote property.

Returns:
possible object is RemoteType

setRemote

void setRemote(RemoteType value)
Sets the value of the remote property.

Parameters:
value - allowed object is RemoteType

getLocalHome

LocalHomeType getLocalHome()
Gets the value of the localHome property.

Returns:
possible object is LocalHomeType

setLocalHome

void setLocalHome(LocalHomeType value)
Sets the value of the localHome property.

Parameters:
value - allowed object is LocalHomeType

getLocal

LocalType getLocal()
Gets the value of the local property.

Returns:
possible object is LocalType

setLocal

void setLocal(LocalType value)
Sets the value of the local property.

Parameters:
value - allowed object is LocalType

getBusinessLocal

List<FullyQualifiedClassType> getBusinessLocal()
Gets the value of the businessLocal property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the businessLocal property.

For example, to add a new item, do as follows:

    getBusinessLocal().add(newItem);
 

Objects of the following type(s) are allowed in the list FullyQualifiedClassType


getBusinessRemote

List<FullyQualifiedClassType> getBusinessRemote()
Gets the value of the businessRemote property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the businessRemote property.

For example, to add a new item, do as follows:

    getBusinessRemote().add(newItem);
 

Objects of the following type(s) are allowed in the list FullyQualifiedClassType


getServiceEndpoint

FullyQualifiedClassType getServiceEndpoint()
Gets the value of the serviceEndpoint property.

Returns:
possible object is FullyQualifiedClassType

setServiceEndpoint

void setServiceEndpoint(FullyQualifiedClassType value)
Sets the value of the serviceEndpoint property.

Parameters:
value - allowed object is FullyQualifiedClassType

getEjbClass

EjbClassType getEjbClass()
Gets the value of the ejbClass property.

Returns:
possible object is EjbClassType

setEjbClass

void setEjbClass(EjbClassType value)
Sets the value of the ejbClass property.

Parameters:
value - allowed object is EjbClassType

getSessionType

SessionTypeType getSessionType()
Gets the value of the sessionType property.

Returns:
possible object is SessionTypeType

setSessionType

void setSessionType(SessionTypeType value)
Sets the value of the sessionType property.

Parameters:
value - allowed object is SessionTypeType

getTimeoutMethod

NamedMethodType getTimeoutMethod()
Gets the value of the timeoutMethod property.

Returns:
possible object is NamedMethodType

setTimeoutMethod

void setTimeoutMethod(NamedMethodType value)
Sets the value of the timeoutMethod property.

Parameters:
value - allowed object is NamedMethodType

getInitMethod

List<InitMethodType> getInitMethod()
Gets the value of the initMethod property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the initMethod property.

For example, to add a new item, do as follows:

    getInitMethod().add(newItem);
 

Objects of the following type(s) are allowed in the list InitMethodType


getRemoveMethod

List<RemoveMethodType> getRemoveMethod()
Gets the value of the removeMethod property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the removeMethod property.

For example, to add a new item, do as follows:

    getRemoveMethod().add(newItem);
 

Objects of the following type(s) are allowed in the list RemoveMethodType


getTransactionType

TransactionTypeType getTransactionType()
Gets the value of the transactionType property.

Returns:
possible object is TransactionTypeType

setTransactionType

void setTransactionType(TransactionTypeType value)
Sets the value of the transactionType property.

Parameters:
value - allowed object is TransactionTypeType

getAroundInvoke

List<AroundInvokeType> getAroundInvoke()
Gets the value of the aroundInvoke property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the aroundInvoke property.

For example, to add a new item, do as follows:

    getAroundInvoke().add(newItem);
 

Objects of the following type(s) are allowed in the list AroundInvokeType


getEnvEntry

List<EnvEntryType> getEnvEntry()
Gets the value of the envEntry property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the envEntry property.

For example, to add a new item, do as follows:

    getEnvEntry().add(newItem);
 

Objects of the following type(s) are allowed in the list EnvEntryType


getEjbRef

List<EjbRefType> getEjbRef()
Gets the value of the ejbRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the ejbRef property.

For example, to add a new item, do as follows:

    getEjbRef().add(newItem);
 

Objects of the following type(s) are allowed in the list EjbRefType


getEjbLocalRef

List<EjbLocalRefType> getEjbLocalRef()
Gets the value of the ejbLocalRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the ejbLocalRef property.

For example, to add a new item, do as follows:

    getEjbLocalRef().add(newItem);
 

Objects of the following type(s) are allowed in the list EjbLocalRefType


getServiceRef

List<ServiceRefType> getServiceRef()
Gets the value of the serviceRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the serviceRef property.

For example, to add a new item, do as follows:

    getServiceRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ServiceRefType


getResourceRef

List<ResourceRefType> getResourceRef()
Gets the value of the resourceRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the resourceRef property.

For example, to add a new item, do as follows:

    getResourceRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceRefType


getResourceEnvRef

List<ResourceEnvRefType> getResourceEnvRef()
Gets the value of the resourceEnvRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the resourceEnvRef property.

For example, to add a new item, do as follows:

    getResourceEnvRef().add(newItem);
 

Objects of the following type(s) are allowed in the list ResourceEnvRefType


getMessageDestinationRef

List<MessageDestinationRefType> getMessageDestinationRef()
Gets the value of the messageDestinationRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the messageDestinationRef property.

For example, to add a new item, do as follows:

    getMessageDestinationRef().add(newItem);
 

Objects of the following type(s) are allowed in the list MessageDestinationRefType


getPersistenceContextRef

List<PersistenceContextRefType> getPersistenceContextRef()
Gets the value of the persistenceContextRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the persistenceContextRef property.

For example, to add a new item, do as follows:

    getPersistenceContextRef().add(newItem);
 

Objects of the following type(s) are allowed in the list PersistenceContextRefType


getPersistenceUnitRef

List<PersistenceUnitRefType> getPersistenceUnitRef()
Gets the value of the persistenceUnitRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the persistenceUnitRef property.

For example, to add a new item, do as follows:

    getPersistenceUnitRef().add(newItem);
 

Objects of the following type(s) are allowed in the list PersistenceUnitRefType


getPostConstruct

List<LifecycleCallbackType> getPostConstruct()
Gets the value of the postConstruct property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the postConstruct property.

For example, to add a new item, do as follows:

    getPostConstruct().add(newItem);
 

Objects of the following type(s) are allowed in the list LifecycleCallbackType


getPreDestroy

List<LifecycleCallbackType> getPreDestroy()
Gets the value of the preDestroy property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the preDestroy property.

For example, to add a new item, do as follows:

    getPreDestroy().add(newItem);
 

Objects of the following type(s) are allowed in the list LifecycleCallbackType


getPostActivate

List<LifecycleCallbackType> getPostActivate()
Gets the value of the postActivate property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the postActivate property.

For example, to add a new item, do as follows:

    getPostActivate().add(newItem);
 

Objects of the following type(s) are allowed in the list LifecycleCallbackType


getPrePassivate

List<LifecycleCallbackType> getPrePassivate()
Gets the value of the prePassivate property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the prePassivate property.

For example, to add a new item, do as follows:

    getPrePassivate().add(newItem);
 

Objects of the following type(s) are allowed in the list LifecycleCallbackType


getSecurityRoleRef

List<SecurityRoleRefType> getSecurityRoleRef()
Gets the value of the securityRoleRef property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the securityRoleRef property.

For example, to add a new item, do as follows:

    getSecurityRoleRef().add(newItem);
 

Objects of the following type(s) are allowed in the list SecurityRoleRefType


getSecurityIdentity

SecurityIdentityType getSecurityIdentity()
Gets the value of the securityIdentity property.

Returns:
possible object is SecurityIdentityType

setSecurityIdentity

void setSecurityIdentity(SecurityIdentityType value)
Sets the value of the securityIdentity property.

Parameters:
value - allowed object is SecurityIdentityType

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.