Class EGenericType
The default implementation of the EGenericType class
[XmlNamespace("http://www.eclipse.org/emf/2002/Ecore")]
[XmlNamespacePrefix("ecore")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2002/Ecore#//EGenericType/")]
public class EGenericType : ModelElement, IEGenericType, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
EGenericType
- Implements
- Inherited Members
Constructors
EGenericType()
Creates a new instance
public EGenericType()
Properties
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
EClassifier
The eClassifier property
[XmlElementName("eClassifier")]
[XmlAttribute(true)]
public virtual IEClassifier EClassifier { get; set; }
Property Value
ELowerBound
The eLowerBound property
[XmlElementName("eLowerBound")]
[XmlAttribute(false)]
[Containment]
public virtual IEGenericType ELowerBound { get; set; }
Property Value
ETypeArguments
The eTypeArguments property
[XmlElementName("eTypeArguments")]
[XmlAttribute(false)]
[Containment]
public virtual IOrderedSetExpression<IEGenericType> ETypeArguments { get; }
Property Value
ETypeParameter
The eTypeParameter property
[XmlElementName("eTypeParameter")]
[XmlAttribute(true)]
public virtual IETypeParameter ETypeParameter { get; set; }
Property Value
EUpperBound
The eUpperBound property
[XmlElementName("eUpperBound")]
[XmlAttribute(false)]
[Containment]
public virtual IEGenericType EUpperBound { get; set; }
Property Value
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Methods
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
feature
stringThe requested feature
Returns
- IList
A non-generic list of elements
GetExpressionForAttribute(string)
Gets the property expression for the given attribute
protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)
Parameters
attribute
stringThe requested attribute in upper case
Returns
- INotifyExpression<object>
An incremental property expression
GetExpressionForReference(string)
Gets the property expression for the given reference
protected override INotifyExpression<IModelElement> GetExpressionForReference(string reference)
Parameters
reference
stringThe requested reference in upper case
Returns
- INotifyExpression<IModelElement>
An incremental property expression
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
GetRelativePathForNonIdentifiedChild(IModelElement)
Gets the relative URI fragment for the given child model element
protected override string GetRelativePathForNonIdentifiedChild(IModelElement element)
Parameters
element
IModelElementThe element that should be looked for
Returns
- string
A fragment of the relative URI
OnEClassifierChanged(ValueChangedEventArgs)
Raises the EClassifierChanged event
protected virtual void OnEClassifierChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnEClassifierChanging(ValueChangedEventArgs)
Raises the EClassifierChanging event
protected virtual void OnEClassifierChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnELowerBoundChanged(ValueChangedEventArgs)
Raises the ELowerBoundChanged event
protected virtual void OnELowerBoundChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnELowerBoundChanging(ValueChangedEventArgs)
Raises the ELowerBoundChanging event
protected virtual void OnELowerBoundChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnETypeParameterChanged(ValueChangedEventArgs)
Raises the ETypeParameterChanged event
protected virtual void OnETypeParameterChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnETypeParameterChanging(ValueChangedEventArgs)
Raises the ETypeParameterChanging event
protected virtual void OnETypeParameterChanging(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnEUpperBoundChanged(ValueChangedEventArgs)
Raises the EUpperBoundChanged event
protected virtual void OnEUpperBoundChanged(ValueChangedEventArgs eventArgs)
Parameters
eventArgs
ValueChangedEventArgsThe event data
OnEUpperBoundChanging(ValueChangedEventArgs)
Raises the EUpperBoundChanging event
protected virtual void OnEUpperBoundChanging(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
EClassifierChanged
Gets fired when the EClassifier property changed its value
public event EventHandler<ValueChangedEventArgs> EClassifierChanged
Event Type
EClassifierChanging
Gets fired before the EClassifier property changes its value
public event EventHandler<ValueChangedEventArgs> EClassifierChanging
Event Type
ELowerBoundChanged
Gets fired when the ELowerBound property changed its value
public event EventHandler<ValueChangedEventArgs> ELowerBoundChanged
Event Type
ELowerBoundChanging
Gets fired before the ELowerBound property changes its value
public event EventHandler<ValueChangedEventArgs> ELowerBoundChanging
Event Type
ETypeParameterChanged
Gets fired when the ETypeParameter property changed its value
public event EventHandler<ValueChangedEventArgs> ETypeParameterChanged
Event Type
ETypeParameterChanging
Gets fired before the ETypeParameter property changes its value
public event EventHandler<ValueChangedEventArgs> ETypeParameterChanging
Event Type
EUpperBoundChanged
Gets fired when the EUpperBound property changed its value
public event EventHandler<ValueChangedEventArgs> EUpperBoundChanged
Event Type
EUpperBoundChanging
Gets fired before the EUpperBound property changes its value
public event EventHandler<ValueChangedEventArgs> EUpperBoundChanging