org.eclipse.modisco.jee.ejbjar.EjbJar21
Interface SessionBeanType


public interface SessionBeanType

A representation of the model object 'Session Bean Type'. 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 - 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 - the session bean's transaction management type - 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.

The following features are supported:

See Also:
EjbJar21Package.getSessionBeanType()
Generated:
Model:
extendedMetaData="name='session-beanType' kind='elementOnly'"

Method Summary
  getDescription()
          Returns the value of the 'Description' containment reference list.
  getDisplayName()
          Returns the value of the 'Display Name' containment reference list.
 EjbClassType getEjbClass()
          Returns the value of the 'Ejb Class' containment reference.
  getEjbLocalRef()
          Returns the value of the 'Ejb Local Ref' containment reference list.
 EjbNameType getEjbName()
          Returns the value of the 'Ejb Name' containment reference.
  getEjbRef()
          Returns the value of the 'Ejb Ref' containment reference list.
  getEnvEntry()
          Returns the value of the 'Env Entry' containment reference list.
 HomeType getHome()
          Returns the value of the 'Home' containment reference.
  getIcon()
          Returns the value of the 'Icon' containment reference list.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 LocalType getLocal()
          Returns the value of the 'Local' containment reference.
 LocalHomeType getLocalHome()
          Returns the value of the 'Local Home' containment reference.
  getMessageDestinationRef()
          Returns the value of the 'Message Destination Ref' containment reference list.
 RemoteType getRemote()
          Returns the value of the 'Remote' containment reference.
  getResourceEnvRef()
          Returns the value of the 'Resource Env Ref' containment reference list.
  getResourceRef()
          Returns the value of the 'Resource Ref' containment reference list.
 SecurityIdentityType getSecurityIdentity()
          Returns the value of the 'Security Identity' containment reference.
  getSecurityRoleRef()
          Returns the value of the 'Security Role Ref' containment reference list.
 FullyQualifiedClassType getServiceEndpoint()
          Returns the value of the 'Service Endpoint' containment reference.
  getServiceRef()
          Returns the value of the 'Service Ref' containment reference list.
 SessionTypeType getSessionType()
          Returns the value of the 'Session Type' containment reference.
 TransactionTypeType getTransactionType()
          Returns the value of the 'Transaction Type' containment reference.
 void setEjbClass(EjbClassType value)
          Sets the value of the 'Ejb Class' containment reference.
 void setEjbName(EjbNameType value)
          Sets the value of the 'Ejb Name' containment reference.
 void setHome(HomeType value)
          Sets the value of the 'Home' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setLocal(LocalType value)
          Sets the value of the 'Local' containment reference.
 void setLocalHome(LocalHomeType value)
          Sets the value of the 'Local Home' containment reference.
 void setRemote(RemoteType value)
          Sets the value of the 'Remote' containment reference.
 void setSecurityIdentity(SecurityIdentityType value)
          Sets the value of the 'Security Identity' containment reference.
 void setServiceEndpoint(FullyQualifiedClassType value)
          Sets the value of the 'Service Endpoint' containment reference.
 void setSessionType(SessionTypeType value)
          Sets the value of the 'Session Type' containment reference.
 void setTransactionType(TransactionTypeType value)
          Sets the value of the 'Transaction Type' containment reference.
 

Method Detail

getDescription

 getDescription()
Returns the value of the 'Description' containment reference list. The list contents are of type DescriptionType.

If the meaning of the 'Description' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Description' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_Description()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/j2ee'"

getDisplayName

 getDisplayName()
Returns the value of the 'Display Name' containment reference list. The list contents are of type DisplayNameType.

If the meaning of the 'Display Name' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Display Name' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_DisplayName()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='display-name' namespace='http://java.sun.com/xml/ns/j2ee'"

getIcon

 getIcon()
Returns the value of the 'Icon' containment reference list. The list contents are of type IconType.

If the meaning of the 'Icon' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Icon' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_Icon()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='icon' namespace='http://java.sun.com/xml/ns/j2ee'"

getEjbName

