org.eclipse.uml2.uml.DeploymentSpecification Maven / Gradle / Ivy
/*
* Copyright (c) 2005, 2011 IBM Corporation, CEA, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
* Kenn Hussey (CEA) - 327039
*
* $Id: DeploymentSpecification.java,v 1.10 2007/06/28 01:41:44 khussey Exp $
*/
package org.eclipse.uml2.uml;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
*
* A representation of the model object 'Deployment Specification'.
*
*
*
* 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.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation Deployment Location}
* - {@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation Execution Location}
* - {@link org.eclipse.uml2.uml.DeploymentSpecification#getDeployment Deployment}
*
*
*
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification()
* @model
* @generated
*/
public interface DeploymentSpecification
extends Artifact {
/**
* Returns the value of the 'Deployment Location' attribute.
*
*
*
* The location where an Artifact is deployed onto a Node. This is typically a 'directory' or 'memory address'.
*
* @return the value of the 'Deployment Location' attribute.
* @see #isSetDeploymentLocation()
* @see #unsetDeploymentLocation()
* @see #setDeploymentLocation(String)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_DeploymentLocation()
* @model unsettable="true" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getDeploymentLocation();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation Deployment Location}' attribute.
*
*
* @param value the new value of the 'Deployment Location' attribute.
* @see #isSetDeploymentLocation()
* @see #unsetDeploymentLocation()
* @see #getDeploymentLocation()
* @generated
*/
void setDeploymentLocation(String value);
/**
* Unsets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation Deployment Location}' attribute.
*
*
* @see #isSetDeploymentLocation()
* @see #getDeploymentLocation()
* @see #setDeploymentLocation(String)
* @generated
*/
void unsetDeploymentLocation();
/**
* Returns whether the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation Deployment Location}' attribute is set.
*
*
* @return whether the value of the 'Deployment Location' attribute is set.
* @see #unsetDeploymentLocation()
* @see #getDeploymentLocation()
* @see #setDeploymentLocation(String)
* @generated
*/
boolean isSetDeploymentLocation();
/**
* Returns the value of the 'Execution Location' attribute.
*
*
*
* The location where a component Artifact executes. This may be a local or remote location.
*
* @return the value of the 'Execution Location' attribute.
* @see #isSetExecutionLocation()
* @see #unsetExecutionLocation()
* @see #setExecutionLocation(String)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_ExecutionLocation()
* @model unsettable="true" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getExecutionLocation();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation Execution Location}' attribute.
*
*
* @param value the new value of the 'Execution Location' attribute.
* @see #isSetExecutionLocation()
* @see #unsetExecutionLocation()
* @see #getExecutionLocation()
* @generated
*/
void setExecutionLocation(String value);
/**
* Unsets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation Execution Location}' attribute.
*
*
* @see #isSetExecutionLocation()
* @see #getExecutionLocation()
* @see #setExecutionLocation(String)
* @generated
*/
void unsetExecutionLocation();
/**
* Returns whether the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation Execution Location}' attribute is set.
*
*
* @return whether the value of the 'Execution Location' attribute is set.
* @see #unsetExecutionLocation()
* @see #getExecutionLocation()
* @see #setExecutionLocation(String)
* @generated
*/
boolean isSetExecutionLocation();
/**
* Returns the value of the 'Deployment' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.uml.Deployment#getConfigurations Configuration}'.
*
* This feature subsets the following features:
*
* - '{@link org.eclipse.uml2.uml.Element#getOwner() Owner}'
*
*
*
*
*
* The deployment with which the DeploymentSpecification is associated.
*
* @return the value of the 'Deployment' container reference.
* @see #setDeployment(Deployment)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_Deployment()
* @see org.eclipse.uml2.uml.Deployment#getConfigurations
* @model opposite="configuration" transient="false" ordered="false"
* @generated
*/
Deployment getDeployment();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeployment Deployment}' container reference.
*
*
* @param value the new value of the 'Deployment' container reference.
* @see #getDeployment()
* @generated
*/
void setDeployment(Deployment value);
/**
*
*
*
* 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).
* self.deployment->forAll (d | d.location.deployedElements->forAll (de |
* de.oclIsKindOf(Component)))
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @model
* @generated
*/
boolean validateDeployedElements(DiagnosticChain diagnostics,
Map