Package io.opencaesar.oml
Interface ReverseRelation
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,IdentifiedElement
,Member
,org.eclipse.emf.common.notify.Notifier
,Property
,Relation
,SemanticProperty
,Term
,VocabularyMember
- All Known Implementing Classes:
ReverseRelationImpl
A representation of the model object 'Reverse Relation'.
ReverseRelation is a [=Relation=] that is defined by a [=RelationBase=] and represents its inverse [=relation=]. Its domain
is the target of the [=RelationBase=], and its range is the source of the [=RelationBase=]. The DL semantics of a reverse property are
derived from those of its [=RelationBase=].
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Relations'"
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.util.EList<Entity>
org.eclipse.emf.common.util.EList<Entity>
getRef()
Returns the value of the 'Relation Base' container reference.boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
setRelationBase
(RelationBase value) Sets the value of the 'Relation Base
' container 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.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.Relation
getDomainList, getRangeList
-
Method Details
-
getRelationBase
RelationBase getRelationBase()Returns the value of the 'Relation Base' container reference. It is bidirectional and its opposite is 'Reverse Relation
'. The relation that owns this reverse property- Returns:
- the value of the 'Relation Base' container reference.
- See Also:
- Generated:
- Model:
- opposite="reverseRelation" required="true" transient="false"
-
setRelationBase
Sets the value of the 'Relation Base
' container reference.- Parameters:
value
- the new value of the 'Relation Base' container reference.- See Also:
- Generated:
-
getRef
Member getRef() -
isFunctional
boolean isFunctional()- Specified by:
isFunctional
in interfaceSemanticProperty
- Generated:
- Model:
- kind="operation" unique="false"
-
isInverseFunctional
boolean isInverseFunctional()- Specified by:
isInverseFunctional
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
isSymmetric
boolean isSymmetric()- Specified by:
isSymmetric
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
isAsymmetric
boolean isAsymmetric()- Specified by:
isAsymmetric
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
isReflexive
boolean isReflexive()- Specified by:
isReflexive
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
isIrreflexive
boolean isIrreflexive()- Specified by:
isIrreflexive
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
isTransitive
boolean isTransitive()- Specified by:
isTransitive
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
getDomains
org.eclipse.emf.common.util.EList<Entity> getDomains()- Specified by:
getDomains
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-
getRanges
org.eclipse.emf.common.util.EList<Entity> getRanges() -
getInverse
Relation getInverse()- Specified by:
getInverse
in interfaceRelation
- Generated:
- Model:
- kind="operation" unique="false"
-