Package io.opencaesar.oml
Interface StructureInstance
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,Instance
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
StructureInstanceImpl
A representation of the model object 'Structure Instance'.
StructureInstance is an [=Instance=] that can be typed by a [=Structure=]. It is anonymous and gets assigned as a value of a [=StructuredProperty=]
either in a [=PropertyValueRestrictionAxiom=] or a [=PropertyValueAssertion=].
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Instances'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Owning Assertion' container reference.Returns the value of the 'Owning Axiom' container reference.getType()
Returns the value of the 'Type' reference.org.eclipse.emf.common.util.EList<Classifier>
getTypes()
void
Sets the value of the 'Owning Assertion
' container reference.void
Sets the value of the 'Owning Axiom
' 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 io.opencaesar.oml.Instance
getOwnedPropertyValues
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getType
Structure getType()Returns the value of the 'Type' reference. The type of this instance- 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:
-
getOwningAxiom
PropertyValueRestrictionAxiom getOwningAxiom()Returns the value of the 'Owning Axiom' container reference. It is bidirectional and its opposite is 'Contained Value
'. The property value restriction axiom that assigns this instance as a restricted value- Returns:
- the value of the 'Owning Axiom' container reference.
- See Also:
- Generated:
- Model:
- opposite="containedValue" transient="false"
-
setOwningAxiom
Sets the value of the 'Owning Axiom
' container reference.- Parameters:
value
- the new value of the 'Owning Axiom' container reference.- See Also:
- Generated:
-
getOwningAssertion
PropertyValueAssertion getOwningAssertion()Returns the value of the 'Owning Assertion' container reference. It is bidirectional and its opposite is 'Contained Value
'. The property value assertion that assigns this instance as a value- Returns:
- the value of the 'Owning Assertion' container reference.
- See Also:
- Generated:
- Model:
- opposite="containedValue" transient="false"
-
setOwningAssertion
Sets the value of the 'Owning Assertion
' container reference.- Parameters:
value
- the new value of the 'Owning Assertion' container reference.- See Also:
- Generated:
-
getTypes
org.eclipse.emf.common.util.EList<Classifier> getTypes()
-