org.eclipse.uml2.uml.profile.l2
Interface ImplementationClass

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

public interface ImplementationClass
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Implementation Class'. The implementation of a class in some programming language (e.g., C++, Smalltalk, Java) in which an instance may not have more than one class. This is in contrast to Class, for which an instance may have multiple classes at one time and may gain or lose classes over time, and an object (a child of instance) may dynamically have multiple classes. An Implementation class is said to realize a Classifier if it provides all of the operations defined for the Classifier with the same behavior as specified for the Classifier's operations. An Implementation Class may realize a number of different Types. Note that the physical attributes and associations of the Implementation class do not have to be the same as those of any Classifier it realizes and that the Implementation Class may provide methods for its operations in terms of its physical attributes and associations. See also: «Type».

The following features are supported:

See Also:
L2Package.getImplementationClass()

Method Summary
 Class getBase_Class()
          Returns the value of the 'Base Class' reference
 void setBase_Class(Class value)
          Sets the value of the 'Base Class' reference
 boolean validateCannotBeRealization(org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
          self.base_Class.extension_Realization->isEmpty()
 
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

getBase_Class

Class getBase_Class()
Returns the value of the 'Base Class' reference.

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

Returns:
the value of the 'Base Class' reference.
See Also:
setBase_Class(org.eclipse.uml2.uml.Class), L2Package.getImplementationClass_Base_Class()

setBase_Class

void setBase_Class(Class value)
Sets the value of the 'Base Class' reference.

Parameters:
value - the new value of the 'Base Class' reference.
See Also:
getBase_Class()

validateCannotBeRealization

boolean validateCannotBeRealization(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    java.util.Map<java.lang.Object,java.lang.Object> context)
self.base_Class.extension_Realization->isEmpty()

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

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