org.eclipse.uml2
Interface Implementation

All Superinterfaces:
Abstraction, Dependency, DirectedRelationship, Element, EModelElement, EObject, NamedElement, Notifier, PackageableElement, ParameterableElement, Realization, Relationship, TemplateableElement

public interface Implementation
extends Realization

A representation of the model object 'Implementation'. An Implementation is a specialized Realization relationship between a Classifier and an Interface. The implementation relationship signifies that the realizing classifier conforms to the contract specified by the interface.

The following features are supported:

See Also:
UML2Package.getImplementation()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 EList getClients()
           
 Interface getContract()
          Returns the value of the 'Contract' reference
 BehavioredClassifier getImplementingClassifier()
          Returns the value of the 'Implementing Classifier' container reference.
 EList getSources()
           
 EList getSuppliers()
           
 EList getTargets()
           
 void setContract(Interface value)
          Sets the value of the 'Contract' reference
 void setImplementingClassifier(BehavioredClassifier value)
          Sets the value of the 'Implementing Classifier' container reference
 
Methods inherited from interface org.eclipse.uml2.Realization
getAbstraction, getOwner, getRealizingClassifier, setAbstraction, setRealizingClassifier
 
Methods inherited from interface org.eclipse.uml2.Abstraction
createMapping, getMapping, getOwnedElements, setMapping
 
Methods inherited from interface org.eclipse.uml2.Dependency
getClient, getSupplier
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.DirectedRelationship
getRelatedElements
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getContract

public Interface getContract()
Returns the value of the 'Contract' reference.

If the meaning of the 'Contract' reference isn't clear, there really should be more of a description here...

References the Interface specifying the conformance contract. (Specializes Dependency. supplier and Relationship.target)

Returns:
the value of the 'Contract' reference.
See Also:
setContract(Interface), UML2Package.getImplementation_Contract()

setContract

public void setContract(Interface value)
Sets the value of the 'Contract' reference.

Parameters:
value - the new value of the 'Contract' reference.
See Also:
getContract()

getImplementingClassifier

public BehavioredClassifier getImplementingClassifier()
Returns the value of the 'Implementing Classifier' container reference. It is bidirectional and its opposite is 'Implementation'.

If the meaning of the 'Implementing Classifier' container reference isn't clear, there really should be more of a description here...

References the operations owned by the Interface. (Specializes Dependency.client and Relationship.source)

Returns:
the value of the 'Implementing Classifier' container reference.
See Also:
setImplementingClassifier(BehavioredClassifier), UML2Package.getImplementation_ImplementingClassifier(), BehavioredClassifier.getImplementations()

setImplementingClassifier

public void setImplementingClassifier(BehavioredClassifier value)
Sets the value of the 'Implementing Classifier' container reference.

Parameters:
value - the new value of the 'Implementing Classifier' container reference.
See Also:
getImplementingClassifier()

getSuppliers

public EList getSuppliers()

Specified by:
getSuppliers in interface Realization

getTargets

public EList getTargets()

Specified by:
getTargets in interface Realization

getClients

public EList getClients()

Specified by:
getClients in interface Realization

getSources

public EList getSources()

Specified by:
getSources in interface Realization

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