| /**
|
| * 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>Access Timeout Type</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <!-- begin-model-doc -->
|
| *
|
| *
|
| * 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.
|
| *
|
| *
|
| * <!-- end-model-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.AccessTimeoutType#getTimeout <em>Timeout</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.AccessTimeoutType#getUnit <em>Unit</em>}</li>
|
| * <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.AccessTimeoutType#getId <em>Id</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getAccessTimeoutType()
|
| * @model extendedMetaData="name='access-timeoutType' kind='elementOnly'"
|
| * @generated
|
| */
|
| public interface AccessTimeoutType 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#getAccessTimeoutType_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.AccessTimeoutType#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#getAccessTimeoutType_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.AccessTimeoutType#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#getAccessTimeoutType_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.AccessTimeoutType#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);
|
|
|
| } // AccessTimeoutType
|