|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Slot'. A slot is owned by an instance specification. It specifies the value or values for its defining feature, which must be a structural feature of a classifier of the instance specification owning the slot.
The following features are supported:
UML2Package.getSlot()
Field Summary | |
static String |
copyright
|
Method Summary | |
ValueSpecification |
createValue(EClass eClass)
Creates a ValueSpecification and appends it to the 'Value' containment reference list |
StructuralFeature |
getDefiningFeature()
Returns the value of the 'Defining Feature' reference |
EList |
getOwnedElements()
|
Element |
getOwner()
|
InstanceSpecification |
getOwningInstance()
Returns the value of the 'Owning Instance' container reference. |
ValueSpecification |
getValue(String unqualifiedName)
Retrieves the ValueSpecification with the specified name from the 'Value' containment reference list |
EList |
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 |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, 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, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Field Detail |
public static final String copyright
Method Detail |
public InstanceSpecification getOwningInstance()
Slot
'.
If the meaning of the 'Owning Instance' container reference isn't clear, there really should be more of a description here...
The instance specification that owns this slot. Subsets Element::owner.
setOwningInstance(InstanceSpecification)
,
UML2Package.getSlot_OwningInstance()
,
InstanceSpecification.getSlots()
public void setOwningInstance(InstanceSpecification value)
Owning Instance
' container reference.
value
- the new value of the 'Owning Instance' container reference.getOwningInstance()
public EList getValues()
ValueSpecification
.
If the meaning of the 'Value' containment reference list isn't clear, there really should be more of a description here...
UML2Package.getSlot_Value()
public ValueSpecification getValue(String unqualifiedName)
ValueSpecification
with the specified name from the 'Value' containment reference list.
unqualifiedName
- The unqualified name of the ValueSpecification
to retrieve.
ValueSpecification
with the specified name, or null
.getValues()
public ValueSpecification createValue(EClass eClass)
ValueSpecification
and appends it to the 'Value' containment reference list.
eClass
- The Ecore class of the ValueSpecification
to create.
ValueSpecification
.getValues()
public StructuralFeature getDefiningFeature()
If the meaning of the 'Defining Feature' reference isn't clear, there really should be more of a description here...
The structural feature that specifies the values that may be held by the slot.
setDefiningFeature(StructuralFeature)
,
UML2Package.getSlot_DefiningFeature()
public void setDefiningFeature(StructuralFeature value)
Defining Feature
' reference.
value
- the new value of the 'Defining Feature' reference.getDefiningFeature()
public Element getOwner()
getOwner
in interface Element
UML2Package.getElement_Owner()
,
Element.getOwnedElements()
public EList getOwnedElements()
getOwnedElements
in interface Element
UML2Package.getElement_OwnedElement()
,
Element.getOwner()
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |