blob: 137b35533374f9adfed556becf81e58a4e9b8a83 [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
*/
package org.eclipse.upr.bpmnprof;
import org.eclipse.emf.common.util.EList;
import org.eclipse.uml2.uml.Constraint;
import org.eclipse.uml2.uml.Element;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>BPMN Relationship</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* <p>From package BPMNProfile::CoreStructure::Foundation.</p>
* <p>From package BPMNProfile::CoreStructure::Service.</p>
* <p>From package BPMNProfile::Collaboration::Conversation.</p>
* <p>From package BPMNProfile::CoreStructure.</p>
* <p>From package BPMNProfile::Process::Activities.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getBase_Constraint <em>Base Constraint</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getDirection <em>Direction</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getTargets <em>Targets</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getSources <em>Sources</em>}</li>
* <li>{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getDefinition <em>Definition</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship()
* @model
* @generated
*/
public interface BPMNRelationship extends BaseElement {
/**
* Returns the value of the '<em><b>Base Constraint</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Constraint</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 Constraint</em>' reference.
* @see #setBase_Constraint(Constraint)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Base_Constraint()
* @model required="true" ordered="false"
* @generated
*/
Constraint getBase_Constraint();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getBase_Constraint <em>Base Constraint</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Constraint</em>' reference.
* @see #getBase_Constraint()
* @generated
*/
void setBase_Constraint(Constraint value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see #setType(String)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Type()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
String getType();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see #getType()
* @generated
*/
void setType(String value);
/**
* Returns the value of the '<em><b>Direction</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.upr.bpmnprof.RelationshipDirection}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Direction</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Direction</em>' attribute.
* @see org.eclipse.upr.bpmnprof.RelationshipDirection
* @see #setDirection(RelationshipDirection)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Direction()
* @model required="true" ordered="false"
* @generated
*/
RelationshipDirection getDirection();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getDirection <em>Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Direction</em>' attribute.
* @see org.eclipse.upr.bpmnprof.RelationshipDirection
* @see #getDirection()
* @generated
*/
void setDirection(RelationshipDirection value);
/**
* Returns the value of the '<em><b>Targets</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Element}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Targets</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Targets</em>' reference list.
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Targets()
* @model required="true" ordered="false"
* @generated
*/
EList<Element> getTargets();
/**
* Returns the value of the '<em><b>Sources</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.uml.Element}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Sources</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Sources</em>' reference list.
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Sources()
* @model required="true" ordered="false"
* @generated
*/
EList<Element> getSources();
/**
* Returns the value of the '<em><b>Definition</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Definition</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Definition</em>' reference.
* @see #setDefinition(Definitions)
* @see org.eclipse.upr.bpmnprof.BpmnprofPackage#getBPMNRelationship_Definition()
* @model required="true" transient="true" volatile="true" derived="true" ordered="false"
* @generated
*/
Definitions getDefinition();
/**
* Sets the value of the '{@link org.eclipse.upr.bpmnprof.BPMNRelationship#getDefinition <em>Definition</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Definition</em>' reference.
* @see #getDefinition()
* @generated
*/
void setDefinition(Definitions value);
} // BPMNRelationship