Table of Contents

Class AnyType

Namespace
NMF.Interop.Type
Assembly
NMF.EcoreInterop.dll

The default implementation of the AnyType class

[XmlNamespace("http://www.eclipse.org/emf/2003/XMLType")]
[XmlNamespacePrefix("ecore.xml.type")]
[ModelRepresentationClass("http://www.eclipse.org/emf/2003/XMLType#//AnyType")]
public class AnyType : ModelElement, IAnyType, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
AnyType
Implements
Derived
Inherited Members

Constructors

AnyType()

Creates a new instance

public AnyType()

Properties

AnyAttribute

The anyAttribute property

[XmlElementName("anyAttribute")]
[XmlAttribute(true)]
public IListExpression<object> AnyAttribute { get; }

Property Value

IListExpression<object>

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Mixed

The mixed property

[XmlElementName("mixed")]
[XmlAttribute(true)]
public IListExpression<object> Mixed { get; }

Property Value

IListExpression<object>

Methods

GetAttributeValue(string, int)

Resolves the given attribute name

protected override object GetAttributeValue(string attribute, int index)

Parameters

attribute string

The requested attribute name

index int

The index of this attribute

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

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements