public interface InstanceSpecification extends DeploymentTarget, PackageableElement, DeployedArtifact
The following features are supported:
UMLPackage.getInstanceSpecification()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Slot |
createSlot()
Creates a new
Slot and appends it to the 'Slot' containment reference list |
ValueSpecification |
createSpecification(String name,
Type type,
EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type',
and sets the 'Specification' containment reference |
Classifier |
getClassifier(String name)
Retrieves the first
Classifier with the specified 'Name' from the '
Classifier' reference list |
Classifier |
getClassifier(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
Classifier with the specified 'Name' from the '
Classifier' reference list |
MDWEList<Classifier> |
getClassifiers()
Returns the value of the 'Classifier' reference list.
|
MDWEList<Slot> |
getSlots()
Returns the value of the 'Slot' containment reference list.
|
ValueSpecification |
getSpecification()
Returns the value of the 'Specification' containment reference
|
void |
setSpecification(ValueSpecification value)
Sets the value of the '
Specification ' containment
reference |
boolean |
validateDefiningFeature(DiagnosticChain diagnostics,
Map context)
The defining feature of each slot is a structural feature (directly or inherited) of a classifier of the instance specification.
|
boolean |
validateDeploymentArtifact(DiagnosticChain diagnostics,
Map context)
An InstanceSpecification can be a DeployedArtifact if it is the instance specification of an Artifact.
|
boolean |
validateDeploymentTarget(DiagnosticChain diagnostics,
Map context)
An InstanceSpecification can be a DeploymentTarget if it is the instance specification of a Node and functions as a part in the internal
structure of an encompassing Node.
|
boolean |
validateStructuralFeature(DiagnosticChain diagnostics,
Map context)
One structural feature (including the same feature inherited from multiple classifiers) is the defining feature of at most one slot in an
instance specification.
|
createDeployment, getDeployedElement, getDeployedElement, getDeployedElements, getDeployment, getDeployment, getDeployments
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
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
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
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
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
MDWEList<Classifier> getClassifiers()
Classifier
.
The classifier or classifiers of the represented instance. If multiple classifiers are specified, the instance is classified by all of them.
UMLPackage.getInstanceSpecification_Classifier()
Classifier getClassifier(String name)
Classifier
with the specified 'Name' from the '
Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getClassifiers()
Classifier getClassifier(String name, boolean ignoreCase, EClass eClass)
Classifier
with the specified 'Name' from the '
Classifier' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getClassifiers()
ValueSpecification getSpecification()
setSpecification(ValueSpecification)
,
UMLPackage.getInstanceSpecification_Specification()
void setSpecification(ValueSpecification value)
Specification
' containment
reference.
value
- the new value of the 'Specification' containment reference.getSpecification()
ValueSpecification createSpecification(String name, Type type, EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type',
and sets the 'Specification' containment reference.
name
- The 'Name' for the new ValueSpecification
, or null
.type
- The 'Type' for the new ValueSpecification
, or null
.eClass
- The Ecore class of the ValueSpecification
to create.ValueSpecification
.getSpecification()
MDWEList<Slot> getSlots()
Slot
.
It is bidirectional and its opposite is 'Owning Instance
'.
A slot giving the value or values of a structural feature of the instance. An instance specification can have one slot per structural feature
of its classifiers, including inherited features. It is not necessary to model a slot for each structural feature, in which case the instance
specification is a partial description.
UMLPackage.getInstanceSpecification_Slot()
,
Slot.getOwningInstance()
Slot createSlot()
Slot
and appends it to the 'Slot' containment reference list.
Slot
.getSlots()
boolean validateDefiningFeature(DiagnosticChain diagnostics, Map context)
boolean validateStructuralFeature(DiagnosticChain diagnostics, Map context)
boolean validateDeploymentTarget(DiagnosticChain diagnostics, Map context)
boolean validateDeploymentArtifact(DiagnosticChain diagnostics, Map context)