| /******************************************************************************* |
| * 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.common.util.URI; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Abstract Resource</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * Base class for model and metamodel resources |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.emf.edapt.spi.migration.AbstractResource#getUri <em>Uri</em>}</li> |
| * <li>{@link org.eclipse.emf.edapt.spi.migration.AbstractResource#getEncoding <em>Encoding</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getAbstractResource() |
| * @model abstract="true" |
| * @generated |
| */ |
| public interface AbstractResource { |
| /** |
| * Returns the value of the '<em><b>Uri</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Uri</em>' attribute isn't clear, there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Uniform Resource Identifier (URI) of this resource |
| * <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Uri</em>' attribute. |
| * @see #setUri(URI) |
| * @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getAbstractResource_Uri() |
| * @model dataType="org.eclipse.emf.edapt.migration.URI" required="true" |
| * @generated |
| */ |
| URI getUri(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.edapt.spi.migration.AbstractResource#getUri <em>Uri</em>}' |
| * attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @param value the new value of the '<em>Uri</em>' attribute. |
| * @see #getUri() |
| * @generated |
| */ |
| void setUri(URI value); |
| |
| /** |
| * Returns the value of the '<em><b>Encoding</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Encoding</em>' attribute isn't clear, there really should be more of a description |
| * here... |
| * </p> |
| * <!-- end-user-doc --> |
| * |
| * @return the value of the '<em>Encoding</em>' attribute. |
| * @see #setEncoding(String) |
| * @see org.eclipse.emf.edapt.spi.migration.MigrationPackage#getAbstractResource_Encoding() |
| * @model |
| * @generated |
| */ |
| String getEncoding(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.emf.edapt.spi.migration.AbstractResource#getEncoding <em>Encoding</em>} |
| * ' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * |
| * @param value the new value of the '<em>Encoding</em>' attribute. |
| * @see #getEncoding() |
| * @generated |
| */ |
| void setEncoding(String value); |
| |
| } // AbstractResource |