Table of Contents

Class ETypedElement

Namespace
NMF.Interop.Ecore
Assembly
NMF.EcoreInterop.dll

The default implementation of the ETypedElement class

[XmlNamespace("http://www.eclipse.org/emf/2002/Ecore")]
[XmlNamespacePrefix("ecore")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2002/Ecore#//ETypedElement/")]
public abstract class ETypedElement : ENamedElement, IETypedElement, IENamedElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
ETypedElement
Implements
Derived
Inherited Members

Properties

Children

Gets the child model elements of this model element

public override IEnumerableExpression<IModelElement> Children { get; }

Property Value

IEnumerableExpression<IModelElement>

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

EGenericType

The eGenericType property

[XmlElementName("eGenericType")]
[XmlAttribute(false)]
[Containment]
public virtual IEGenericType EGenericType { get; set; }

Property Value

IEGenericType

EType

The eType property

[XmlElementName("eType")]
[XmlAttribute(true)]
public virtual IEClassifier EType { get; set; }

Property Value

IEClassifier

LowerBound

The lowerBound property

[XmlElementName("lowerBound")]
[XmlAttribute(true)]
public virtual int? LowerBound { get; set; }

Property Value

int?

Ordered

The ordered property

[XmlElementName("ordered")]
[XmlAttribute(true)]
public virtual bool? Ordered { get; set; }

Property Value

bool?

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Unique

The unique property

[XmlElementName("unique")]
[XmlAttribute(true)]
public virtual bool? Unique { get; set; }

Property Value

bool?

UpperBound

The upperBound property

[XmlElementName("upperBound")]
[XmlAttribute(true)]
public virtual int? UpperBound { get; set; }

Property Value

int?

Methods

GetAttributeValue(string, int)

Resolves the given attribute name

protected override object GetAttributeValue(string attribute, int index)

Parameters

attribute string

The requested attribute name

index int

The index of this attribute

Returns

object

The attribute value or null if it could not be found

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetExpressionForAttribute(string)

Gets the property expression for the given attribute

protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)

Parameters

attribute string

The requested attribute in upper case

Returns

INotifyExpression<object>

An incremental property expression

GetExpressionForReference(string)

Gets the property expression for the given reference

protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)

Parameters

reference string

The requested reference in upper case

Returns

INotifyExpression<IModelElement>

An incremental property expression

GetModelElementForReference(string, int)

Resolves the given URI to a child model element

protected override IModelElement GetModelElementForReference(string reference, int index)

Parameters

reference string

The requested reference name

index int

The index of this reference

Returns

IModelElement

The model element or null if it could not be found

GetRelativePathForNonIdentifiedChild(IModelElement)

Gets the relative URI fragment for the given child model element

protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)

Parameters

element IModelElement

The element that should be looked for

Returns

string

A fragment of the relative URI

OnEGenericTypeChanged(ValueChangedEventArgs)

Raises the EGenericTypeChanged event

protected virtual void OnEGenericTypeChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnEGenericTypeChanging(ValueChangedEventArgs)

Raises the EGenericTypeChanging event

protected virtual void OnEGenericTypeChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnETypeChanged(ValueChangedEventArgs)

Raises the ETypeChanged event

protected virtual void OnETypeChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnETypeChanging(ValueChangedEventArgs)

Raises the ETypeChanging event

protected virtual void OnETypeChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnLowerBoundChanged(ValueChangedEventArgs)

Raises the LowerBoundChanged event

protected virtual void OnLowerBoundChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnLowerBoundChanging(ValueChangedEventArgs)

Raises the LowerBoundChanging event

protected virtual void OnLowerBoundChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnOrderedChanged(ValueChangedEventArgs)

Raises the OrderedChanged event

protected virtual void OnOrderedChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnOrderedChanging(ValueChangedEventArgs)

Raises the OrderedChanging event

protected virtual void OnOrderedChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnUniqueChanged(ValueChangedEventArgs)

Raises the UniqueChanged event

protected virtual void OnUniqueChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnUniqueChanging(ValueChangedEventArgs)

Raises the UniqueChanging event

protected virtual void OnUniqueChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnUpperBoundChanged(ValueChangedEventArgs)

Raises the UpperBoundChanged event

protected virtual void OnUpperBoundChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnUpperBoundChanging(ValueChangedEventArgs)

Raises the UpperBoundChanging event

protected virtual void OnUpperBoundChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

SetFeature(string, object)

Sets a value to the given feature

protected override void SetFeature(string feature, object value)

Parameters

feature string

The requested feature

value object

The value that should be set to that feature

Events

EGenericTypeChanged

Gets fired when the EGenericType property changed its value

public event EventHandler<ValueChangedEventArgs> EGenericTypeChanged

Event Type

EventHandler<ValueChangedEventArgs>

EGenericTypeChanging

Gets fired before the EGenericType property changes its value

public event EventHandler<ValueChangedEventArgs> EGenericTypeChanging

Event Type

EventHandler<ValueChangedEventArgs>

ETypeChanged

Gets fired when the EType property changed its value

public event EventHandler<ValueChangedEventArgs> ETypeChanged

Event Type

EventHandler<ValueChangedEventArgs>

ETypeChanging

Gets fired before the EType property changes its value

public event EventHandler<ValueChangedEventArgs> ETypeChanging

Event Type

EventHandler<ValueChangedEventArgs>

LowerBoundChanged

Gets fired when the LowerBound property changed its value

public event EventHandler<ValueChangedEventArgs> LowerBoundChanged

Event Type

EventHandler<ValueChangedEventArgs>

LowerBoundChanging

Gets fired before the LowerBound property changes its value

public event EventHandler<ValueChangedEventArgs> LowerBoundChanging

Event Type

EventHandler<ValueChangedEventArgs>

OrderedChanged

Gets fired when the Ordered property changed its value

public event EventHandler<ValueChangedEventArgs> OrderedChanged

Event Type

EventHandler<ValueChangedEventArgs>

OrderedChanging

Gets fired before the Ordered property changes its value

public event EventHandler<ValueChangedEventArgs> OrderedChanging

Event Type

EventHandler<ValueChangedEventArgs>

UniqueChanged

Gets fired when the Unique property changed its value

public event EventHandler<ValueChangedEventArgs> UniqueChanged

Event Type

EventHandler<ValueChangedEventArgs>

UniqueChanging

Gets fired before the Unique property changes its value

public event EventHandler<ValueChangedEventArgs> UniqueChanging

Event Type

EventHandler<ValueChangedEventArgs>

UpperBoundChanged

Gets fired when the UpperBound property changed its value

public event EventHandler<ValueChangedEventArgs> UpperBoundChanged

Event Type

EventHandler<ValueChangedEventArgs>

UpperBoundChanging

Gets fired before the UpperBound property changes its value

public event EventHandler<ValueChangedEventArgs> UpperBoundChanging

Event Type

EventHandler<ValueChangedEventArgs>