blob: de5915cc86e80a115e5c274ae6281e844ba951dc [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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* BMW Car IT - Initial API and implementation
* Technische Universitaet Muenchen - Major refactoring and extension
*******************************************************************************/
package org.eclipse.emf.edapt.spi.migration;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Repository</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* The repository to migrate the model conforming to a metamodel
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.edapt.spi.migration.Repository#getModel <em>Model</em>}</li>
* <li>{@link org.eclipse.emf.edapt.spi.migration.Repository#getMetamodel <em>Metamodel</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getRepository()
* @model
* @generated
*/
public interface Repository {
/**
* Returns the value of the '<em><b>Model</b></em>' containment reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.edapt.spi.migration.Model#getRepository
* <em>Repository</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Model</em>' containment reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Get the model of this repository
* <!-- end-model-doc -->
*
* @return the value of the '<em>Model</em>' containment reference.
* @see #setModel(Model)
* @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getRepository_Model()
* @see org.eclipse.emf.edapt.spi.migration.Model#getRepository
* @model opposite="repository" containment="true" required="true"
* @generated
*/
Model getModel();
/**
* Sets the value of the '{@link org.eclipse.emf.edapt.spi.migration.Repository#getModel <em>Model</em>}'
* containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value the new value of the '<em>Model</em>' containment reference.
* @see #getModel()
* @generated
*/
void setModel(Model value);
/**
* Returns the value of the '<em><b>Metamodel</b></em>' containment reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.edapt.spi.migration.Metamodel#getRepository
* <em>Repository</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Metamodel</em>' containment reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The metamodel of this repository
* <!-- end-model-doc -->
*
* @return the value of the '<em>Metamodel</em>' containment reference.
* @see #setMetamodel(Metamodel)
* @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getRepository_Metamodel()
* @see org.eclipse.emf.edapt.spi.migration.Metamodel#getRepository
* @model opposite="repository" containment="true" required="true"
* @generated
*/
Metamodel getMetamodel();
/**
* Sets the value of the '{@link org.eclipse.emf.edapt.spi.migration.Repository#getMetamodel <em>Metamodel</em>}'
* containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value the new value of the '<em>Metamodel</em>' containment reference.
* @see #getMetamodel()
* @generated
*/
void setMetamodel(Metamodel value);
} // Repository