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 java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Interface getContract()
          Returns the value of the 'Contract' reference
 BehavioredClassifier getImplementingClassifier()
          Returns the value of the 'Implementing Classifier' container reference.
 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, getRealizingClassifier, setAbstraction, setRealizingClassifier
 
Methods inherited from interface org.eclipse.uml2.Abstraction
createMapping, createMapping, getMapping, setMapping
 
Methods inherited from interface org.eclipse.uml2.Dependency
getClient, getClients, getSupplier, getSuppliers
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, setPackageableElement_visibility
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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
getSources, getTargets
 
Methods inherited from interface org.eclipse.uml2.Relationship
getRelatedElements
 

Field Detail

copyright

public static final java.lang.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()

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