blob: 0044a8f573a50f659d04c880ab9561b836eb983a [file] [log] [blame]
/*
* Copyright (c) 2003, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: Deployment.java,v 1.3 2004/05/11 15:24:00 khussey Exp $
*/
package org.eclipse.uml2;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Deployment</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.Deployment#getDeployedArtifacts <em>Deployed Artifact</em>}</li>
* <li>{@link org.eclipse.uml2.Deployment#getLocation <em>Location</em>}</li>
* <li>{@link org.eclipse.uml2.Deployment#getConfigurations <em>Configuration</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.UML2Package#getDeployment()
* @model
* @generated
*/
public interface Deployment extends Dependency{
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
String copyright = "Copyright (c) 2003, 2004 IBM Corporation and others."; //$NON-NLS-1$
/**
* Returns the value of the '<em><b>Deployed Artifact</b></em>' reference list.
* The list contents are of type {@link org.eclipse.uml2.DeployedArtifact}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Deployed Artifact</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Deployed Artifact</em>' reference list.
* @see org.eclipse.uml2.UML2Package#getDeployment_DeployedArtifact()
* @model type="org.eclipse.uml2.DeployedArtifact" volatile="true" ordered="false"
* @generated
*/
EList getDeployedArtifacts();
/**
* Retrieves the {@link org.eclipse.uml2.DeployedArtifact} with the specified name from the '<em><b>Deployed Artifact</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.DeployedArtifact} to retrieve.
* @return The {@link org.eclipse.uml2.DeployedArtifact} with the specified name, or <code>null</code>.
* @see #getDeployedArtifacts()
* @generated
*/
DeployedArtifact getDeployedArtifact(String unqualifiedName);
/**
* Returns the value of the '<em><b>Location</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.DeploymentTarget#getDeployments <em>Deployment</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Location</em>' container reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Location</em>' container reference.
* @see #setLocation(DeploymentTarget)
* @see org.eclipse.uml2.UML2Package#getDeployment_Location()
* @see org.eclipse.uml2.DeploymentTarget#getDeployments
* @model opposite="deployment" required="true" volatile="true"
* @generated
*/
DeploymentTarget getLocation();
/**
* Sets the value of the '{@link org.eclipse.uml2.Deployment#getLocation <em>Location</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Location</em>' container reference.
* @see #getLocation()
* @generated
*/
void setLocation(DeploymentTarget value);
/**
* Returns the value of the '<em><b>Configuration</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.uml2.DeploymentSpecification}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Configuration</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Configuration</em>' containment reference list.
* @see org.eclipse.uml2.UML2Package#getDeployment_Configuration()
* @model type="org.eclipse.uml2.DeploymentSpecification" containment="true" ordered="false"
* @generated
*/
EList getConfigurations();
/**
* Retrieves the {@link org.eclipse.uml2.DeploymentSpecification} with the specified name from the '<em><b>Configuration</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param unqualifiedName The unqualified name of the {@link org.eclipse.uml2.DeploymentSpecification} to retrieve.
* @return The {@link org.eclipse.uml2.DeploymentSpecification} with the specified name, or <code>null</code>.
* @see #getConfigurations()
* @generated
*/
DeploymentSpecification getConfiguration(String unqualifiedName);
/**
* Creates a {@link org.eclipse.uml2.DeploymentSpecification} and appends it to the '<em><b>Configuration</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param eClass The Ecore class of the {@link org.eclipse.uml2.DeploymentSpecification} to create.
* @return The new {@link org.eclipse.uml2.DeploymentSpecification}.
* @see #getConfigurations()
* @generated
*/
DeploymentSpecification createConfiguration(EClass eClass);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getSuppliers();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getTargets();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getSources();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getClients();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model parameters=""
* @generated
*/
EList getOwnedElements();
} // Deployment