| /** |
| * Copyright (c) 2014 Fraunhofer FOKUS |
| * 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: |
| * Max Bureck |
| * Marc-Florian Wendland |
| */ |
| package org.eclipse.upr.depl.target; |
| |
| import org.eclipse.emf.ecore.EObject; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Resource</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * The Resources stereotype extends the UML 2.0 Class metaclass (from UML2.0::Kernel). |
| * Resources represent features within the target environment. They are matched against implementation requirements at |
| * deployment planning time. |
| * |
| * Constraints |
| * The name of a Resource must be unique within the container. |
| * A Resource is exclusively owned by either a Node, an Interconnect, or a bridge. |
| * The name of a Resource must be unique within the container. |
| * A Resource is exclusively owned by either a Node, an Interconnect, or a bridge. |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.upr.depl.target.Resource#getBase_Class <em>Base Class</em>}</li> |
| * <li>{@link org.eclipse.upr.depl.target.Resource#getName <em>Name</em>}</li> |
| * <li>{@link org.eclipse.upr.depl.target.Resource#getResourceType <em>Resource Type</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.upr.depl.target.TargetPackage#getResource() |
| * @model |
| * @generated |
| */ |
| public interface Resource extends EObject { |
| /** |
| * Returns the value of the '<em><b>Base Class</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Base Class</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Base Class</em>' reference. |
| * @see #setBase_Class(org.eclipse.uml2.uml.Class) |
| * @see org.eclipse.upr.depl.target.TargetPackage#getResource_Base_Class() |
| * @model required="true" ordered="false" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.omg.org/spec/DEPL/4.0/profile/target/1.0!Resource!base_Class'" |
| * @generated |
| */ |
| org.eclipse.uml2.uml.Class getBase_Class(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.upr.depl.target.Resource#getBase_Class <em>Base Class</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Base Class</em>' reference. |
| * @see #getBase_Class() |
| * @generated |
| */ |
| void setBase_Class(org.eclipse.uml2.uml.Class value); |
| |
| /** |
| * Returns the value of the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * An optional name for the requirement satisfier. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Name</em>' attribute. |
| * @see #setName(String) |
| * @see org.eclipse.upr.depl.target.TargetPackage#getResource_Name() |
| * @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.omg.org/spec/DEPL/4.0/profile/target/1.0!Resource!name'" |
| * @generated |
| */ |
| String getName(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.upr.depl.target.Resource#getName <em>Name</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Name</em>' attribute. |
| * @see #getName() |
| * @generated |
| */ |
| void setName(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Resource Type</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The resource types that can be satisfied by this resource. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Resource Type</em>' attribute. |
| * @see #setResourceType(String) |
| * @see org.eclipse.upr.depl.target.TargetPackage#getResource_ResourceType() |
| * @model unique="false" dataType="org.eclipse.uml2.types.String" required="true" |
| * annotation="http://www.eclipse.org/emf/2002/GenModel get='throw new UnsupportedOperationException(); // FIXME Unimplemented http://www.omg.org/spec/DEPL/4.0/profile/target/1.0!Resource!resourceType'" |
| * @generated |
| */ |
| String getResourceType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.upr.depl.target.Resource#getResourceType <em>Resource Type</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Resource Type</em>' attribute. |
| * @see #getResourceType() |
| * @generated |
| */ |
| void setResourceType(String value); |
| |
| } // Resource |