blob: 4caba7494d2bed03b0816abf0380426e1df23e79 [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.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Connector;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Property Connector</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* The PropertyConnector stereotype is an extension of the UML 2.0 Connector metaclass (from
* UML2.0::Components::BasicComponents). A PropertyConnector connects properties of a ComponentAssembly to
* properties of sub-Components.
*
* Constraints:
* • One of the connected Properties must be a Property of the ComponentAssembly.
* One of the connected Properties must be a Property of the ComponentAssembly.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.upr.depl.components.PropertyConnector#getBase_Connector <em>Base Connector</em>}</li>
* <li>{@link org.eclipse.upr.depl.components.PropertyConnector#getConnectedProperty <em>Connected Property</em>}</li>
* <li>{@link org.eclipse.upr.depl.components.PropertyConnector#getLabel <em>Label</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.upr.depl.components.ComponentsPackage#getPropertyConnector()
* @model
* @generated
*/
public interface PropertyConnector extends EObject {
/**
* Returns the value of the '<em><b>Base Connector</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Connector</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 Connector</em>' reference.
* @see #setBase_Connector(Connector)
* @see org.eclipse.upr.depl.components.ComponentsPackage#getPropertyConnector_Base_Connector()
* @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/components/1.0!PropertyConnector!base_Connector'"
* @generated
*/
Connector getBase_Connector();
/**
* Sets the value of the '{@link org.eclipse.upr.depl.components.PropertyConnector#getBase_Connector <em>Base Connector</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Connector</em>' reference.
* @see #getBase_Connector()
* @generated
*/
void setBase_Connector(Connector value);
/**
* Returns the value of the '<em><b>Connected Property</b></em>' reference list.
* The list contents are of type {@link org.eclipse.upr.depl.components.Property}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The set of Properties connected by the PropertyConnector. This association is a subset of the “end” association owned
* by UML2.0::CompositeStructures::InternalStructures::Connector.
* <!-- end-model-doc -->
* @return the value of the '<em>Connected Property</em>' reference list.
* @see org.eclipse.upr.depl.components.ComponentsPackage#getPropertyConnector_ConnectedProperty()
* @model lower="2" 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!PropertyConnector!connectedProperty'"
* @generated
*/
EList<Property> getConnectedProperty();
/**
* Returns the value of the '<em><b>Label</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Optionally identifies this connection within its assembly. May be used or generated by visual design tools.
* <!-- end-model-doc -->
* @return the value of the '<em>Label</em>' attribute.
* @see #setLabel(String)
* @see org.eclipse.upr.depl.components.ComponentsPackage#getPropertyConnector_Label()
* @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!PropertyConnector!label'"
* @generated
*/
String getLabel();
/**
* Sets the value of the '{@link org.eclipse.upr.depl.components.PropertyConnector#getLabel <em>Label</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Label</em>' attribute.
* @see #getLabel()
* @generated
*/
void setLabel(String value);
} // PropertyConnector