org.eclipse.modisco.jee.ejbjar.EjbJar31
Interface ConcurrentMethodType


public interface ConcurrentMethodType

A representation of the model object 'Concurrent Method Type'. The concurrent-methodType specifies information about a method of a bean with container managed concurrency. The optional lock element specifies the kind of concurrency lock asssociated with the method. The optional access-timeout element specifies the amount of time (in a given time unit) the container should wait for a concurrency lock before throwing an exception to the client.

The following features are supported:

See Also:
EjbJar31Package.getConcurrentMethodType()
Generated:
Model:
extendedMetaData="name='concurrent-methodType' kind='elementOnly'"

Method Summary
 AccessTimeoutType getAccessTimeout()
          Returns the value of the 'Access Timeout' containment reference.
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 ConcurrentLockTypeType getLock()
          Returns the value of the 'Lock' containment reference.
 NamedMethodType getMethod()
          Returns the value of the 'Method' containment reference.
 void setAccessTimeout(AccessTimeoutType value)
          Sets the value of the 'Access Timeout' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setLock(ConcurrentLockTypeType value)
          Sets the value of the 'Lock' containment reference.
 void setMethod(NamedMethodType value)
          Sets the value of the 'Method' containment reference.
 

Method Detail

getMethod

NamedMethodType getMethod()
Returns the value of the 'Method' containment reference.

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

Returns:
the value of the 'Method' containment reference.
See Also:
setMethod(NamedMethodType), EjbJar31Package.getConcurrentMethodType_Method()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='method' namespace='http://java.sun.com/xml/ns/javaee'"

setMethod

void setMethod(NamedMethodType value)
Sets the value of the 'Method' containment reference.

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

getLock

ConcurrentLockTypeType getLock()
Returns the value of the 'Lock' containment reference.

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

Returns:
the value of the 'Lock' containment reference.
See Also:
setLock(ConcurrentLockTypeType), EjbJar31Package.getConcurrentMethodType_Lock()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='lock' namespace='http://java.sun.com/xml/ns/javaee'"

setLock

void setLock(ConcurrentLockTypeType value)
Sets the value of the 'Lock' containment reference.

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

getAccessTimeout

AccessTimeoutType getAccessTimeout()
Returns the value of the 'Access Timeout' containment reference.

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

Returns:
the value of the 'Access Timeout' containment reference.
See Also:
setAccessTimeout(AccessTimeoutType), EjbJar31Package.getConcurrentMethodType_AccessTimeout()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='access-timeout' namespace='http://java.sun.com/xml/ns/javaee'"

setAccessTimeout

void setAccessTimeout(AccessTimeoutType value)
Sets the value of the 'Access Timeout' containment reference.

Parameters:
value - the new value of the 'Access Timeout' containment reference.
See Also:
getAccessTimeout()
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), EjbJar31Package.getConcurrentMethodType_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: