Class AnnotationSet
The Annotation extension
Inheritance
AnnotationSet
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.dll
Syntax
[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
Constructors
| Edit this page View SourceAnnotationSet()
Declaration
public AnnotationSet()
Properties
| Edit this page View SourceAnnotations
The Annotations property
Declaration
[Browsable(false)]
[XmlAttribute(false)]
[Containment]
public IOrderedSetExpression<IAnnotationEntry> Annotations { get; }
Property Value
Type | Description |
---|---|
IOrderedSetExpression<IAnnotationEntry> |
Methods
| Edit this page View SourceFromModelElement(IModelElement)
Gets the Annotation extension from the given model element
Declaration
public static AnnotationSet FromModelElement(IModelElement parent)
Parameters
Type | Name | Description |
---|---|---|
IModelElement | parent | The parent model element that may hold the extension |
Returns
Type | Description |
---|---|
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
Declaration
public override IExtension GetExtension()
Returns
Type | Description |
---|---|
IExtension |
Overrides
| Edit this page View SourceGetRelativePathForNonIdentifiedChild(IModelElement)
Gets the relative URI fragment for the given child model element
Declaration
protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)
Parameters
Type | Name | Description |
---|---|---|
IModelElement | element | The element that should be looked for |
Returns
Type | Description |
---|---|
string | A fragment of the relative URI |