Package io.opencaesar.oml
Interface ConceptTypeAssertion
- All Superinterfaces:
Assertion
,Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
,TypeAssertion
- All Known Implementing Classes:
ConceptTypeAssertionImpl
A representation of the model object 'Concept Type Assertion'.
ConceptTypeAssertion is a type assertion specifying a type for a concept instance. It can be specified directly on an
concept instance, or indirectly on a reference to one.
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.Returns the value of the 'Owning Reference' container reference.getType()
Returns the value of the 'Type' reference.void
setOwningInstance
(ConceptInstance value) Sets the value of the 'Owning Instance
' container reference.void
Sets the value of the 'Owning Reference
' 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
Concept getType()Returns the value of the 'Type' reference. The concept specified as the type of the instance- Specified by:
getType
in interfaceTypeAssertion
- 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
ConceptInstance getOwningInstance()Returns the value of the 'Owning Instance' container reference. It is bidirectional and its opposite is 'Owned Types
'. The instance that this type assertion is about- 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:
-
getOwningReference
ConceptInstanceReference getOwningReference()Returns the value of the 'Owning Reference' container reference. It is bidirectional and its opposite is 'Owned Types
'. The reference to a concept instance that this type assertion is about- Returns:
- the value of the 'Owning Reference' container reference.
- See Also:
- Generated:
- Model:
- opposite="ownedTypes" transient="false"
-
setOwningReference
Sets the value of the 'Owning Reference
' container reference.- Parameters:
value
- the new value of the 'Owning Reference' container reference.- See Also:
- Generated:
-