Show / Hide Table of Contents

Class AnnotationSet

The Annotation extension

Inheritance
object
ModelElement
ModelElementExtension
ModelElementExtension<IModelElement, AnnotationSet>
AnnotationSet
Implements
IModelElementExtension
IModelElement
INotifyPropertyChanged
INotifyPropertyChanging
Inherited Members
ModelElementExtension.GetClass()
ModelElement.Model
ModelElement.Freeze()
ModelElement.Lock()
ModelElement.IsFrozen
ModelElement.IsLocked
ModelElement.Unlock()
ModelElement.TryUnlock()
ModelElement.GetContainerReference(IModelElement, out int)
ModelElement.PropagateNewModel(Model, Model, IModelElement)
ModelElement.OnChildCreated(IModelElement)
ModelElement.OnParentChanging(IModelElement, IModelElement)
ModelElement.OnParentChanged(IModelElement, IModelElement)
ModelElement.Parent
ModelElement.Children
ModelElement.RelativeUri
ModelElement.AbsoluteUri
ModelElement.CreateUriWithFragment(string, bool, IModelElement)
ModelElement.CreateUriFromGlobalIdentifier(string, bool)
ModelElement.PropagateNewId(ValueChangedEventArgs)
ModelElement.EnforceModels
ModelElement.PreferIdentifiers
ModelElement.IsIdentified
ModelElement.ToIdentifierString()
ModelElement.ToString()
ModelElement.KeyChanged
ModelElement.OnKeyChanged(EventArgs)
ModelElement.Resolve(Uri)
ModelElement.Resolve(string)
ModelElement.GetRelativePathForChild(IModelElement)
ModelElement.GetCompositionName(object)
ModelElement.GetModelElementForPathSegment(string)
ModelElement.GetModelElementForReference(string, int)
ModelElement.GetCollectionForFeature(string)
ModelElement.GetAttributeValue(string, int)
ModelElement.SetFeature(string, object)
ModelElement.CallOperation(IOperation, object[])
ModelElement.GetExpressionForReference(string)
ModelElement.GetExpressionForAttribute(string)
ModelElement.Extensions
ModelElement.GetExtension<T>()
ModelElement.ReferencedElements
ModelElement.OnPropertyChanged(string, ValueChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnPropertyChanging(string, ValueChangedEventArgs, Lazy<ITypedElement>)
ModelElement.Delete()
ModelElement.OnDeleting(UriChangedEventArgs)
ModelElement.OnDeleted(UriChangedEventArgs)
ModelElement.PropertyChanged
ModelElement.PropertyChanging
ModelElement.Deleted
ModelElement.Deleting
ModelElement.UriChanged
ModelElement.ClassInstance
ModelElement.GetReferencedElement(IReference, int)
ModelElement.SetReferencedElement(IReference, IModelElement)
ModelElement.GetReferencedElements(IReference)
ModelElement.GetAttributeValue(IAttribute, int)
ModelElement.SetAttributeValue(IAttribute, object)
ModelElement.GetAttributeValues(IAttribute)
ModelElement.OnCollectionChanged(string, NotifyCollectionChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnCollectionChanging(string, NotifyCollectionChangedEventArgs, Lazy<ITypedElement>)
ModelElement.OnBubbledChange(BubbledChangeEventArgs)
ModelElement.BubbledChange
ModelElement.ParentChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 Source

AnnotationSet()

Declaration
public AnnotationSet()

Properties

| Edit this page View Source

Annotations

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 Source

FromModelElement(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

| Edit this page View Source

GetExtension()

Gets the extension model element for the given model extension class

Declaration
public override IExtension GetExtension()
Returns
Type Description
IExtension
Overrides
ModelElementExtension.GetExtension()
| Edit this page View Source

GetRelativePathForNonIdentifiedChild(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

Overrides
ModelElement.GetRelativePathForNonIdentifiedChild(IModelElement)

Implements

IModelElementExtension
IModelElement
INotifyPropertyChanged
INotifyPropertyChanging

Extension Methods

ModelExtensions.AncestorTree(IModelElement)
ModelExtensions.Ancestors(IModelElement)
ModelExtensions.Descendants(IModelElement)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX