Class EAttribute
The default implementation of the EAttribute class
[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
- Inheritance
-
EAttribute
- Implements
- Inherited Members
Properties
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
ID
The iD property
[XmlElementName("iD")]
[XmlAttribute(true)]
public virtual bool? ID { get; set; }
Property Value
- bool?
Methods
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
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
OnIDChanged(ValueChangedEventArgs)
Raises the IDChanged event
protected virtual void OnIDChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnIDChanging(ValueChangedEventArgs)
Raises the IDChanging event
protected virtual void OnIDChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)
Parameters
Events
IDChanged
Gets fired when the ID property changed its value
public event EventHandler<ValueChangedEventArgs> IDChanged
Event Type
IDChanging
Gets fired before the ID property changes its value
public event EventHandler<ValueChangedEventArgs> IDChanging