|
||||||||||||
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 java.lang.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 |
InstanceSpecification |
getOwningInstance()
Returns the value of the 'Owning Instance' container reference. |
ValueSpecification |
getValue(java.lang.String name)
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, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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 java.lang.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(java.lang.String name)
ValueSpecification
with the specified 'Name' from the 'Value' containment reference list.
name
- The '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()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |