Show / Hide Table of Contents

Interface IOperation

Defines an operation(function call) than can be attached to classifiers(e.g. Interfaces and Classes)

Inherited Members
IBehavioralFeature.OwnedParameters
IFeature.FeaturingClassifiers
IFeature.IsStatic
IRedefinableElement.IsLeaf
INamespace.Members
INamespace.OwnedMembers
IParameterableElement.OwningTemplateParameter
IParameterableElement.TemplateParameter
INamedElement.Name
INamedElement.QualifiedName
INamedElement.Namespace
INamedElement.Visibility
IElement.ElementId
IElement.Owner
IElement.OwnedElements
IElement.AppliedStereotypes
IElement.Description
IElement.Item[String, String]
IElement.Notes
IElement.IsUndoRedo
IElementsObservable.Elements
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
Namespace:System.Dynamic.ExpandoObject
Assembly:SilvaDawn.SilvaModel.UML.Interfaces.dll
Syntax
public interface IOperation : IBehavioralFeature, IFeature, IRedefinableElement, INamespace, ITemplateableElement, IParameterableElement, INamedElement, IElement, IElementsObservable, INotifyPropertyChanged

Properties

BodyConditions

Declaration
IEnumerable<IConstraint> BodyConditions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IConstraint>

Class

Gets the Class that owns this operation. May be null

Declaration
IClass Class { get; }
Property Value
Type Description
IClass

Interface

Gets the Interface that owns this operation. May be null

Declaration
IInterface Interface { get; }
Property Value
Type Description
IInterface

IsOrdered

True if the result set from the operation should be ordered

Declaration
bool IsOrdered { get; }
Property Value
Type Description
System.Boolean

IsQuery

True is the result is read only and doesn't alter the state of the system

Declaration
bool IsQuery { get; set; }
Property Value
Type Description
System.Boolean

IsUnique

True is the result is unique

Declaration
bool IsUnique { get; }
Property Value
Type Description
System.Boolean

Lower

Get the lower multiplicity for the operation

Declaration
long Lower { get; }
Property Value
Type Description
System.Int64

Postconditions

Get a list of Constraints the need to pass before the operation can occur

Declaration
IEnumerable<IConstraint> Postconditions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IConstraint>

Preconditions

Get a list of Constraints the need to pass after the operation has occurred

Declaration
IEnumerable<IConstraint> Preconditions { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IConstraint>

Signature

A string representation of the operation

Declaration
string Signature { get; }
Property Value
Type Description
System.String

Type

The return value type. Can be null if there is not one

Declaration
IType Type { get; set; }
Property Value
Type Description
IType

Upper

Get the upper multiplicity for the operation

Declaration
string Upper { get; }
Property Value
Type Description
System.String

Extension Methods

ElementExtensions.GetModel()
ElementExtensions.GetSolution()
ElementExtensions.Delete()
ElementExtensions.FindTargetRelationships()
ElementExtensions.AddElement(IElement)
ElementExtensions.FindChildElement(Guid)
ElementExtensions.FindParentofType(Type)
ElementExtensions.FindParentModel()
ElementExtensions.FindPropertyValue(String)
ElementExtensions.FindPropertyValue(String, String)
ElementExtensions.FindAllElementsOfType<TElement>()
ElementExtensions.FindAllElementsOfType<TElement>(Boolean)
ElementExtensions.ApplyStereotypeInstance(Guid, String, Generator)
ElementExtensions.GetAllStereotypePropertyInstances()
ElementExtensions.AddPropertyInstance(Guid, String, String, Guid, String, String, String)
ElementExtensions.FindAllInheritedElements<TElement>()
ElementExtensions.DefaultDescription()
ElementExtensions.GetNotesAsHTML()
ElementExtensions.GetNotesAsHTML(String)
ElementExtensions.GetNotesAsMarkDown()
ElementExtensions.GetNotesAsDocx()
ElementExtensions.GetNotesAsTxt()
ElementExtensions.GetNotesAsRTF()
NamedElementExtensions.Models()
NamedElementExtensions.CreateModel(String)
NamedElementExtensions.CreateModelWithPath(String)
OperationExtensions.CreateParameter()
OperationExtensions.AddParameter(IParameter)
SolutionExtensions.AddExistingModel(IModel)
Back to top Generated by DocFX