| /* |
| * Copyright (c) 2005, 2015 IBM Corporation, CEA, and others. |
| * 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: |
| * IBM - initial API and implementation |
| * Christian W. Damus (CEA) - 251963 |
| * Kenn Hussey (CEA) - 418466, 451350 |
| * |
| */ |
| package org.eclipse.uml2.uml; |
| |
| import java.util.Map; |
| |
| import org.eclipse.emf.common.util.DiagnosticChain; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Qualifier Value</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * A QualifierValue is an Element that is used as part of LinkEndData to provide the value for a single qualifier of the end given by the LinkEndData. |
| * <p>From package UML::Actions.</p> |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.uml2.uml.QualifierValue#getQualifier <em>Qualifier</em>}</li> |
| * <li>{@link org.eclipse.uml2.uml.QualifierValue#getValue <em>Value</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.uml2.uml.UMLPackage#getQualifierValue() |
| * @model |
| * @generated |
| */ |
| public interface QualifierValue |
| extends Element { |
| |
| /** |
| * Returns the value of the '<em><b>Qualifier</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The qualifier Property for which the value is to be specified. |
| * <p>From package UML::Actions.</p> |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Qualifier</em>' reference. |
| * @see #setQualifier(Property) |
| * @see org.eclipse.uml2.uml.UMLPackage#getQualifierValue_Qualifier() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| Property getQualifier(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.uml.QualifierValue#getQualifier <em>Qualifier</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Qualifier</em>' reference. |
| * @see #getQualifier() |
| * @generated |
| */ |
| void setQualifier(Property value); |
| |
| /** |
| * Returns the value of the '<em><b>Value</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The InputPin from which the specified value for the qualifier is taken. |
| * <p>From package UML::Actions.</p> |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Value</em>' reference. |
| * @see #setValue(InputPin) |
| * @see org.eclipse.uml2.uml.UMLPackage#getQualifierValue_Value() |
| * @model required="true" ordered="false" |
| * @generated |
| */ |
| InputPin getValue(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.uml2.uml.QualifierValue#getValue <em>Value</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Value</em>' reference. |
| * @see #getValue() |
| * @generated |
| */ |
| void setValue(InputPin value); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The qualifier must be a qualifier of the Association end of the linkEndData that owns this QualifierValue. |
| * linkEndData.end.qualifier->includes(qualifier) |
| * @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 validateQualifierAttribute(DiagnosticChain diagnostics, |
| Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The type of the value InputPin conforms to the type of the qualifier Property. |
| * value.type.conformsTo(qualifier.type) |
| * @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 validateTypeOfQualifier(DiagnosticChain diagnostics, |
| Map<Object, Object> context); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * The multiplicity of the value InputPin is 1..1. |
| * value.is(1,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 |
| * @generated |
| */ |
| boolean validateMultiplicityOfQualifier(DiagnosticChain diagnostics, |
| Map<Object, Object> context); |
| |
| } // QualifierValue |