Package io.opencaesar.oml
Interface RelationInstance
- All Superinterfaces:
DescriptionMember
,DescriptionStatement
,Element
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,Instance
,Member
,NamedInstance
,org.eclipse.emf.common.notify.Notifier
,Statement
- All Known Implementing Classes:
RelationInstanceImpl
A representation of the model object 'Relation Instance'.
RelationInstance is a [=NamedInstance=] that can be typed by [=RelationEntities=] and represents a link from one or
more [=NamedInstances=] as sources to one or more [=NamedInstances=] as targets.
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Instances'"
-
Method Summary
Modifier and TypeMethodDescriptiongetRef()
Returns the value of the 'Ref' reference.org.eclipse.emf.common.util.EList<NamedInstance>
Returns the value of the 'Sources' reference list.org.eclipse.emf.common.util.EList<NamedInstance>
Returns the value of the 'Targets' reference list.void
setRef
(RelationInstance value) Sets the value of the 'Ref
' reference.Methods inherited from interface io.opencaesar.oml.DescriptionStatement
getOwningDescription, setOwningDescription
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.IdentifiedElement
getOwnedAnnotations
Methods inherited from interface io.opencaesar.oml.Instance
getOwnedPropertyValues
Methods inherited from interface io.opencaesar.oml.Member
getAbbreviatedIri, getIri, getName, isRef, resolve, setName
Methods inherited from interface io.opencaesar.oml.NamedInstance
getEntityTypes, getOwnedTypes, getTypes
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getRef
RelationInstance getRef()Returns the value of the 'Ref' reference. A ref to another relation instance -
setRef
Sets the value of the 'Ref
' reference.- Parameters:
value
- the new value of the 'Ref' reference.- See Also:
- Generated:
-
getSources
org.eclipse.emf.common.util.EList<NamedInstance> getSources()Returns the value of the 'Sources' reference list. The list contents are of typeNamedInstance
. The named instances that are the sources of this relation instance- Returns:
- the value of the 'Sources' reference list.
- See Also:
- Generated:
- Model:
-
getTargets
org.eclipse.emf.common.util.EList<NamedInstance> getTargets()Returns the value of the 'Targets' reference list. The list contents are of typeNamedInstance
. The named instances that are the targets of this relation instance- Returns:
- the value of the 'Targets' reference list.
- See Also:
- Generated:
- Model:
-