Table of Contents

Interface IGeneralization

Namespace
NMF.Interop.Cmof
Assembly
NMF.UMLInterop.dll

The public interface for Generalization

[DefaultImplementationType(typeof(Generalization))]
[XmlDefaultImplementationType(typeof(Generalization))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//Generalization")]
public interface IGeneralization : IDirectedRelationship, IRelationship, IElement, IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

General

References the general classifier in the Generalization relationship.

[XmlElementName("general")]
[XmlAttribute(true)]
IClassifier General { get; set; }

Property Value

IClassifier

IsSubstitutable

Indicates whether the specific classifier can be used wherever the general classifier can be used. If true, the execution traces of the specific classifier will be a superset of the execution traces of the general classifier.

[XmlElementName("isSubstitutable")]
[XmlAttribute(true)]
bool? IsSubstitutable { get; set; }

Property Value

bool?

Specific

References the specializing classifier in the Generalization relationship.

[Browsable(false)]
[XmlElementName("specific")]
[XmlAttribute(true)]
[XmlOpposite("generalization")]
IClassifier Specific { get; set; }

Property Value

IClassifier