Table of Contents

Class EDataType

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

The default implementation of the EDataType class

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

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Serializable

The serializable property

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

Property Value

bool?

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

OnSerializableChanged(ValueChangedEventArgs)

Raises the SerializableChanged event

protected virtual void OnSerializableChanged(ValueChangedEventArgs eventArgs)

Parameters

eventArgs ValueChangedEventArgs

The event data

OnSerializableChanging(ValueChangedEventArgs)

Raises the SerializableChanging event

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

SerializableChanged

Gets fired when the Serializable property changed its value

public event EventHandler<ValueChangedEventArgs> SerializableChanged

Event Type

EventHandler<ValueChangedEventArgs>

SerializableChanging

Gets fired before the Serializable property changes its value

public event EventHandler<ValueChangedEventArgs> SerializableChanging

Event Type

EventHandler<ValueChangedEventArgs>