Class EClass
The default implementation of the EClass class
[XmlNamespace("http://www.eclipse.org/emf/2002/Ecore")]
[XmlNamespacePrefix("ecore")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2002/Ecore#//EClass")]
public class EClass : EClassifier, IEClass, IEClassifier, IENamedElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
EClass
- Implements
- Inherited Members
Constructors
EClass()
Creates a new instance
public EClass()
Properties
Abstract
The abstract property
[XmlElementName("abstract")]
[XmlAttribute(true)]
public bool? Abstract { get; set; }
Property Value
- bool?
Children
Gets the child model elements of this model element
public override IEnumerableExpression<IModelElement> Children { get; }
Property Value
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
EGenericSuperTypes
The eGenericSuperTypes property
[Browsable(false)]
[XmlElementName("eGenericSuperTypes")]
[XmlAttribute(false)]
[Containment]
public IOrderedSetExpression<IEGenericType> EGenericSuperTypes { get; }
Property Value
EOperations
The eOperations property
[Browsable(false)]
[XmlElementName("eOperations")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("eContainingClass")]
public IOrderedSetExpression<IEOperation> EOperations { get; }
Property Value
EStructuralFeatures
The eStructuralFeatures property
[Browsable(false)]
[XmlElementName("eStructuralFeatures")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("eContainingClass")]
public IOrderedSetExpression<IEStructuralFeature> EStructuralFeatures { get; }
Property Value
ESuperTypes
The eSuperTypes property
[XmlElementName("eSuperTypes")]
[XmlAttribute(true)]
public IOrderedSetExpression<IEClass> ESuperTypes { get; }
Property Value
Interface
The interface property
[XmlElementName("interface")]
[XmlAttribute(true)]
public bool? Interface { get; set; }
Property Value
- bool?
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
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
GetCollectionForFeature(string)
Gets the Model element collection for the given feature
protected override IList GetCollectionForFeature(string feature)
Parameters
featurestringThe requested feature
Returns
- IList
A non-generic list of elements
GetCompositionName(object)
Gets the property name for the given container
protected override string GetCompositionName(object container)
Parameters
containerobjectThe container object
Returns
- string
The name of the respective container reference
GetEOperation(int)
public IEOperation GetEOperation(int operationID)
Parameters
operationIDint
Returns
GetEStructuralFeature(int)
public IEStructuralFeature GetEStructuralFeature(int featureID)
Parameters
featureIDint
Returns
GetEStructuralFeature(string)
public IEStructuralFeature GetEStructuralFeature(string featureName)
Parameters
featureNamestring
Returns
GetExpressionForAttribute(string)
Gets the property expression for the given attribute
protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)
Parameters
attributestringThe requested attribute in upper case
Returns
- INotifyExpression<object>
An incremental property expression
GetFeatureCount()
public int GetFeatureCount()
Returns
GetFeatureID(IEStructuralFeature)
public int GetFeatureID(IEStructuralFeature feature)
Parameters
featureIEStructuralFeature
Returns
GetModelElementForReference(string, int)
Resolves the given URI to a child model element
protected override IModelElement GetModelElementForReference(string reference, int index)
Parameters
Returns
- IModelElement
The model element or null if it could not be found
GetOperationCount()
public int GetOperationCount()
Returns
GetOperationID(IEOperation)
public int GetOperationID(IEOperation operation)
Parameters
operationIEOperation
Returns
GetOverride(IEOperation)
public IEOperation GetOverride(IEOperation operation)
Parameters
operationIEOperation
Returns
GetRelativePathForNonIdentifiedChild(IModelElement)
Gets the relative URI fragment for the given child model element
protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)
Parameters
elementIModelElementThe element that should be looked for
Returns
- string
A fragment of the relative URI
IsSuperTypeOf(IEClass)
public bool IsSuperTypeOf(IEClass someClass)
Parameters
someClassIEClass
Returns
OnAbstractChanged(ValueChangedEventArgs)
Raises the AbstractChanged event
protected virtual void OnAbstractChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgsValueChangedEventArgsThe event data
OnAbstractChanging(ValueChangedEventArgs)
Raises the AbstractChanging event
protected virtual void OnAbstractChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgsValueChangedEventArgsThe event data
OnGetEOperationCalled(OperationCallEventArgs)
Raises the GetEOperationCalled event
protected virtual void OnGetEOperationCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetEOperationCalling(OperationCallEventArgs)
Raises the GetEOperationCalling event
protected virtual void OnGetEOperationCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetEStructuralFeatureCalled(OperationCallEventArgs)
Raises the GetEStructuralFeatureCalled event
protected virtual void OnGetEStructuralFeatureCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetEStructuralFeatureCalled_(OperationCallEventArgs)
Raises the GetEStructuralFeatureCalled event
protected virtual void OnGetEStructuralFeatureCalled_(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetEStructuralFeatureCalling(OperationCallEventArgs)
Raises the GetEStructuralFeatureCalling event
protected virtual void OnGetEStructuralFeatureCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetEStructuralFeatureCalling_(OperationCallEventArgs)
Raises the GetEStructuralFeatureCalling event
protected virtual void OnGetEStructuralFeatureCalling_(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetFeatureCountCalled(OperationCallEventArgs)
Raises the GetFeatureCountCalled event
protected virtual void OnGetFeatureCountCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetFeatureCountCalling(OperationCallEventArgs)
Raises the GetFeatureCountCalling event
protected virtual void OnGetFeatureCountCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetFeatureIDCalled(OperationCallEventArgs)
Raises the GetFeatureIDCalled event
protected virtual void OnGetFeatureIDCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetFeatureIDCalling(OperationCallEventArgs)
Raises the GetFeatureIDCalling event
protected virtual void OnGetFeatureIDCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOperationCountCalled(OperationCallEventArgs)
Raises the GetOperationCountCalled event
protected virtual void OnGetOperationCountCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOperationCountCalling(OperationCallEventArgs)
Raises the GetOperationCountCalling event
protected virtual void OnGetOperationCountCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOperationIDCalled(OperationCallEventArgs)
Raises the GetOperationIDCalled event
protected virtual void OnGetOperationIDCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOperationIDCalling(OperationCallEventArgs)
Raises the GetOperationIDCalling event
protected virtual void OnGetOperationIDCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOverrideCalled(OperationCallEventArgs)
Raises the GetOverrideCalled event
protected virtual void OnGetOverrideCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnGetOverrideCalling(OperationCallEventArgs)
Raises the GetOverrideCalling event
protected virtual void OnGetOverrideCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnInterfaceChanged(ValueChangedEventArgs)
Raises the InterfaceChanged event
protected virtual void OnInterfaceChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgsValueChangedEventArgsThe event data
OnInterfaceChanging(ValueChangedEventArgs)
Raises the InterfaceChanging event
protected virtual void OnInterfaceChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgsValueChangedEventArgsThe event data
OnIsSuperTypeOfCalled(OperationCallEventArgs)
Raises the IsSuperTypeOfCalled event
protected virtual void OnIsSuperTypeOfCalled(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
OnIsSuperTypeOfCalling(OperationCallEventArgs)
Raises the IsSuperTypeOfCalling event
protected virtual void OnIsSuperTypeOfCalling(OperationCallEventArgs eventArgs)
Parameters
eventArgsOperationCallEventArgsThe event data
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)
Parameters
Events
AbstractChanged
Gets fired when the Abstract property changed its value
public event EventHandler<ValueChangedEventArgs> AbstractChanged
Event Type
AbstractChanging
Gets fired before the Abstract property changes its value
public event EventHandler<ValueChangedEventArgs> AbstractChanging
Event Type
GetEOperationCalled
Gets fired after the operation getEOperation got called
public event EventHandler<OperationCallEventArgs> GetEOperationCalled
Event Type
GetEOperationCalling
Gets fired before the operation getEOperation gets called
public event EventHandler<OperationCallEventArgs> GetEOperationCalling
Event Type
GetEStructuralFeatureCalled
Gets fired after the operation getEStructuralFeature got called
public event EventHandler<OperationCallEventArgs> GetEStructuralFeatureCalled
Event Type
GetEStructuralFeatureCalled_
Gets fired after the operation getEStructuralFeature got called
public event EventHandler<OperationCallEventArgs> GetEStructuralFeatureCalled_
Event Type
GetEStructuralFeatureCalling
Gets fired before the operation getEStructuralFeature gets called
public event EventHandler<OperationCallEventArgs> GetEStructuralFeatureCalling
Event Type
GetEStructuralFeatureCalling_
Gets fired before the operation getEStructuralFeature gets called
public event EventHandler<OperationCallEventArgs> GetEStructuralFeatureCalling_
Event Type
GetFeatureCountCalled
Gets fired after the operation getFeatureCount got called
public event EventHandler<OperationCallEventArgs> GetFeatureCountCalled
Event Type
GetFeatureCountCalling
Gets fired before the operation getFeatureCount gets called
public event EventHandler<OperationCallEventArgs> GetFeatureCountCalling
Event Type
GetFeatureIDCalled
Gets fired after the operation getFeatureID got called
public event EventHandler<OperationCallEventArgs> GetFeatureIDCalled
Event Type
GetFeatureIDCalling
Gets fired before the operation getFeatureID gets called
public event EventHandler<OperationCallEventArgs> GetFeatureIDCalling
Event Type
GetOperationCountCalled
Gets fired after the operation getOperationCount got called
public event EventHandler<OperationCallEventArgs> GetOperationCountCalled
Event Type
GetOperationCountCalling
Gets fired before the operation getOperationCount gets called
public event EventHandler<OperationCallEventArgs> GetOperationCountCalling
Event Type
GetOperationIDCalled
Gets fired after the operation getOperationID got called
public event EventHandler<OperationCallEventArgs> GetOperationIDCalled
Event Type
GetOperationIDCalling
Gets fired before the operation getOperationID gets called
public event EventHandler<OperationCallEventArgs> GetOperationIDCalling
Event Type
GetOverrideCalled
Gets fired after the operation getOverride got called
public event EventHandler<OperationCallEventArgs> GetOverrideCalled
Event Type
GetOverrideCalling
Gets fired before the operation getOverride gets called
public event EventHandler<OperationCallEventArgs> GetOverrideCalling
Event Type
InterfaceChanged
Gets fired when the Interface property changed its value
public event EventHandler<ValueChangedEventArgs> InterfaceChanged
Event Type
InterfaceChanging
Gets fired before the Interface property changes its value
public event EventHandler<ValueChangedEventArgs> InterfaceChanging
Event Type
IsSuperTypeOfCalled
Gets fired after the operation isSuperTypeOf got called
public event EventHandler<OperationCallEventArgs> IsSuperTypeOfCalled
Event Type
IsSuperTypeOfCalling
Gets fired before the operation isSuperTypeOf gets called
public event EventHandler<OperationCallEventArgs> IsSuperTypeOfCalling