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


public interface StatefulTimeoutType

A representation of the model object 'Stateful Timeout Type'. The stateful-timeoutType represents the amount of time a stateful session bean can be idle(not receive any client invocations) before it is eligible for removal by the container. A timeout value of 0 means the bean is immediately eligible for removal. A timeout value of -1 means the bean will never be removed due to timeout.

The following features are supported:

See Also:
EjbJar31Package.getStatefulTimeoutType()
Generated:
Model:
extendedMetaData="name='stateful-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.getStatefulTimeoutType_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.getStatefulTimeoutType_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.getStatefulTimeoutType_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: