Package io.opencaesar.oml
Interface TypeAssertion
- All Superinterfaces:
Assertion
,Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
TypeAssertionImpl
A representation of the model object 'Type Assertion'.
TypeAssertion is an [=Assertion=] that specifies a type for a [=NamedInstance=].
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Assertions'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Owning Instance' container reference.getType()
Returns the value of the 'Type' reference.void
setOwningInstance
(NamedInstance value) Sets the value of the 'Owning Instance
' container reference.void
Sets the value of the 'Type
' reference.Methods inherited from interface io.opencaesar.oml.Element
extraValidate, getOntology
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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getType
Entity getType()Returns the value of the 'Type' reference. The type of the instance owning this assertion- Returns:
- the value of the 'Type' reference.
- See Also:
- Generated:
- Model:
- required="true"
-
setType
Sets the value of the 'Type
' reference.- Parameters:
value
- the new value of the 'Type' reference.- See Also:
- Generated:
-
getOwningInstance
NamedInstance getOwningInstance()Returns the value of the 'Owning Instance' container reference. It is bidirectional and its opposite is 'Owned Types
'. The instance that owns this assertion- Returns:
- the value of the 'Owning Instance' container reference.
- See Also:
- Generated:
- Model:
- opposite="ownedTypes" transient="false"
-
setOwningInstance
Sets the value of the 'Owning Instance
' container reference.- Parameters:
value
- the new value of the 'Owning Instance' container reference.- See Also:
- Generated:
-
getSubject
NamedInstance getSubject()- Specified by:
getSubject
in interfaceAssertion
- Generated:
- Model:
- kind="operation" unique="false"
-
getObject
Element getObject()
-