org.eclipse.uml2.uml
Interface InterfaceRealization

All Superinterfaces:
Abstraction, Dependency, DirectedRelationship, Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, Realization, Relationship

public interface InterfaceRealization
extends Realization

A representation of the model object 'Interface Realization'. An InterfaceRealization is a specialized realization relationship between a BehavioredClassifier and an Interface. This relationship signifies that the realizing BehavioredClassifier conforms to the contract specified by the Interface.

From package UML::SimpleClassifiers.

The following features are supported:

See Also:
UMLPackage.getInterfaceRealization()

Field Summary
 
Fields inherited from interface org.eclipse.uml2.uml.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.uml.Abstraction
createMapping, getMapping, setMapping
 
Methods inherited from interface org.eclipse.uml2.uml.Dependency
getClient, getClient, getClients, getSupplier, getSupplier, getSuppliers
 
Methods inherited from interface org.eclipse.uml2.uml.PackageableElement
validateNamespaceNeedsVisibility
 
Methods inherited from interface org.eclipse.uml2.uml.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.uml.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.uml.DirectedRelationship
getSources, getTargets
 
Methods inherited from interface org.eclipse.uml2.uml.Relationship
getRelatedElements
 
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

getContract

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

This feature subsets the following features:

References the Interface specifying the conformance contract.

From package UML::SimpleClassifiers.

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

setContract

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

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

getImplementingClassifier

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

This feature subsets the following features:

References the BehavioredClassifier that owns this InterfaceRealization, i.e., the BehavioredClassifier that realizes the Interface to which it refers.

From package UML::SimpleClassifiers.

Returns:
the value of the 'Implementing Classifier' container reference.
See Also:
setImplementingClassifier(BehavioredClassifier), UMLPackage.getInterfaceRealization_ImplementingClassifier(), BehavioredClassifier.getInterfaceRealizations()

setImplementingClassifier

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, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.