Class EStructuralFeature
The default implementation of the EStructuralFeature class
Inheritance
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#//EStructuralFeature/")]
public abstract class EStructuralFeature : ETypedElement, IEStructuralFeature, IETypedElement, IENamedElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Properties
| Edit this page View SourceChangeable
The changeable property
Declaration
[XmlElementName("changeable")]
[XmlAttribute(true)]
public virtual bool? Changeable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ClassInstance
Gets the Class model for this type
Declaration
public static IClass ClassInstance { get; }
Property Value
Type | Description |
---|---|
IClass |
DefaultValueLiteral
The defaultValueLiteral property
Declaration
[XmlElementName("defaultValueLiteral")]
[XmlAttribute(true)]
public virtual string DefaultValueLiteral { get; set; }
Property Value
Type | Description |
---|---|
string |
Derived
The derived property
Declaration
[XmlElementName("derived")]
[XmlAttribute(true)]
public virtual bool? Derived { get; set; }
Property Value
Type | Description |
---|---|
bool? |
EContainingClass
The eContainingClass property
Declaration
[XmlElementName("eContainingClass")]
[XmlAttribute(true)]
[XmlOpposite("eStructuralFeatures")]
public virtual IEClass EContainingClass { get; set; }
Property Value
Type | Description |
---|---|
IEClass |
ReferencedElements
Gets the referenced model elements of this model element
Declaration
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Type | Description |
---|---|
IEnumerableExpression<IModelElement> |
Overrides
| Edit this page View SourceTransient
The transient property
Declaration
[XmlElementName("transient")]
[XmlAttribute(true)]
public virtual bool? Transient { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Unsettable
The unsettable property
Declaration
[XmlElementName("unsettable")]
[XmlAttribute(true)]
public virtual bool? Unsettable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Volatile
The volatile property
Declaration
[XmlElementName("volatile")]
[XmlAttribute(true)]
public virtual bool? Volatile { 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 SourceGetExpressionForAttribute(string)
Gets the property expression for the given attribute
Declaration
protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)
Parameters
Type | Name | Description |
---|---|---|
string | attribute | The requested attribute in upper case |
Returns
Type | Description |
---|---|
INotifyExpression<object> | An incremental property expression |
Overrides
| Edit this page View SourceGetExpressionForReference(string)
Gets the property expression for the given reference
Declaration
protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)
Parameters
Type | Name | Description |
---|---|---|
string | reference | The requested reference in upper case |
Returns
Type | Description |
---|---|
INotifyExpression<IModelElement> | An incremental property expression |
Overrides
| Edit this page View SourceOnChangeableChanged(ValueChangedEventArgs)
Raises the ChangeableChanged event
Declaration
protected virtual void OnChangeableChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnChangeableChanging(ValueChangedEventArgs)
Raises the ChangeableChanging event
Declaration
protected virtual void OnChangeableChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnDefaultValueLiteralChanged(ValueChangedEventArgs)
Raises the DefaultValueLiteralChanged event
Declaration
protected virtual void OnDefaultValueLiteralChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnDefaultValueLiteralChanging(ValueChangedEventArgs)
Raises the DefaultValueLiteralChanging event
Declaration
protected virtual void OnDefaultValueLiteralChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnDerivedChanged(ValueChangedEventArgs)
Raises the DerivedChanged event
Declaration
protected virtual void OnDerivedChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnDerivedChanging(ValueChangedEventArgs)
Raises the DerivedChanging event
Declaration
protected virtual void OnDerivedChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnEContainingClassChanged(ValueChangedEventArgs)
Raises the EContainingClassChanged event
Declaration
protected virtual void OnEContainingClassChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnEContainingClassChanging(ValueChangedEventArgs)
Raises the EContainingClassChanging event
Declaration
protected virtual void OnEContainingClassChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnParentChanged(IModelElement, IModelElement)
Gets called when the parent model element of the current model element changes
Declaration
protected override void OnParentChanged(IModelElement newParent, IModelElement oldParent)
Parameters
Type | Name | Description |
---|---|---|
IModelElement | newParent | The new parent model element |
IModelElement | oldParent | The old parent model element |
Overrides
| Edit this page View SourceOnParentChanging(IModelElement, IModelElement)
Gets called when the parent model element of the current model element is about to change
Declaration
protected override void OnParentChanging(IModelElement newParent, IModelElement oldParent)
Parameters
Type | Name | Description |
---|---|---|
IModelElement | newParent | The new parent model element |
IModelElement | oldParent | The old parent model element |
Overrides
| Edit this page View SourceOnTransientChanged(ValueChangedEventArgs)
Raises the TransientChanged event
Declaration
protected virtual void OnTransientChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnTransientChanging(ValueChangedEventArgs)
Raises the TransientChanging event
Declaration
protected virtual void OnTransientChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnUnsettableChanged(ValueChangedEventArgs)
Raises the UnsettableChanged event
Declaration
protected virtual void OnUnsettableChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnUnsettableChanging(ValueChangedEventArgs)
Raises the UnsettableChanging event
Declaration
protected virtual void OnUnsettableChanging(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnVolatileChanged(ValueChangedEventArgs)
Raises the VolatileChanged event
Declaration
protected virtual void OnVolatileChanged(ValueChangedEventArgs eventArgs)
Parameters
Type | Name | Description |
---|---|---|
ValueChangedEventArgs | eventArgs | The event data |
OnVolatileChanging(ValueChangedEventArgs)
Raises the VolatileChanging event
Declaration
protected virtual void OnVolatileChanging(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 SourceChangeableChanged
Gets fired when the Changeable property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> ChangeableChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
ChangeableChanging
Gets fired before the Changeable property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> ChangeableChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DefaultValueLiteralChanged
Gets fired when the DefaultValueLiteral property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> DefaultValueLiteralChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DefaultValueLiteralChanging
Gets fired before the DefaultValueLiteral property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> DefaultValueLiteralChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DerivedChanged
Gets fired when the Derived property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> DerivedChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
DerivedChanging
Gets fired before the Derived property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> DerivedChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
EContainingClassChanged
Gets fired when the EContainingClass property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> EContainingClassChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
EContainingClassChanging
Gets fired before the EContainingClass property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> EContainingClassChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
TransientChanged
Gets fired when the Transient property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> TransientChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
TransientChanging
Gets fired before the Transient property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> TransientChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
UnsettableChanged
Gets fired when the Unsettable property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> UnsettableChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
UnsettableChanging
Gets fired before the Unsettable property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> UnsettableChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
VolatileChanged
Gets fired when the Volatile property changed its value
Declaration
public event EventHandler<ValueChangedEventArgs> VolatileChanged
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |
VolatileChanging
Gets fired before the Volatile property changes its value
Declaration
public event EventHandler<ValueChangedEventArgs> VolatileChanging
Event Type
Type | Description |
---|---|
EventHandler<ValueChangedEventArgs> |