Table of Contents

Interface IInterface

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for Interface

[DefaultImplementationType(typeof(Interface))]
[XmlDefaultImplementationType(typeof(Interface))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//Interface")]
public interface IInterface : IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

NestedClassifier

References all the Classifiers that are defined (nested) within the Interface. <p>From package UML::SimpleClassifiers.</p>

[Browsable(false)]
[XmlElementName("nestedClassifier")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IClassifier> NestedClassifier { get; }

Property Value

IOrderedSetExpression<IClassifier>

OwnedAttribute

The attributes (i.e., the Properties) owned by the Interface. <p>From package UML::SimpleClassifiers.</p>

[Browsable(false)]
[XmlElementName("ownedAttribute")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("interface")]
IOrderedSetExpression<IProperty> OwnedAttribute { get; }

Property Value

IOrderedSetExpression<IProperty>

OwnedOperation

The Operations owned by the Interface. <p>From package UML::SimpleClassifiers.</p>

[Browsable(false)]
[XmlElementName("ownedOperation")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("interface")]
IOrderedSetExpression<IOperation> OwnedOperation { get; }

Property Value

IOrderedSetExpression<IOperation>

OwnedReception

Receptions that objects providing this Interface are willing to accept. <p>From package UML::SimpleClassifiers.</p>

[Browsable(false)]
[XmlElementName("ownedReception")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IReception> OwnedReception { get; }

Property Value

IOrderedSetExpression<IReception>

Protocol

References a ProtocolStateMachine specifying the legal sequences of the invocation of the BehavioralFeatures described in the Interface. <p>From package UML::SimpleClassifiers.</p>

[Browsable(false)]
[XmlElementName("protocol")]
[XmlAttribute(false)]
[Containment]
IProtocolStateMachine Protocol { get; set; }

Property Value

IProtocolStateMachine

RedefinedInterface

References all the Interfaces redefined by this Interface. <p>From package UML::SimpleClassifiers.</p>

[XmlElementName("redefinedInterface")]
[XmlAttribute(true)]
ISetExpression<IInterface> RedefinedInterface { get; }

Property Value

ISetExpression<IInterface>

Methods

CreateOwnedAttribute(string, IType, int, object)

Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this interface.

IProperty CreateOwnedAttribute(string name, IType type, int lower, object upper)

Parameters

name string

The name for the new attribute, or null.

type IType

The type for the new attribute, or null.

lower int

The lower bound for the new attribute.

upper object

The upper bound for the new attribute.

Returns

IProperty

CreateOwnedOperation(string, IEnumerable<string>, IEnumerable<IType>, IType)

Creates an operation with the specified name, parameter names, parameter types, and return type (or null) as an owned operation of this interface.

IOperation CreateOwnedOperation(string name, IEnumerable<string> parameterNames, IEnumerable<IType> parameterTypes, IType returnType)

Parameters

name string

The name for the new operation, or null.

parameterNames IEnumerable<string>

The parameter names for the new operation, or null.

parameterTypes IEnumerable<IType>

The parameter types for the new operation, or null.

returnType IType

The return type for the new operation, or null.

Returns

IOperation