Interface Slot
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
public interface Slot extends Element
A representation of the model object 'Slot'.A Slot designates that an entity modeled by an InstanceSpecification has a value or values for a specific StructuralFeature.
The following features are supported:
- See Also:
UMLPackage.getSlot()
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StructuralFeature
getDefiningFeature()
Returns the value of the 'Defining Feature' reference.InstanceSpecification
getOwningInstance()
Returns the value of the 'Owning Instance' container reference.java.util.List<ValueSpecification>
getValue()
Returns the value of the 'Value' containment reference list.boolean
hasValue()
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 com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, clone, dispose, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, isParentOf, removeAllPropertyChangeListeners, removePropertyChangeListener, sGetID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
-
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.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
-
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
-
-
-
-
Method Detail
-
getDefiningFeature
@CheckForNull StructuralFeature getDefiningFeature()
Returns the value of the 'Defining Feature' reference. It is bidirectional and its opposite is 'slot Of Defining Feature
'. The StructuralFeature that specifies the values that may be held by the Slot.- Returns:
- the value of the 'Defining Feature' reference.
- See Also:
setDefiningFeature(StructuralFeature)
,UMLPackage.getSlot_DefiningFeature()
,StructuralFeature.get_slotOfDefiningFeature()
- Model:
- opposite="_slotOfDefiningFeature" required="true" ordered="false"
- Generated:
-
setDefiningFeature
void setDefiningFeature(@CheckForNull StructuralFeature value)
Sets the value of the 'Defining Feature
' reference.- Parameters:
value
- the new value of the 'Defining Feature' reference.- See Also:
getDefiningFeature()
- Generated:
-
getValue
java.util.List<ValueSpecification> getValue()
Returns the value of the 'Value' containment reference list. The list contents are of typeValueSpecification
. It is bidirectional and its opposite is 'Owning Slot
'. The value or values held by the Slot.- Returns:
- the value of the 'Value' containment reference list.
- See Also:
UMLPackage.getSlot_Value()
,ValueSpecification.getOwningSlot()
- Model:
- opposite="owningSlot" containment="true" resolveProxies="true"
- Generated:
-
getOwningInstance
@CheckForNull InstanceSpecification getOwningInstance()
Returns the value of the 'Owning Instance' container reference. It is bidirectional and its opposite is 'Slot
'. The InstanceSpecification that owns this Slot.- Returns:
- the value of the 'Owning Instance' container reference.
- See Also:
setOwningInstance(InstanceSpecification)
,UMLPackage.getSlot_OwningInstance()
,InstanceSpecification.getSlot()
- Model:
- opposite="slot" required="true" transient="false" ordered="false"
- Generated:
-
setOwningInstance
void setOwningInstance(@CheckForNull InstanceSpecification value)
Sets the value of the 'Owning Instance
' container reference.- Parameters:
value
- the new value of the 'Owning Instance' container reference.- See Also:
getOwningInstance()
- Generated:
-
hasValue
boolean hasValue() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-