public interface Slot extends Element
The following features are supported:
UMLPackage.getSlot()
Modifier and Type | Method and Description |
---|---|
ValueSpecification |
createValue(String name,
Type type,
EClass eClass)
Creates a new
ValueSpecification , with the specified 'Name', and 'Type',
and appends it to the 'Value' containment reference list |
StructuralFeature |
getDefiningFeature()
Returns the value of the 'Defining Feature' reference
|
InstanceSpecification |
getOwningInstance()
Returns the value of the 'Owning Instance' container reference.
|
ValueSpecification |
getValue(String name,
Type type)
Retrieves the first
ValueSpecification with the specified 'Name', and '
Type' from the 'Value' containment reference list |
ValueSpecification |
getValue(String name,
Type type,
boolean ignoreCase,
EClass eClass,
boolean createOnDemand)
Retrieves the first
ValueSpecification with the specified 'Name', and '
Type' from the 'Value' containment reference list |
MDWEList<ValueSpecification> |
getValues()
Returns the value of the 'Value' containment reference list.
|
void |
setDefiningFeature(StructuralFeature value)
Sets the value of the '
Defining Feature ' reference |
void |
setOwningInstance(InstanceSpecification value)
Sets the value of the '
Owning Instance ' container reference |
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
InstanceSpecification getOwningInstance()
Slot
'.
The instance specification that owns this slot.
setOwningInstance(InstanceSpecification)
,
UMLPackage.getSlot_OwningInstance()
,
InstanceSpecification.getSlots()
void setOwningInstance(InstanceSpecification value)
Owning Instance
' container reference.
value
- the new value of the 'Owning Instance' container reference.getOwningInstance()
StructuralFeature getDefiningFeature()
setDefiningFeature(StructuralFeature)
,
UMLPackage.getSlot_DefiningFeature()
void setDefiningFeature(StructuralFeature value)
Defining Feature
' reference.
value
- the new value of the 'Defining Feature' reference.getDefiningFeature()
MDWEList<ValueSpecification> getValues()
ValueSpecification
.
The value or values corresponding to the defining feature for the owning instance specification.
UMLPackage.getSlot_Value()
ValueSpecification createValue(String name, Type type, EClass eClass)
ValueSpecification
, with the specified 'Name', and 'Type',
and appends it to the 'Value' containment reference list.
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
.getValues()
ValueSpecification getValue(String name, Type type)
ValueSpecification
with the specified 'Name', and '
Type' from the 'Value' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ValueSpecification
with the specified 'Name', and '
Type', or null
.getValues()
ValueSpecification getValue(String name, Type type, boolean ignoreCase, EClass eClass, boolean createOnDemand)
ValueSpecification
with the specified 'Name', and '
Type' from the 'Value' containment reference list.
name
- The 'Name' of the ValueSpecification
to retrieve, or null
.type
- The 'Type' of the ValueSpecification
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the ValueSpecification
to retrieve, or null
.createOnDemand
- Whether to create a ValueSpecification
on demand if not found.ValueSpecification
with the specified 'Name', and '
Type', or null
.getValues()