com.bm.ejb3metadata.xml.struct
Class Session

java.lang.Object
  extended by com.bm.ejb3metadata.xml.struct.AbsBean
      extended by com.bm.ejb3metadata.xml.struct.Session

public class Session
extends AbsBean

Defines a representation for <session> element.

Author:
Florent Benoit

Field Summary
static java.lang.String NAME
          Name of this element.
 
Constructor Summary
Session()
          Constructor.
 
Method Summary
 void addBusinessLocal(java.lang.String businessLocal)
          Add the business-local interface.
 void addBusinessRemote(java.lang.String businessRemote)
          Add the business-remote interface.
 java.util.List<java.lang.String> getBusinessLocalList()
          Gets the business-local interface list.
 java.util.List<java.lang.String> getBusinessRemoteList()
          Gets the business-remote interface list.
 java.lang.String getSessionType()
          Gets the session-type.
 java.lang.String getTransactionType()
          Gets the transaction-type.
 void setSessionType(java.lang.String sessionType)
          Set the session-type.
 void setTransactionType(java.lang.String transactionType)
          Set the transaction-type.
 
Methods inherited from class com.bm.ejb3metadata.xml.struct.AbsBean
getEjbClass, getEjbName, setEjbClass, setEjbName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
Name of this element.

See Also:
Constant Field Values
Constructor Detail

Session

public Session()
Constructor.

Method Detail

getBusinessRemoteList

public java.util.List<java.lang.String> getBusinessRemoteList()
Gets the business-remote interface list.

Returns:
business-remote interface list

getBusinessLocalList

public java.util.List<java.lang.String> getBusinessLocalList()
Gets the business-local interface list.

Returns:
business-local interface list

addBusinessRemote

public void addBusinessRemote(java.lang.String businessRemote)
Add the business-remote interface.

Parameters:
businessRemote - business-remote interface.

addBusinessLocal

public void addBusinessLocal(java.lang.String businessLocal)
Add the business-local interface.

Parameters:
businessLocal - business-remote interface.

getSessionType

public java.lang.String getSessionType()
Gets the session-type.

Returns:
the session-type.

setSessionType

public void setSessionType(java.lang.String sessionType)
Set the session-type.

Parameters:
sessionType - the type of session.

getTransactionType

public java.lang.String getTransactionType()
Gets the transaction-type.

Returns:
the transaction-type

setTransactionType

public void setTransactionType(java.lang.String transactionType)
Set the transaction-type.

Parameters:
transactionType - transaction-type.


Copyright © 2008. All Rights Reserved.