Interface Slot<T>
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,ModelElement
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
AttributeSlot
,ClassObjectSlot<T>
,ContainmentSlot
,ReferenceSlot
- All Known Implementing Classes:
AttributeSlotImpl
,ClassObjectSlotImpl
,ContainmentSlotImpl
,ReferenceSlotImpl
,SlotImpl
A representation of the model object 'Slot'.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
compatibleWith
(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether this Slot's name, type of contents, and size of contents is compatible with the specified EStructuralFeature.org.eclipse.emf.ecore.EStructuralFeature
Returns the corresponding EStructuralFeature in the containing PackageObject's metamodel.Returns the value of the 'Feature' attribute.getOwner()
Returns the value of the 'Owner' container reference.org.eclipse.emf.common.util.EList<T>
Returns the value of the 'Values' attribute list.boolean
Returns true only if this Slot has a corresponding EStructuralFeature in the containing PackageObject's metamodel.boolean
multiplicityCompatibleWith
(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether the contents of this Slot can fit in the specified EStructuralFeature.void
setFeature
(String value) Sets the value of the 'Feature
' attribute.void
setOwner
(ClassObject value) Sets the value of the 'Owner
' container reference.void
boolean
typeCompatibleWith
(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether the contents of this Slot has the same type as the specified EStructuralFeature.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 org.eclipse.epsilon.hutn.model.hutn.ModelElement
getCol, getLine, setCol, setLine
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getFeature
String getFeature()Returns the value of the 'Feature' attribute.If the meaning of the 'Feature' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Feature' attribute.
- See Also:
-
setFeature
Sets the value of the 'Feature
' attribute.- Parameters:
value
- the new value of the 'Feature' attribute.- See Also:
-
getOwner
ClassObject getOwner()Returns the value of the 'Owner' container reference. It is bidirectional and its opposite is 'Slots
'.If the meaning of the 'Owner' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Owner' container reference.
- See Also:
-
setOwner
Sets the value of the 'Owner
' container reference.- Parameters:
value
- the new value of the 'Owner' container reference.- See Also:
-
getValues
org.eclipse.emf.common.util.EList<T> getValues()Returns the value of the 'Values' attribute list. The list contents are of typeSlot
.If the meaning of the 'Values' attribute list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Values' attribute list.
- See Also:
-
typeCompatibleWith
boolean typeCompatibleWith(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether the contents of this Slot has the same type as the specified EStructuralFeature. -
multiplicityCompatibleWith
boolean multiplicityCompatibleWith(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether the contents of this Slot can fit in the specified EStructuralFeature. -
compatibleWith
boolean compatibleWith(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature) Indicates whether this Slot's name, type of contents, and size of contents is compatible with the specified EStructuralFeature. -
getEStructuralFeature
org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()Returns the corresponding EStructuralFeature in the containing PackageObject's metamodel. -
hasEStructuralFeature
boolean hasEStructuralFeature()Returns true only if this Slot has a corresponding EStructuralFeature in the containing PackageObject's metamodel. -
setValues
-