Table of Contents

Class AnnotationSet

Namespace
NMF.Models.Meta
Assembly
NMF.Models.dll

The AnnotationSet extension

[XmlNamespace("http://nmf.codeplex.com/nmeta/")]
[XmlNamespacePrefix("nmeta")]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//AnnotationSet")]
public class AnnotationSet : ModelElementExtension<IModelElement, AnnotationSet>, IModelElementExtension, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
AnnotationSet
Implements
Inherited Members
Extension Methods

Constructors

AnnotationSet()

Creates a new instance

public AnnotationSet()

Properties

Annotations

The Annotations property

[Browsable(false)]
[XmlAttribute(false)]
[Containment]
public IOrderedSetExpression<IAnnotationEntry> Annotations { get; }

Property Value

IOrderedSetExpression<IAnnotationEntry>

Methods

FromModelElement(IModelElement)

Gets the AnnotationSet extension from the given model element

public static AnnotationSet FromModelElement(IModelElement parent)

Parameters

parent IModelElement

The parent model element that may hold the extension

Returns

AnnotationSet

The extension object or null, if the model element does not have this extension

GetExtension()

Gets the extension model element for the given model extension class

public override IExtension GetExtension()

Returns

IExtension