| /**
|
| * Copyright (c) 2010, 2019 Mia-Software and others.
|
| * All rights reserved. This program and the accompanying materials
|
| * are made available under the terms of the Eclipse Public License v2.0
|
| * which accompanies this distribution, and is available at
|
| * http://www.eclipse.org/legal/epl-v20.html
|
| *
|
| * Contributors:
|
| *
|
| * Nicolas Guyomar (Mia-Software) - initial API and implementation
|
| */ |
| package org.eclipse.modisco.jee.ejbjar.EjbJar31;
|
|
|
| import java.lang.String;
|
|
|
| import org.eclipse.emf.ecore.EObject;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>Stateful Timeout Type</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <!-- begin-model-doc -->
|
| *
|
| *
|
| * 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.
|
| *
|
| *
|
| * <!-- end-model-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getTimeout <em>Timeout</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getUnit <em>Unit</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getId <em>Id</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getStatefulTimeoutType()
|
| * @model extendedMetaData="name='stateful-timeoutType' kind='elementOnly'"
|
| * @generated
|
| */
|
| public interface StatefulTimeoutType extends EObject {
|
| /**
|
| * Returns the value of the '<em><b>Timeout</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Timeout</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Timeout</em>' containment reference.
|
| * @see #setTimeout(XsdIntegerType)
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getStatefulTimeoutType_Timeout()
|
| * @model containment="true" required="true"
|
| * extendedMetaData="kind='element' name='timeout' namespace='http://java.sun.com/xml/ns/javaee'"
|
| * @generated
|
| */
|
| XsdIntegerType getTimeout();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getTimeout <em>Timeout</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Timeout</em>' containment reference.
|
| * @see #getTimeout()
|
| * @generated
|
| */
|
| void setTimeout(XsdIntegerType value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Unit</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Unit</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Unit</em>' containment reference.
|
| * @see #setUnit(TimeUnitTypeType)
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getStatefulTimeoutType_Unit()
|
| * @model containment="true" required="true"
|
| * extendedMetaData="kind='element' name='unit' namespace='http://java.sun.com/xml/ns/javaee'"
|
| * @generated
|
| */
|
| TimeUnitTypeType getUnit();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getUnit <em>Unit</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Unit</em>' containment reference.
|
| * @see #getUnit()
|
| * @generated
|
| */
|
| void setUnit(TimeUnitTypeType value);
|
|
|
| /**
|
| * Returns the value of the '<em><b>Id</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Id</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Id</em>' attribute.
|
| * @see #setId(String)
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getStatefulTimeoutType_Id()
|
| * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
|
| * extendedMetaData="kind='attribute' name='id'"
|
| * @generated
|
| */
|
| String getId();
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.StatefulTimeoutType#getId <em>Id</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Id</em>' attribute.
|
| * @see #getId()
|
| * @generated
|
| */
|
| void setId(String value);
|
|
|
| } // StatefulTimeoutType
|