| /** |
| * |
| * Copyright (c) 2009-2010 Thales Corporate Services S.A.S. |
| * 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 |
| * https://www.eclipse.org/legal/epl-v2.0 |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Thales Corporate Services S.A.S - initial API and implementation |
| * |
| */ |
| package org.eclipse.egf.model.fcore; |
| |
| import org.eclipse.egf.model.types.Type; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Contract Container</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.egf.model.fcore.ContractContainer#getActivity <em>Activity</em>}</li> |
| * <li>{@link org.eclipse.egf.model.fcore.ContractContainer#getContracts <em>Contracts</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.egf.model.fcore.FcorePackage#getContractContainer() |
| * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='FactoryComponentContract'" |
| * @generated |
| */ |
| public interface ContractContainer extends ModelElement { |
| |
| /** |
| * Returns the value of the '<em><b>Activity</b></em>' container reference. |
| * It is bidirectional and its opposite is '{@link org.eclipse.egf.model.fcore.Activity#getContractContainer <em>Contract Container</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Activity</em>' container reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Activity</em>' container reference. |
| * @see #setActivity(Activity) |
| * @see org.eclipse.egf.model.fcore.FcorePackage#getContractContainer_Activity() |
| * @see org.eclipse.egf.model.fcore.Activity#getContractContainer |
| * @model opposite="contractContainer" resolveProxies="false" required="true" transient="false" |
| * @generated |
| */ |
| Activity getActivity(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.egf.model.fcore.ContractContainer#getActivity <em>Activity</em>}' container reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Activity</em>' container reference. |
| * @see #getActivity() |
| * @generated |
| */ |
| void setActivity(Activity value); |
| |
| /** |
| * Returns the value of the '<em><b>Contracts</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.egf.model.fcore.Contract}. |
| * It is bidirectional and its opposite is '{@link org.eclipse.egf.model.fcore.Contract#getContractContainer <em>Contract Container</em>}'. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Contracts</em>' containment reference list isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Contracts</em>' containment reference list. |
| * @see org.eclipse.egf.model.fcore.FcorePackage#getContractContainer_Contracts() |
| * @see org.eclipse.egf.model.fcore.Contract#getContractContainer |
| * @model opposite="contractContainer" containment="true" required="true" |
| * @generated |
| */ |
| EList<Contract> getContracts(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| EList<Contract> getContracts(Type type); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| EList<Contract> getContracts(ContractMode mode); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @model |
| * @generated |
| */ |
| EList<Contract> getContracts(Type type, ContractMode mode); |
| |
| } // ContractContainer |