Package io.opencaesar.oml
Interface RelationEntityPredicate
- All Superinterfaces:
BinaryPredicate
,Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
,Predicate
,UnaryPredicate
- All Known Implementing Classes:
RelationEntityPredicateImpl
A representation of the model object 'Relation Entity Predicate'.
RelationEntityPredicate is a [=UnaryPredicate=] and [=BinaryPredicate=] that holds when its [=argument=] is bound to an [=RelationInstance=] typed by the given [=RelationEntity=],
its argument1 is bound to the source of that [=RelationInstance=] and its argument2 is bound to the target of that [=RelationInstance=]
.
The following features are supported:
- See Also:
- Generated:
- Model:
- annotation="https://tabatkins.github.io/bikeshed heading='Predicates'"
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns the value of the 'Type' reference.void
setType
(RelationEntity value) Sets the value of the 'Type
' reference.Methods inherited from interface io.opencaesar.oml.BinaryPredicate
getArgument1, getArgument2, setArgument1, setArgument2
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
Methods inherited from interface io.opencaesar.oml.Predicate
getAntecedentRule, getConsequentRule, setAntecedentRule, setConsequentRule
Methods inherited from interface io.opencaesar.oml.UnaryPredicate
getArgument, setArgument
-
Method Details
-
getType
RelationEntity getType()Returns the value of the 'Type' reference. The type of a relation 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:
-