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

Events

GeneralChanged

Gets fired when the General property changed its value

event EventHandler<ValueChangedEventArgs> GeneralChanged

Event Type

EventHandler<ValueChangedEventArgs>

GeneralChanging

Gets fired before the General property changes its value

event EventHandler<ValueChangedEventArgs> GeneralChanging

Event Type

EventHandler<ValueChangedEventArgs>

IsSubstitutableChanged

Gets fired when the IsSubstitutable property changed its value

event EventHandler<ValueChangedEventArgs> IsSubstitutableChanged

Event Type

EventHandler<ValueChangedEventArgs>

IsSubstitutableChanging

Gets fired before the IsSubstitutable property changes its value

event EventHandler<ValueChangedEventArgs> IsSubstitutableChanging

Event Type

EventHandler<ValueChangedEventArgs>

SpecificChanged

Gets fired when the Specific property changed its value

event EventHandler<ValueChangedEventArgs> SpecificChanged

Event Type

EventHandler<ValueChangedEventArgs>

SpecificChanging

Gets fired before the Specific property changes its value

event EventHandler<ValueChangedEventArgs> SpecificChanging

Event Type

EventHandler<ValueChangedEventArgs>