blob: a385c6c18bff08bf271e88593e2e553983cf6a17 [file] [log] [blame]
/**
*/
package org.eclipse.papyrus.bpmn.BPMNProfile;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.uml2.uml.Dependency;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>BPMN Association</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getBase_Dependency <em>Base Dependency</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getAssociationDirection <em>Association Direction</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getTargetRef <em>Target Ref</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getSourceRef <em>Source Ref</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNAssociation()
* @model
* @generated
*/
public interface BPMNAssociation extends BPMNArtifact {
/**
* Returns the value of the '<em><b>Base Dependency</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Dependency</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 Dependency</em>' reference.
* @see #setBase_Dependency(Dependency)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNAssociation_Base_Dependency()
* @model required="true" ordered="false"
* @generated
*/
Dependency getBase_Dependency();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getBase_Dependency <em>Base Dependency</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Dependency</em>' reference.
* @see #getBase_Dependency()
* @generated
*/
void setBase_Dependency(Dependency value);
/**
* Returns the value of the '<em><b>Association Direction</b></em>' attribute.
* The default value is <code>"none"</code>.
* The literals are from the enumeration {@link org.eclipse.papyrus.bpmn.BPMNProfile.AssociationDirection}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Association 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>Association Direction</em>' attribute.
* @see org.eclipse.papyrus.bpmn.BPMNProfile.AssociationDirection
* @see #setAssociationDirection(AssociationDirection)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNAssociation_AssociationDirection()
* @model default="none" required="true" ordered="false"
* @generated
*/
AssociationDirection getAssociationDirection();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getAssociationDirection <em>Association Direction</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Association Direction</em>' attribute.
* @see org.eclipse.papyrus.bpmn.BPMNProfile.AssociationDirection
* @see #getAssociationDirection()
* @generated
*/
void setAssociationDirection(AssociationDirection value);
/**
* Returns the value of the '<em><b>Target Ref</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BaseElement#getIncoming <em>Incoming</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Target Ref</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Target Ref</em>' reference.
* @see #setTargetRef(BaseElement)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNAssociation_TargetRef()
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BaseElement#getIncoming
* @model opposite="incoming" required="true" ordered="false"
* @generated
*/
BaseElement getTargetRef();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getTargetRef <em>Target Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Target Ref</em>' reference.
* @see #getTargetRef()
* @generated
*/
void setTargetRef(BaseElement value);
/**
* Returns the value of the '<em><b>Source Ref</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BaseElement#getOutgoing <em>Outgoing</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Source Ref</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Source Ref</em>' reference.
* @see #setSourceRef(BaseElement)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNAssociation_SourceRef()
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BaseElement#getOutgoing
* @model opposite="outgoing" required="true" ordered="false"
* @generated
*/
BaseElement getSourceRef();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNAssociation#getSourceRef <em>Source Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Source Ref</em>' reference.
* @see #getSourceRef()
* @generated
*/
void setSourceRef(BaseElement value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* At least one of association ends (target or source) must be TextAnnotation.
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean AssociationEnd(DiagnosticChain diagnostics, Map<Object, Object> context);
} // BPMNAssociation