| /** |
| */ |
| package org.eclipse.papyrus.bpmn.BPMNProfile; |
| |
| import java.util.Map; |
| |
| import org.eclipse.emf.common.util.DiagnosticChain; |
| import org.eclipse.uml2.uml.Property; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Resource Parameter</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#getBase_Property <em>Base Property</em>}</li> |
| * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#getType <em>Type</em>}</li> |
| * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#isRequired <em>Is Required</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceParameter() |
| * @model |
| * @generated |
| */ |
| public interface ResourceParameter 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#getResourceParameter_Base_Property() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| Property getBase_Property(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#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>Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type</em>' reference. |
| * @see #setType(ItemDefinition) |
| * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceParameter_Type() |
| * @model ordered="false" |
| * annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='type '" |
| * @generated |
| */ |
| ItemDefinition getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#getType <em>Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' reference. |
| * @see #getType() |
| * @generated |
| */ |
| void setType(ItemDefinition value); |
| |
| /** |
| * Returns the value of the '<em><b>Is Required</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Is Required</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 Required</em>' attribute. |
| * @see #setIsRequired(boolean) |
| * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getResourceParameter_IsRequired() |
| * @model dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" |
| * @generated |
| */ |
| boolean isRequired(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceParameter#isRequired <em>Is Required</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Is Required</em>' attribute. |
| * @see #isRequired() |
| * @generated |
| */ |
| void setIsRequired(boolean value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * Resource Parameter must be owned by Resource. |
| * @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='ResourceParameter.owner'" |
| * @generated |
| */ |
| boolean ResourceParameterowner(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * ResourceParameter::/type : Item Definition [0..1] = Property.type (defined on typed element). |
| * @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='ResourceParameter.type'" |
| * @generated |
| */ |
| boolean ResourceParametertype(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * ResourceParameter.isRequired : Boolean = Property.lower > 0 |
| * (defined on Multiplicity Element) |
| * @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='ResourceParameter.isRequired'" |
| * @generated |
| */ |
| boolean ResourceParameterisRequired(DiagnosticChain diagnostics, Map<Object, Object> context); |
| |
| } // ResourceParameter |