Class EDataType
The default implementation of the EDataType class
Implements
Inherited Members
Namespace: NMF.Interop.Ecore
Assembly: NMF.EcoreInterop.dll
Syntax
[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
Properties
| Edit this page View SourceClassInstance
Gets the Class model for this type
Declaration
public static IClass ClassInstance { get; }
Property Value
Type | Description |
---|---|
IClass |
Serializable
The serializable property
Declaration
[XmlElementName("serializable")]
[XmlAttribute(true)]
public virtual bool? Serializable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
| Edit this page View SourceGetAttributeValue(string, int)
Resolves the given attribute name
Declaration
protected override object GetAttributeValue(string attribute, int index)
Parameters
Type | Name | Description |
---|---|---|
string | attribute | The requested attribute name |
int | index | The index of this attribute |
Returns
Type | Description |
---|---|
object | The attribute value or null if it could not be found |
Overrides
| Edit this page View SourceGetClass()
Gets the Class for this model element
Declaration
public override IClass GetClass()
Returns
Type | Description |
---|---|
IClass |
Overrides
| Edit this page View SourceOnSerializableChanged(ValueChangedEventArgs)
Raises the SerializableChanged event
Declaration
protected virtual void OnSerializableChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnSerializableChanging(ValueChangedEventArgs)
Raises the SerializableChanging event
Declaration
protected virtual void OnSerializableChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
SetFeature(string, object)
Sets a value to the given feature
Declaration
protected override void SetFeature(string feature, object value)
Parameters
Type | Name | Description |
---|---|---|
string | feature | The requested feature |
object | value | The value that should be set to that feature |
Overrides
Events
| Edit this page View SourceSerializableChanged
Gets fired when the Serializable property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> SerializableChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
SerializableChanging
Gets fired before the Serializable property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> SerializableChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |