Interface Generalization

All Superinterfaces:
BaseElement, Cloneable, Comparable, DirectedRelationship, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, org.eclipse.emf.common.notify.Notifier, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, Relationship

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. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.

The following features are supported:

See Also:
Model:
annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • getGeneral

      @CheckForNull Classifier getGeneral()
      Returns the value of the 'General' reference. It is bidirectional and its opposite is 'generalization Of General'. The general classifier in the Generalization relationship.
      Returns:
      the value of the 'General' reference.
      See Also:
      Model:
      opposite="_generalizationOfGeneral" required="true" ordered="false"
      Generated:
    • setGeneral

      void setGeneral(@CheckForNull Classifier value)
      Sets the value of the 'General' reference.
      Parameters:
      value - the new value of the 'General' reference.
      See Also:
      Generated:
    • getGeneralizationSet

      Collection<GeneralizationSet> getGeneralizationSet()
      Returns the value of the 'Generalization Set' reference list. The list contents are of type GeneralizationSet. It is bidirectional and its opposite is 'Generalization'. Represents a set of instances of Generalization. A Generalization may appear in many GeneralizationSets.
      Returns:
      the value of the 'Generalization Set' reference list.
      See Also:
      Model:
      opposite="generalization" ordered="false"
      Generated:
    • isSubstitutable

      boolean isSubstitutable()
      Returns the value of the 'Substitutable' attribute. The default value is "true". Indicates whether the specific Classifier can be used wherever the general Classifier can be used. If true, the execution traces of the specific Classifier shall be a superset of the execution traces of the general Classifier. If false, there is no such constraint on execution traces. If unset, the modeler has not stated whether there is such a constraint or not.
      Returns:
      the value of the 'Substitutable' attribute.
      See Also:
      Model:
      default="true" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" ordered="false"
      Generated:
    • setSubstitutable

      void setSubstitutable(boolean value)
      Sets the value of the 'Substitutable' attribute.
      Parameters:
      value - the new value of the 'Substitutable' attribute.
      See Also:
      Generated:
    • getSpecific

      @CheckForNull Classifier getSpecific()
      Returns the value of the 'Specific' container reference. It is bidirectional and its opposite is 'Generalization'. The specializing Classifier in the Generalization relationship.
      Returns:
      the value of the 'Specific' container reference.
      See Also:
      Model:
      opposite="generalization" required="true" transient="false" ordered="false"
      Generated:
    • setSpecific

      void setSpecific(@CheckForNull Classifier value)
      Sets the value of the 'Specific' container reference.
      Parameters:
      value - the new value of the 'Specific' container reference.
      See Also:
      Generated:
    • hasGeneralizationSet

      boolean hasGeneralizationSet() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: