blob: 0456e5dd122aa3e5f4be1960370aa5c28e2e1369 [file] [log] [blame]
/*******************************************************************************
* Copyright 2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
******************************************************************************/
package org.eclipse.emf.emfstore.server.model.versioning.operations;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.emfstore.common.model.ModelElementId;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Multi Reference Operation</b></em>'. <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>
* {@link org.eclipse.emf.emfstore.server.model.versioning.operations.MultiReferenceOperation#isAdd
* <em>Add</em>}</li>
* <li>
* {@link org.eclipse.emf.emfstore.server.model.versioning.operations.MultiReferenceOperation#getIndex
* <em>Index</em>}</li>
* <li>
* {@link org.eclipse.emf.emfstore.server.model.versioning.operations.MultiReferenceOperation#getReferencedModelElements
* <em>Referenced Model Elements</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.emfstore.server.model.versioning.operations.OperationsPackage#getMultiReferenceOperation()
* @model
* @generated
*/
public interface MultiReferenceOperation extends ReferenceOperation {
/**
* Returns the value of the '<em><b>Add</b></em>' attribute. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Add</em>' attribute isn't clear, there really
* should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Add</em>' attribute.
* @see #setAdd(boolean)
* @see org.eclipse.emf.emfstore.server.model.versioning.operations.OperationsPackage#getMultiReferenceOperation_Add()
* @model
* @generated
*/
boolean isAdd();
/**
* Sets the value of the '
* {@link org.eclipse.emf.emfstore.server.model.versioning.operations.MultiReferenceOperation#isAdd
* <em>Add</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Add</em>' attribute.
* @see #isAdd()
* @generated
*/
void setAdd(boolean value);
/**
* Returns the value of the '<em><b>Index</b></em>' attribute. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Index</em>' attribute isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Index</em>' attribute.
* @see #setIndex(int)
* @see org.eclipse.emf.emfstore.server.model.versioning.operations.OperationsPackage#getMultiReferenceOperation_Index()
* @model
* @generated
*/
int getIndex();
/**
* Sets the value of the '
* {@link org.eclipse.emf.emfstore.server.model.versioning.operations.MultiReferenceOperation#getIndex
* <em>Index</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Index</em>' attribute.
* @see #getIndex()
* @generated
*/
void setIndex(int value);
/**
* Returns the value of the '<em><b>Referenced Model Elements</b></em>'
* containment reference list. The list contents are of type
* {@link org.eclipse.emf.emfstore.common.model.ModelElementId}. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Referenced Model Elements</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>Referenced Model Elements</em>' containment
* reference list.
* @see org.eclipse.emf.emfstore.server.model.versioning.operations.OperationsPackage#getMultiReferenceOperation_ReferencedModelElements()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<ModelElementId> getReferencedModelElements();
} // MultiReferenceOperation