org.eclipse.uml2.uml
Interface QualifierValue

All Superinterfaces:
Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier

public interface QualifierValue
extends Element

A representation of the model object 'Qualifier Value'. 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.

From package UML::Actions.

The following features are supported:

See Also:
UMLPackage.getQualifierValue()

Method Summary
 Property getQualifier()
          Returns the value of the 'Qualifier' reference
 InputPin getValue()
          Returns the value of the 'Value' reference
 void setQualifier(Property value)
          Sets the value of the 'Qualifier' reference
 void setValue(InputPin value)
          Sets the value of the 'Value' reference
 boolean validateMultiplicityOfQualifier(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          The multiplicity of the value InputPin is 1..1.
 boolean validateQualifierAttribute(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          The qualifier must be a qualifier of the Association end of the linkEndData that owns this QualifierValue.
 boolean validateTypeOfQualifier(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          The type of the value InputPin conforms to the type of the qualifier Property.
 
Methods inherited from interface org.eclipse.uml2.uml.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getQualifier

Property getQualifier()
Returns the value of the 'Qualifier' reference. The qualifier Property for which the value is to be specified.

From package UML::Actions.

Returns:
the value of the 'Qualifier' reference.
See Also:
setQualifier(Property), UMLPackage.getQualifierValue_Qualifier()

setQualifier

void setQualifier(Property value)
Sets the value of the 'Qualifier' reference.

Parameters:
value - the new value of the 'Qualifier' reference.
See Also:
getQualifier()

getValue

InputPin getValue()
Returns the value of the 'Value' reference. The InputPin from which the specified value for the qualifier is taken.

From package UML::Actions.

Returns:
the value of the 'Value' reference.
See Also:
setValue(InputPin), UMLPackage.getQualifierValue_Value()

setValue

void setValue(InputPin value)
Sets the value of the 'Value' reference.

Parameters:
value - the new value of the 'Value' reference.
See Also:
getValue()

validateQualifierAttribute

boolean validateQualifierAttribute(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   java.util.Map<java.lang.Object,java.lang.Object> context)
The qualifier must be a qualifier of the Association end of the linkEndData that owns this QualifierValue. linkEndData.end.qualifier->includes(qualifier)

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

validateTypeOfQualifier

boolean validateTypeOfQualifier(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                java.util.Map<java.lang.Object,java.lang.Object> context)
The type of the value InputPin conforms to the type of the qualifier Property. value.type.conformsTo(qualifier.type)

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

validateMultiplicityOfQualifier

boolean validateMultiplicityOfQualifier(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        java.util.Map<java.lang.Object,java.lang.Object> context)
The multiplicity of the value InputPin is 1..1. value.is(1,1)

Parameters:
diagnostics - The chain of diagnostics to which problems are to be appended.
context - The cache of context-specific information.

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.