org.eclipse.uml2.uml
Interface QualifierValue

All Superinterfaces:
Element, EModelElement, EObject, Notifier

public interface QualifierValue
extends Element

A representation of the model object 'Qualifier Value'. A qualifier value is not an action. It is an element that identifies links. It gives a single qualifier within a link end data specification.

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(DiagnosticChain diagnostics, Map context)
           The multiplicity of the qualifier value input pin is "1..1".
 boolean validateQualifierAttribute(DiagnosticChain diagnostics, Map context)
           The qualifier attribute must be a qualifier of the association end of the link-end data.
 boolean validateTypeOfQualifier(DiagnosticChain diagnostics, Map context)
           The type of the qualifier value input pin is the same as the type of the qualifier attribute.
 
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, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getQualifier

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

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

setQualifier

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

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

getValue

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

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

setValue

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

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

validateQualifierAttribute

public boolean validateQualifierAttribute(DiagnosticChain diagnostics,
                                          Map context)
The qualifier attribute must be a qualifier of the association end of the link-end data. self.LinkEndData.end->collect(qualifier)->includes(self.qualifier)


validateTypeOfQualifier

public boolean validateTypeOfQualifier(DiagnosticChain diagnostics,
                                       Map context)
The type of the qualifier value input pin is the same as the type of the qualifier attribute. self.value.type = self.qualifier.type


validateMultiplicityOfQualifier

public boolean validateMultiplicityOfQualifier(DiagnosticChain diagnostics,
                                               Map context)
The multiplicity of the qualifier value input pin is "1..1". self.value.multiplicity.is(1,1)


Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.