Table of Contents

Class DeploymentSpecification

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

A deployment specification specifies a set of properties that determine execution parameters of a component artifact that is deployed on a node. A deployment specification can be aimed at a specific type of container. An artifact that reifies or implements deployment specification properties is a deployment descriptor. <p>From package UML::Deployments.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//DeploymentSpecification")]
public class DeploymentSpecification : Artifact, IDeploymentSpecification, IArtifact, IDeployedArtifact, IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
DeploymentSpecification
Implements
Inherited Members

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

Deployment

The deployment with which the DeploymentSpecification is associated. <p>From package UML::Deployments.</p>

[Browsable(false)]
[XmlElementName("deployment")]
[XmlAttribute(true)]
[XmlOpposite("configuration")]
public IDeployment Deployment { get; set; }

Property Value

IDeployment

DeploymentLocation

The location where an Artifact is deployed onto a Node. This is typically a 'directory' or 'memory address.' <p>From package UML::Deployments.</p>

[XmlElementName("deploymentLocation")]
[XmlAttribute(true)]
public string DeploymentLocation { get; set; }

Property Value

string

ExecutionLocation

The location where a component Artifact executes. This may be a local or remote location. <p>From package UML::Deployments.</p>

[XmlElementName("executionLocation")]
[XmlAttribute(true)]
public string ExecutionLocation { get; set; }

Property Value

string

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Methods

Deployed_elements(object, object)

The deployedElements of a DeploymentTarget that are involved in a Deployment that has an associated Deployment-Specification is a kind of Component (i.e., the configured components). deployment->forAll (location.deployedElement->forAll (oclIsKindOf(Component)))

public bool Deployed_elements(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Deployment_target(object, object)

The DeploymentTarget of a DeploymentSpecification is a kind of ExecutionEnvironment. deployment->forAll (location.oclIsKindOf(ExecutionEnvironment))

public bool Deployment_target(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

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

GetExpressionForAttribute(string)

Gets the property expression for the given attribute

protected override INotifyExpression<object> GetExpressionForAttribute(string attribute)

Parameters

attribute string

The 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 string

The 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

reference string

The requested reference name

index int

The index of this reference

Returns

IModelElement

The model element or null if it could not be found

OnParentChanged(IModelElement, IModelElement)

Gets called when the parent model element of the current model element changes

protected override void OnParentChanged(IModelElement newParent, IModelElement oldParent)

Parameters

newParent IModelElement

The new parent model element

oldParent IModelElement

The old parent model element

OnParentChanging(IModelElement, IModelElement)

Gets called when the parent model element of the current model element is about to change

protected override void OnParentChanging(IModelElement newParent, IModelElement oldParent)

Parameters

newParent IModelElement

The new parent model element

oldParent IModelElement

The old parent model element

SetFeature(string, object)

Sets a value to the given feature

protected override void SetFeature(string feature, object value)

Parameters

feature string

The requested feature

value object

The value that should be set to that feature