blob: 8825511bda09df2a46a897ebd20b5aa7c38cd4f9 [file] [log] [blame]
/**
* 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.components;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Requirement</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Requirements are used to express the fact that an implementation artifact or connection has requirements that must be
* fulfilled by resources in the target environment. The resource type must match the type of a resource.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.upr.depl.components.Requirement#getResourceType <em>Resource Type</em>}</li>
* <li>{@link org.eclipse.upr.depl.components.Requirement#getProperties <em>Properties</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.upr.depl.components.ComponentsPackage#getRequirement()
* @model
* @generated
*/
public interface Requirement extends EObject {
/**
* Returns the value of the '<em><b>Resource Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Identifies the resource type.
* <!-- end-model-doc -->
* @return the value of the '<em>Resource Type</em>' attribute.
* @see #setResourceType(String)
* @see org.eclipse.upr.depl.components.ComponentsPackage#getRequirement_ResourceType()
* @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/components/1.0!Requirement!resourceType'"
* @generated
*/
String getResourceType();
/**
* Sets the value of the '{@link org.eclipse.upr.depl.components.Requirement#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);
/**
* Returns the value of the '<em><b>Properties</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Properties associated with the resource.
* <!-- end-model-doc -->
* @return the value of the '<em>Properties</em>' containment reference.
* @see #setProperties(Property)
* @see org.eclipse.upr.depl.components.ComponentsPackage#getRequirement_Properties()
* @model containment="true" 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/components/1.0!Requirement!properties'"
* @generated
*/
Property getProperties();
/**
* Sets the value of the '{@link org.eclipse.upr.depl.components.Requirement#getProperties <em>Properties</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Properties</em>' containment reference.
* @see #getProperties()
* @generated
*/
void setProperties(Property value);
} // Requirement