EjbNameType getEjbName()
Returns the value of the 'Ejb Name' containment reference.

If the meaning of the 'Ejb Name' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Name' containment reference.
See Also:
setEjbName(EjbNameType), EjbJar21Package.getSessionBeanType_EjbName()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-name' namespace='http://java.sun.com/xml/ns/j2ee'"

setEjbName

void setEjbName(EjbNameType value)
Sets the value of the 'Ejb Name' containment reference.

Parameters:
value - the new value of the 'Ejb Name' containment reference.
See Also:
getEjbName()
Generated:

getHome

HomeType getHome()
Returns the value of the 'Home' containment reference.

If the meaning of the 'Home' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Home' containment reference.
See Also:
setHome(HomeType), EjbJar21Package.getSessionBeanType_Home()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='home' namespace='http://java.sun.com/xml/ns/j2ee'"

setHome

void setHome(HomeType value)
Sets the value of the 'Home' containment reference.

Parameters:
value - the new value of the 'Home' containment reference.
See Also:
getHome()
Generated:

getRemote

RemoteType getRemote()
Returns the value of the 'Remote' containment reference.

If the meaning of the 'Remote' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Remote' containment reference.
See Also:
setRemote(RemoteType), EjbJar21Package.getSessionBeanType_Remote()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='remote' namespace='http://java.sun.com/xml/ns/j2ee'"

setRemote

void setRemote(RemoteType value)
Sets the value of the 'Remote' containment reference.

Parameters:
value - the new value of the 'Remote' containment reference.
See Also:
getRemote()
Generated:

getLocalHome

LocalHomeType getLocalHome()
Returns the value of the 'Local Home' containment reference.

If the meaning of the 'Local Home' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Local Home' containment reference.
See Also:
setLocalHome(LocalHomeType), EjbJar21Package.getSessionBeanType_LocalHome()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='local-home' namespace='http://java.sun.com/xml/ns/j2ee'"

setLocalHome

void setLocalHome(LocalHomeType value)
Sets the value of the 'Local Home' containment reference.

Parameters:
value - the new value of the 'Local Home' containment reference.
See Also:
getLocalHome()
Generated:

getLocal

LocalType getLocal()
Returns the value of the 'Local' containment reference.

If the meaning of the 'Local' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Local' containment reference.
See Also:
setLocal(LocalType), EjbJar21Package.getSessionBeanType_Local()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='local' namespace='http://java.sun.com/xml/ns/j2ee'"

setLocal

void setLocal(LocalType value)
Sets the value of the 'Local' containment reference.

Parameters:
value - the new value of the 'Local' containment reference.
See Also:
getLocal()
Generated:

getServiceEndpoint

FullyQualifiedClassType getServiceEndpoint()
Returns the value of the 'Service Endpoint' containment reference. The service-endpoint element contains the fully-qualified name of the enterprise bean's web service endpoint interface. The service-endpoint element may only be specified for a stateless session bean. The specified interface must be a valid JAX-RPC service endpoint interface.

Returns:
the value of the 'Service Endpoint' containment reference.
See Also:
setServiceEndpoint(FullyQualifiedClassType), EjbJar21Package.getSessionBeanType_ServiceEndpoint()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='service-endpoint' namespace='http://java.sun.com/xml/ns/j2ee'"

setServiceEndpoint

void setServiceEndpoint(FullyQualifiedClassType value)
Sets the value of the 'Service Endpoint' containment reference.

Parameters:
value - the new value of the 'Service Endpoint' containment reference.
See Also:
getServiceEndpoint()
Generated:

getEjbClass

EjbClassType getEjbClass()
Returns the value of the 'Ejb Class' containment reference.

If the meaning of the 'Ejb Class' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Class' containment reference.
See Also:
setEjbClass(EjbClassType), EjbJar21Package.getSessionBeanType_EjbClass()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='ejb-class' namespace='http://java.sun.com/xml/ns/j2ee'"

setEjbClass

void setEjbClass(EjbClassType value)
Sets the value of the 'Ejb Class' containment reference.

