Package com.sodius.mdw.metamodel.uml21
Interface Deployment
-
- All Superinterfaces:
Comparable<Object>,Dependency,DirectedRelationship,Element,org.eclipse.emf.ecore.EModelElement,org.eclipse.emf.ecore.EObject,MDWEObject,MDWObject,NamedElement,org.eclipse.emf.common.notify.Notifier,PackageableElement,ParameterableElement,Relationship
public interface Deployment extends Dependency
A representation of the model object 'Deployment'. A deployment is the allocation of an artifact or artifact instance to a deployment target. A component deployment is the deployment of one or more artifacts or artifact instances to a deployment target, optionally parameterized by a deployment specification. Examples are executables and configuration files.The following features are supported:
- See Also:
UMLPackage.getDeployment()
-
-
Field Summary
-
Fields inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
SEPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeploymentSpecificationcreateConfiguration(String name)Creates a newDeploymentSpecification, with the specified 'Name', and appends it to the 'Configuration' containment reference list.DeploymentSpecificationgetConfiguration(String name)Retrieves the firstDeploymentSpecificationwith the specified 'Name' from the ' Configuration' containment reference list.DeploymentSpecificationgetConfiguration(String name, boolean ignoreCase, boolean createOnDemand)Retrieves the firstDeploymentSpecificationwith the specified 'Name' from the ' Configuration' containment reference list.MDWEList<DeploymentSpecification>getConfigurations()Returns the value of the 'Configuration' containment reference list.DeployedArtifactgetDeployedArtifact(String name)Retrieves the firstDeployedArtifactwith the specified 'Name' from the ' Deployed Artifact' reference list.DeployedArtifactgetDeployedArtifact(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)Retrieves the firstDeployedArtifactwith the specified 'Name' from the ' Deployed Artifact' reference list.MDWEList<DeployedArtifact>getDeployedArtifacts()Returns the value of the 'Deployed Artifact' reference list.DeploymentTargetgetLocation()Returns the value of the 'Location' container reference.voidsetLocation(DeploymentTarget value)Sets the value of the 'Location' container reference.-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Dependency
getClient, getClient, getClients, getSupplier, getSupplier, getSuppliers
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.DirectedRelationship
getSources, getTargets
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Element
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
-
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface com.sodius.mdw.core.model.MDWObject
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.NamedElement
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.ParameterableElement
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
-
Methods inherited from interface com.sodius.mdw.metamodel.uml21.Relationship
getRelatedElements
-
-
-
-
Method Detail
-
getDeployedArtifacts
MDWEList<DeployedArtifact> getDeployedArtifacts()
Returns the value of the 'Deployed Artifact' reference list. The list contents are of typeDeployedArtifact. The Artifacts that are deployed onto a Node. This association specializes the supplier association.- Returns:
- the value of the 'Deployed Artifact' reference list.
- See Also:
UMLPackage.getDeployment_DeployedArtifact()
-
getDeployedArtifact
DeployedArtifact getDeployedArtifact(String name)
Retrieves the firstDeployedArtifactwith the specified 'Name' from the ' Deployed Artifact' reference list.- Parameters:
name- The 'Name' of theDeployedArtifactto retrieve, ornull.- Returns:
- The first
DeployedArtifactwith the specified 'Name', ornull. - See Also:
getDeployedArtifacts()
-
getDeployedArtifact
DeployedArtifact getDeployedArtifact(String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass)
Retrieves the firstDeployedArtifactwith the specified 'Name' from the ' Deployed Artifact' reference list.- Parameters:
name- The 'Name' of theDeployedArtifactto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.eClass- The Ecore class of theDeployedArtifactto retrieve, ornull.- Returns:
- The first
DeployedArtifactwith the specified 'Name', ornull. - See Also:
getDeployedArtifacts()
-
getConfigurations
MDWEList<DeploymentSpecification> getConfigurations()
Returns the value of the 'Configuration' containment reference list. The list contents are of typeDeploymentSpecification. It is bidirectional and its opposite is 'Deployment'. The specification of properties that parameterize the deployment and execution of one or more Artifacts.- Returns:
- the value of the 'Configuration' containment reference list.
- See Also:
UMLPackage.getDeployment_Configuration(),DeploymentSpecification.getDeployment()
-
createConfiguration
DeploymentSpecification createConfiguration(String name)
Creates a newDeploymentSpecification, with the specified 'Name', and appends it to the 'Configuration' containment reference list.- Parameters:
name- The 'Name' for the newDeploymentSpecification, ornull.- Returns:
- The new
DeploymentSpecification. - See Also:
getConfigurations()
-
getConfiguration
DeploymentSpecification getConfiguration(String name)
Retrieves the firstDeploymentSpecificationwith the specified 'Name' from the ' Configuration' containment reference list.- Parameters:
name- The 'Name' of theDeploymentSpecificationto retrieve, ornull.- Returns:
- The first
DeploymentSpecificationwith the specified 'Name', ornull. - See Also:
getConfigurations()
-
getConfiguration
DeploymentSpecification getConfiguration(String name, boolean ignoreCase, boolean createOnDemand)
Retrieves the firstDeploymentSpecificationwith the specified 'Name' from the ' Configuration' containment reference list.- Parameters:
name- The 'Name' of theDeploymentSpecificationto retrieve, ornull.ignoreCase- Whether to ignore case inStringcomparisons.createOnDemand- Whether to create aDeploymentSpecificationon demand if not found.- Returns:
- The first
DeploymentSpecificationwith the specified 'Name', ornull. - See Also:
getConfigurations()
-
getLocation
DeploymentTarget getLocation()
Returns the value of the 'Location' container reference. It is bidirectional and its opposite is 'Deployment'. The DeployedTarget which is the target of a Deployment.- Returns:
- the value of the 'Location' container reference.
- See Also:
setLocation(DeploymentTarget),UMLPackage.getDeployment_Location(),DeploymentTarget.getDeployments()
-
setLocation
void setLocation(DeploymentTarget value)
Sets the value of the 'Location' container reference.- Parameters:
value- the new value of the 'Location' container reference.- See Also:
getLocation()
-
-