blob: 3ef78ca8a0b43c8e8f5caeeb435bd6b460faa838 [file] [log] [blame]
/**
*/
package org.eclipse.papyrus.bpmn.BPMNProfile;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.uml2.uml.Property;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Resource Role</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getBase_Property <em>Base Property</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getResourceRef <em>Resource Ref</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getResourceParameterBindings <em>Resource Parameter Bindings</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getProcess <em>Process</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole()
* @model
* @generated
*/
public interface ResourceRole extends BaseElement {
/**
* Returns the value of the '<em><b>Base Property</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Property</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 Property</em>' reference.
* @see #setBase_Property(Property)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole_Base_Property()
* @model required="true" ordered="false"
* @generated
*/
Property getBase_Property();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getBase_Property <em>Base Property</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Property</em>' reference.
* @see #getBase_Property()
* @generated
*/
void setBase_Property(Property value);
/**
* Returns the value of the '<em><b>Resource Assignment Expression</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Resource Assignment Expression</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Resource Assignment Expression</em>' reference.
* @see #setResourceAssignmentExpression(ResourceAssignmentExpression)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole_ResourceAssignmentExpression()
* @model ordered="false"
* @generated
*/
ResourceAssignmentExpression getResourceAssignmentExpression();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getResourceAssignmentExpression <em>Resource Assignment Expression</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Resource Assignment Expression</em>' reference.
* @see #getResourceAssignmentExpression()
* @generated
*/
void setResourceAssignmentExpression(ResourceAssignmentExpression value);
/**
* Returns the value of the '<em><b>Resource Ref</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Resource 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>Resource Ref</em>' reference.
* @see #setResourceRef(Resource)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole_ResourceRef()
* @model ordered="false"
* @generated
*/
Resource getResourceRef();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getResourceRef <em>Resource Ref</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Resource Ref</em>' reference.
* @see #getResourceRef()
* @generated
*/
void setResourceRef(Resource value);
/**
* Returns the value of the '<em><b>Resource Parameter Bindings</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameterBinding}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Resource Parameter Bindings</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>Resource Parameter Bindings</em>' reference list.
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole_ResourceParameterBindings()
* @model ordered="false"
* annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='resourceParameterBindings '"
* @generated
*/
EList<ResourceParameterBinding> getResourceParameterBindings();
/**
* Returns the value of the '<em><b>Process</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getResources <em>Resources</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Process</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Process</em>' reference.
* @see #setProcess(BPMNProcess)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceRole_Process()
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getResources
* @model opposite="resources" ordered="false"
* @generated
*/
BPMNProcess getProcess();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getProcess <em>Process</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Process</em>' reference.
* @see #getProcess()
* @generated
*/
void setProcess(BPMNProcess value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Owner of the ResourceRole must be BPMN Process or BPMN Activity.
* @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 annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ResourceRole.owner'"
* @generated
*/
boolean ResourceRoleowner(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* ResourceRole.resourceRef : Resource [0..1] = Property.type. ResourceRole type must be UML Class with stereotype BPMN Resource applied.
* @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 annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ResourceRole.resourceRef'"
* @generated
*/
boolean ResourceRoleresourceRef(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* ResourceRole IsRequired translates to UML::Property::lower wot values 0 or 1
* @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 annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ResourceRole.isRequired'"
* @generated
*/
boolean ResourceRoleisRequired(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* ResourceRole::/process : Process [0..1] = Property.class
* @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 annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ResourceRole.process'"
* @generated
*/
boolean ResourceRoleprocess(DiagnosticChain diagnostics, Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* ResourceRole.resourceParameterBindings : ResourceParameterBinding [*] = property.defaultValue.slot
* @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 annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='ResourceRole.resourceParameterBindings'"
* @generated
*/
boolean ResourceRoleresourceParameterBindings(DiagnosticChain diagnostics, Map<Object, Object> context);
} // ResourceRole