Parameters:
value - the new value of the 'Ejb Class' containment reference.
See Also:
getEjbClass()
Generated:

getSessionType

SessionTypeType getSessionType()
Returns the value of the 'Session Type' containment reference.

If the meaning of the 'Session Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Session Type' containment reference.
See Also:
setSessionType(SessionTypeType), EjbJar21Package.getSessionBeanType_SessionType()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='session-type' namespace='http://java.sun.com/xml/ns/j2ee'"

setSessionType

void setSessionType(SessionTypeType value)
Sets the value of the 'Session Type' containment reference.

Parameters:
value - the new value of the 'Session Type' containment reference.
See Also:
getSessionType()
Generated:

getTransactionType

TransactionTypeType getTransactionType()
Returns the value of the 'Transaction Type' containment reference.

If the meaning of the 'Transaction Type' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Transaction Type' containment reference.
See Also:
setTransactionType(TransactionTypeType), EjbJar21Package.getSessionBeanType_TransactionType()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='transaction-type' namespace='http://java.sun.com/xml/ns/j2ee'"

setTransactionType

void setTransactionType(TransactionTypeType value)
Sets the value of the 'Transaction Type' containment reference.

Parameters:
value - the new value of the 'Transaction Type' containment reference.
See Also:
getTransactionType()
Generated:

getEnvEntry

 getEnvEntry()
Returns the value of the 'Env Entry' containment reference list. The list contents are of type EnvEntryType.

If the meaning of the 'Env Entry' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Env Entry' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_EnvEntry()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='env-entry' namespace='http://java.sun.com/xml/ns/j2ee'"

getEjbRef

 getEjbRef()
Returns the value of the 'Ejb Ref' containment reference list. The list contents are of type EjbRefType.

If the meaning of the 'Ejb Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_EjbRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getEjbLocalRef

 getEjbLocalRef()
Returns the value of the 'Ejb Local Ref' containment reference list. The list contents are of type EjbLocalRefType.

If the meaning of the 'Ejb Local Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ejb Local Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_EjbLocalRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='ejb-local-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getServiceRef

 getServiceRef()
Returns the value of the 'Service Ref' containment reference list. The list contents are of type ServiceRefType.

If the meaning of the 'Service Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Service Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_ServiceRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='service-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getResourceRef

 getResourceRef()
Returns the value of the 'Resource Ref' containment reference list. The list contents are of type ResourceRefType.

If the meaning of the 'Resource Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Resource Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_ResourceRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='resource-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getResourceEnvRef

 getResourceEnvRef()
Returns the value of the 'Resource Env Ref' containment reference list. The list contents are of type ResourceEnvRefType.

If the meaning of the 'Resource Env Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Resource Env Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_ResourceEnvRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='resource-env-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getMessageDestinationRef

 getMessageDestinationRef()
Returns the value of the 'Message Destination Ref' containment reference list. The list contents are of type MessageDestinationRefType.

If the meaning of the 'Message Destination Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Message Destination Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_MessageDestinationRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='message-destination-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getSecurityRoleRef

 getSecurityRoleRef()
Returns the value of the 'Security Role Ref' containment reference list. The list contents are of type SecurityRoleRefType.

If the meaning of the 'Security Role Ref' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Security Role Ref' containment reference list.
See Also:
EjbJar21Package.getSessionBeanType_SecurityRoleRef()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='security-role-ref' namespace='http://java.sun.com/xml/ns/j2ee'"

getSecurityIdentity

SecurityIdentityType getSecurityIdentity()
Returns the value of the 'Security Identity' containment reference.

If the meaning of the 'Security Identity' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Security Identity' containment reference.
See Also:
setSecurityIdentity(SecurityIdentityType), EjbJar21Package.getSessionBeanType_SecurityIdentity()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='security-identity' namespace='http://java.sun.com/xml/ns/j2ee'"

setSecurityIdentity

void setSecurityIdentity(SecurityIdentityType value)
Sets the value of the 'Security Identity' containment reference.

Parameters:
value - the new value of the 'Security Identity' containment reference.
See Also:
getSecurityIdentity()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar21Package.getSessionBeanType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated: