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


public interface AccessTimeoutType

A representation of the model object 'Access Timeout Type'. The access-timeoutType represents the maximum amount of time (in a given time unit) that the container should wait for a concurrency lock before throwing a timeout exception to the client. A timeout value of 0 means concurrent access is not permitted. A timeout value of -1 means wait indefinitely to acquire a lock.

The following features are supported:

See Also:
EjbJar31Package.getAccessTimeoutType()
Generated:
Model:
extendedMetaData="name='access-timeoutType' kind='elementOnly'"

Method Summary
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 XsdIntegerType getTimeout()
          Returns the value of the 'Timeout' containment reference.
 TimeUnitTypeType getUnit()
          Returns the value of the 'Unit' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setTimeout(XsdIntegerType value)
          Sets the value of the 'Timeout' containment reference.
 void setUnit(TimeUnitTypeType value)
          Sets the value of the 'Unit' containment reference.
 

Method Detail

getTimeout

XsdIntegerType getTimeout()
Returns the value of the 'Timeout' containment reference.

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

Returns:
the value of the 'Timeout' containment reference.
See Also:
setTimeout(XsdIntegerType), EjbJar31Package.getAccessTimeoutType_Timeout()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='timeout' namespace='http://java.sun.com/xml/ns/javaee'"

setTimeout

void setTimeout(XsdIntegerType value)
Sets the value of the 'Timeout' containment reference.

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

getUnit

TimeUnitTypeType getUnit()
Returns the value of the 'Unit' containment reference.

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

Returns:
the value of the 'Unit' containment reference.
See Also:
setUnit(TimeUnitTypeType), EjbJar31Package.getAccessTimeoutType_Unit()
Generated:
Model:
containment="true" required="true" extendedMetaData="kind='element' name='unit' namespace='http://java.sun.com/xml/ns/javaee'"

setUnit

void setUnit(TimeUnitTypeType value)
Sets the value of the 'Unit' containment reference.

Parameters:
value - the new value of the 'Unit' containment reference.
See Also:
getUnit()
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.getAccessTimeoutType_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: