/** * <copyright> * * Copyright (c) 2011-2013 Obeo. * 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: * Obeo - initial API and implementation * * </copyright> */ package org.obeonetwork.dsl.bpmn2; import org.eclipse.emf.common.util.EList; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Activity</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getResources <em>Resources</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getDefault <em>Default</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getProperties <em>Properties</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getDataInputAssociations <em>Data Input Associations</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getDataOutputAssociations <em>Data Output Associations</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}</li> * <li>{@link org.obeonetwork.dsl.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}</li> * </ul> * * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity() * @model abstract="true" * @generated */ public interface Activity extends FlowNode { /** * Returns the value of the '<em><b>Is For Compensation</b></em>' attribute. * The default value is <code>"false"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Is For Compensation</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Is For Compensation</em>' attribute. * @see #setIsForCompensation(boolean) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_IsForCompensation() * @model default="false" required="true" ordered="false" * @generated */ boolean isIsForCompensation(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#isIsForCompensation <em>Is For Compensation</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Is For Compensation</em>' attribute. * @see #isIsForCompensation() * @generated */ void setIsForCompensation(boolean value); /** * Returns the value of the '<em><b>Loop Characteristics</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Loop Characteristics</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Loop Characteristics</em>' containment reference. * @see #setLoopCharacteristics(LoopCharacteristics) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_LoopCharacteristics() * @model containment="true" ordered="false" * @generated */ LoopCharacteristics getLoopCharacteristics(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#getLoopCharacteristics <em>Loop Characteristics</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Loop Characteristics</em>' containment reference. * @see #getLoopCharacteristics() * @generated */ void setLoopCharacteristics(LoopCharacteristics value); /** * Returns the value of the '<em><b>Resources</b></em>' containment reference list. * The list contents are of type {@link org.obeonetwork.dsl.bpmn2.ResourceRole}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Resources</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Resources</em>' containment reference list. * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_Resources() * @model containment="true" ordered="false" * @generated */ EList<ResourceRole> getResources(); /** * Returns the value of the '<em><b>Default</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Default</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Default</em>' reference. * @see #setDefault(SequenceFlow) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_Default() * @model ordered="false" * @generated */ SequenceFlow getDefault(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#getDefault <em>Default</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Default</em>' reference. * @see #getDefault() * @generated */ void setDefault(SequenceFlow value); /** * Returns the value of the '<em><b>Properties</b></em>' containment reference list. * The list contents are of type {@link org.obeonetwork.dsl.bpmn2.Property}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Properties</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Properties</em>' containment reference list. * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_Properties() * @model containment="true" ordered="false" * @generated */ EList<Property> getProperties(); /** * Returns the value of the '<em><b>Io Specification</b></em>' containment reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Io Specification</em>' containment reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Io Specification</em>' containment reference. * @see #setIoSpecification(InputOutputSpecification) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_IoSpecification() * @model containment="true" ordered="false" * @generated */ InputOutputSpecification getIoSpecification(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#getIoSpecification <em>Io Specification</em>}' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Io Specification</em>' containment reference. * @see #getIoSpecification() * @generated */ void setIoSpecification(InputOutputSpecification value); /** * Returns the value of the '<em><b>Boundary Event Refs</b></em>' reference list. * The list contents are of type {@link org.obeonetwork.dsl.bpmn2.BoundaryEvent}. * It is bidirectional and its opposite is '{@link org.obeonetwork.dsl.bpmn2.BoundaryEvent#getAttachedToRef <em>Attached To Ref</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Boundary Event Refs</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>Boundary Event Refs</em>' reference list. * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_BoundaryEventRefs() * @see org.obeonetwork.dsl.bpmn2.BoundaryEvent#getAttachedToRef * @model opposite="attachedToRef" ordered="false" * @generated */ EList<BoundaryEvent> getBoundaryEventRefs(); /** * Returns the value of the '<em><b>Data Input Associations</b></em>' containment reference list. * The list contents are of type {@link org.obeonetwork.dsl.bpmn2.DataInputAssociation}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data Input Associations</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Data Input Associations</em>' containment reference list. * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_DataInputAssociations() * @model containment="true" ordered="false" * @generated */ EList<DataInputAssociation> getDataInputAssociations(); /** * Returns the value of the '<em><b>Data Output Associations</b></em>' containment reference list. * The list contents are of type {@link org.obeonetwork.dsl.bpmn2.DataOutputAssociation}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data Output Associations</em>' containment reference list isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Data Output Associations</em>' containment reference list. * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_DataOutputAssociations() * @model containment="true" ordered="false" * @generated */ EList<DataOutputAssociation> getDataOutputAssociations(); /** * Returns the value of the '<em><b>Start Quantity</b></em>' attribute. * The default value is <code>"1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Start Quantity</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Start Quantity</em>' attribute. * @see #setStartQuantity(int) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_StartQuantity() * @model default="1" required="true" ordered="false" * @generated */ int getStartQuantity(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#getStartQuantity <em>Start Quantity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Start Quantity</em>' attribute. * @see #getStartQuantity() * @generated */ void setStartQuantity(int value); /** * Returns the value of the '<em><b>Completion Quantity</b></em>' attribute. * The default value is <code>"1"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Completion Quantity</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Completion Quantity</em>' attribute. * @see #setCompletionQuantity(int) * @see org.obeonetwork.dsl.bpmn2.Bpmn2Package#getActivity_CompletionQuantity() * @model default="1" required="true" ordered="false" * @generated */ int getCompletionQuantity(); /** * Sets the value of the '{@link org.obeonetwork.dsl.bpmn2.Activity#getCompletionQuantity <em>Completion Quantity</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Completion Quantity</em>' attribute. * @see #getCompletionQuantity() * @generated */ void setCompletionQuantity(int value); } // Activity