Table of Contents

Class EGenericType

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

The default implementation of the EGenericType class

[XmlNamespace("http://www.eclipse.org/emf/2002/Ecore")]
[XmlNamespacePrefix("ecore")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2002/Ecore#//EGenericType/")]
public class EGenericType : ModelElement, IEGenericType, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
EGenericType
Implements
Inherited Members

Constructors

EGenericType()

Creates a new instance

public EGenericType()

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

EClassifier

The eClassifier property

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

Property Value

IEClassifier

ELowerBound

The eLowerBound property

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

Property Value

IEGenericType

ETypeArguments

The eTypeArguments property

[XmlElementName("eTypeArguments")]
[XmlAttribute(false)]
[Containment]
public virtual IOrderedSetExpression<IEGenericType> ETypeArguments { get; }

Property Value

IOrderedSetExpression<IEGenericType>

ETypeParameter

The eTypeParameter property

[XmlElementName("eTypeParameter")]
[XmlAttribute(true)]
public virtual IETypeParameter ETypeParameter { get; set; }

Property Value

IETypeParameter

EUpperBound

The eUpperBound property

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

Property Value

IEGenericType

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Methods

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements

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

OnEClassifierChanged(ValueChangedEventArgs)

Raises the EClassifierChanged event

protected virtual void OnEClassifierChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnEClassifierChanging(ValueChangedEventArgs)

Raises the EClassifierChanging event

protected virtual void OnEClassifierChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnELowerBoundChanged(ValueChangedEventArgs)

Raises the ELowerBoundChanged event

protected virtual void OnELowerBoundChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnELowerBoundChanging(ValueChangedEventArgs)

Raises the ELowerBoundChanging event

protected virtual void OnELowerBoundChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnETypeParameterChanged(ValueChangedEventArgs)

Raises the ETypeParameterChanged event

protected virtual void OnETypeParameterChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnETypeParameterChanging(ValueChangedEventArgs)

Raises the ETypeParameterChanging event

protected virtual void OnETypeParameterChanging(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnEUpperBoundChanged(ValueChangedEventArgs)

Raises the EUpperBoundChanged event

protected virtual void OnEUpperBoundChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnEUpperBoundChanging(ValueChangedEventArgs)

Raises the EUpperBoundChanging event

protected virtual void OnEUpperBoundChanging(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

EClassifierChanged

Gets fired when the EClassifier property changed its value

public event EventHandler<ValueChangedEventArgs> EClassifierChanged

Event Type

EventHandler<ValueChangedEventArgs>

EClassifierChanging

Gets fired before the EClassifier property changes its value

public event EventHandler<ValueChangedEventArgs> EClassifierChanging

Event Type

EventHandler<ValueChangedEventArgs>

ELowerBoundChanged

Gets fired when the ELowerBound property changed its value

public event EventHandler<ValueChangedEventArgs> ELowerBoundChanged

Event Type

EventHandler<ValueChangedEventArgs>

ELowerBoundChanging

Gets fired before the ELowerBound property changes its value

public event EventHandler<ValueChangedEventArgs> ELowerBoundChanging

Event Type

EventHandler<ValueChangedEventArgs>

ETypeParameterChanged

Gets fired when the ETypeParameter property changed its value

public event EventHandler<ValueChangedEventArgs> ETypeParameterChanged

Event Type

EventHandler<ValueChangedEventArgs>

ETypeParameterChanging

Gets fired before the ETypeParameter property changes its value

public event EventHandler<ValueChangedEventArgs> ETypeParameterChanging

Event Type

EventHandler<ValueChangedEventArgs>

EUpperBoundChanged

Gets fired when the EUpperBound property changed its value

public event EventHandler<ValueChangedEventArgs> EUpperBoundChanged

Event Type

EventHandler<ValueChangedEventArgs>

EUpperBoundChanging

Gets fired before the EUpperBound property changes its value

public event EventHandler<ValueChangedEventArgs> EUpperBoundChanging

Event Type

EventHandler<ValueChangedEventArgs>