Package io.opencaesar.oml
Interface RelationEntity
- All Superinterfaces:
Classifier
,Element
,Entity
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,Member
,org.eclipse.emf.common.notify.Notifier
,RelationBase
,SpecializableTerm
,Statement
,Term
,Type
,VocabularyMember
,VocabularyStatement
- All Known Implementing Classes:
RelationEntityImpl
A representation of the model object 'Relation Entity'.
RelationEntity is an [=entity=] that represents a reified relation from a source entity to a target entity.
It names a [=ForwardRelation=] (only on a relation entity definition not a ref) whose domain is the source
and whose range is the target.
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Relations'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Forward Relation' containment reference.getRef()
Returns the value of the 'Ref' reference.void
Sets the value of the 'Forward Relation
' containment reference.void
setRef
(RelationEntity value) Sets the value of the 'Ref
' reference.Methods inherited from interface io.opencaesar.oml.Classifier
getOwnedEquivalences, getOwnedPropertyRestrictions
Methods inherited from interface io.opencaesar.oml.Element
extraValidate, getOntology
Methods inherited from interface io.opencaesar.oml.Entity
getOwnedKeys
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.Member
getAbbreviatedIri, getIri, getName, isRef, resolve, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface io.opencaesar.oml.RelationBase
getReverseRelation, getSources, getTargets, isAsymmetric, isFunctional, isInverseFunctional, isIrreflexive, isReflexive, isSymmetric, isTransitive, setAsymmetric, setFunctional, setInverseFunctional, setIrreflexive, setReflexive, setReverseRelation, setSymmetric, setTransitive
Methods inherited from interface io.opencaesar.oml.SpecializableTerm
getOwnedSpecializations
Methods inherited from interface io.opencaesar.oml.VocabularyStatement
getOwningVocabulary, setOwningVocabulary
-
Method Details
-
getRef
RelationEntity getRef()Returns the value of the 'Ref' reference. A ref to another relation entity -
setRef
Sets the value of the 'Ref
' reference.- Parameters:
value
- the new value of the 'Ref' reference.- See Also:
- Generated:
-
getForwardRelation
ForwardRelation getForwardRelation()Returns the value of the 'Forward Relation' containment reference. It is bidirectional and its opposite is 'Relation Entity
'. The optional forward relation of this relation entity- Returns:
- the value of the 'Forward Relation' containment reference.
- See Also:
- Generated:
- Model:
- opposite="relationEntity" containment="true"
-
setForwardRelation
Sets the value of the 'Forward Relation
' containment reference.- Parameters:
value
- the new value of the 'Forward Relation' containment reference.- See Also:
- Generated:
-