blob: b6a051f4eb3d01f84df098dc41cffc6a4d3b8aec [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007, 2010 BMW Car IT, Technische Universitaet Muenchen, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* BMW Car IT - Initial API and implementation
* Technische Universitaet Muenchen - Major refactoring and extension
*******************************************************************************/
package org.eclipse.emf.edapt.spi.migration;
import org.eclipse.emf.ecore.EStructuralFeature;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Slot</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A slot holds the values of a feature
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.edapt.spi.migration.Slot#getInstance <em>Instance</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getSlot()
* @model abstract="true"
* annotation="http://www.eclipse.org/emf/2002/Ecore constraints='validFeature validMultiplicity'"
* @generated
*/
public interface Slot {
/**
* Returns the value of the '<em><b>Instance</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.edapt.spi.migration.Instance#getSlots
* <em>Slots</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Instance</em>' container reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The instance to which this slot belongs
* <!-- end-model-doc -->
*
* @return the value of the '<em>Instance</em>' container reference.
* @see #setInstance(Instance)
* @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getSlot_Instance()
* @see org.eclipse.emf.edapt.spi.migration.Instance#getSlots
* @model opposite="slots" required="true" transient="false"
* @generated
*/
Instance getInstance();
/**
* Sets the value of the '{@link org.eclipse.emf.edapt.spi.migration.Slot#getInstance <em>Instance</em>}' container
* reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value the new value of the '<em>Instance</em>' container reference.
* @see #getInstance()
* @generated
*/
void setInstance(Instance value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Get the feature to which the slot conforms
* <!-- end-model-doc -->
*
* @model kind="operation"
* @generated
*/
EStructuralFeature getEFeature();
} // Slot