Class DeploymentSpecification
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
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
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
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
ReferencedElements
Gets the referenced model elements of this model element
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
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
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
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
IModelElementThe new parent model element
oldParent
IModelElementThe 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
IModelElementThe new parent model element
oldParent
IModelElementThe old parent model element
SetFeature(string, object)
Sets a value to the given feature
protected override void SetFeature(string feature, object value)