Class EAttribute
The default implementation of the EAttribute class
Inheritance
EAttribute
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#//EAttribute/")]
public class EAttribute : EStructuralFeature, IEAttribute, IEStructuralFeature, IETypedElement, 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 |
ID
The iD property
Declaration
[XmlElementName("iD")]
[XmlAttribute(true)]
public virtual bool? ID { 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 SourceOnIDChanged(ValueChangedEventArgs)
Raises the IDChanged event
Declaration
protected virtual void OnIDChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnIDChanging(ValueChangedEventArgs)
Raises the IDChanging event
Declaration
protected virtual void OnIDChanging(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 SourceIDChanged
Gets fired when the ID property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> IDChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
IDChanging
Gets fired before the ID property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> IDChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |