edu.cmu.sei.aadl.aadl2
Interface Generalization

All Superinterfaces:
AObject, DirectedRelationship, Element, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, Relationship
All Known Subinterfaces:
GroupExtension, ImplementationExtension, Realization, TypeExtension
All Known Implementing Classes:
GeneralizationImpl, GroupExtensionImpl, ImplementationExtensionImpl, RealizationImpl, TypeExtensionImpl

public interface Generalization
extends DirectedRelationship

A representation of the model object 'Generalization'. A generalization is a taxonomic relationship between a more general classifier and a more specific classifier. Each instance of the specific classifier is also an instance of the general classifier. Thus, the specific classifier indirectly has features of the more general classifier.

The following features are supported:

See Also:
Aadl2Package.getGeneralization()

Field Summary
 
Fields inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
copyright
 
Method Summary
 Classifier getGeneral()
          Returns the value of the 'General' reference.
 Classifier getSpecific()
          Returns the value of the 'Specific' container reference.
 void setSpecific(Classifier value)
          Sets the value of the 'Specific' container reference
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.DirectedRelationship
getSources, getTargets
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Relationship
getRelatedElements
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.Element
allOwnedElements, createOwnedComment, getChildren, getContainingClassifier, getContainingComponentImpl, getElementRoot, getOwnedComments, getOwnedElements, getOwner, has_owner, mustBeOwned, not_own_self
 
Methods inherited from interface edu.cmu.sei.aadl.aadl2.parsesupport.AObject
getLocationReference, setLocationReference, setLocationReference
 
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.core.runtime.IAdaptable
getAdapter
 

Method Detail

getGeneral

Classifier getGeneral()
Returns the value of the 'General' reference.

This feature subsets the following features:

This feature is a derived union. References the general classifier in the Generalization relationship.

Returns:
the value of the 'General' reference.
See Also:
Aadl2Package.getGeneralization_General()

getSpecific

Classifier getSpecific()
Returns the value of the 'Specific' container reference. It is bidirectional and its opposite is 'Generalization'.

This feature subsets the following features:

References the specializing classifier in the Generalization relationship.

Returns:
the value of the 'Specific' container reference.
See Also:
setSpecific(Classifier), Aadl2Package.getGeneralization_Specific(), Classifier.getGeneralizations()

setSpecific

void setSpecific(Classifier value)
Sets the value of the 'Specific' container reference.

Parameters:
value - the new value of the 'Specific' container reference.
See Also:
getSpecific()