Package io.opencaesar.oml
Interface Predicate
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
BinaryPredicate
,DifferentFromPredicate
,FeaturePredicate
,RelationEntityPredicate
,SameAsPredicate
,TypePredicate
,UnaryPredicate
- All Known Implementing Classes:
BinaryPredicateImpl
,DifferentFromPredicateImpl
,FeaturePredicateImpl
,PredicateImpl
,RelationEntityPredicateImpl
,SameAsPredicateImpl
,TypePredicateImpl
,UnaryPredicateImpl
A representation of the model object 'Predicate'.
Predicate is an element that represents an ontology statement to match, when used in a rule's antecedent,
or to infer, when used in a rule's consequent.
The following features are supported:
- See Also:
- Generated:
- Model:
- abstract="true" annotation="https://tabatkins.github.io/bikeshed heading='Rules'"
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Antecedent Rule' container reference.Returns the value of the 'Consequent Rule' container reference.void
setAntecedentRule
(Rule value) Sets the value of the 'Antecedent Rule
' container reference.void
setConsequentRule
(Rule value) Sets the value of the 'Consequent Rule
' 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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getAntecedentRule
Rule getAntecedentRule()Returns the value of the 'Antecedent Rule' container reference. It is bidirectional and its opposite is 'Antecedent
'. The rule that specifies this predicate in its antecedent- Returns:
- the value of the 'Antecedent Rule' container reference.
- See Also:
- Generated:
- Model:
- opposite="antecedent" transient="false"
-
setAntecedentRule
Sets the value of the 'Antecedent Rule
' container reference.- Parameters:
value
- the new value of the 'Antecedent Rule' container reference.- See Also:
- Generated:
-
getConsequentRule
Rule getConsequentRule()Returns the value of the 'Consequent Rule' container reference. It is bidirectional and its opposite is 'Consequent
'. The rule that specifies this predicate in its consequent- Returns:
- the value of the 'Consequent Rule' container reference.
- See Also:
- Generated:
- Model:
- opposite="consequent" transient="false"
-
setConsequentRule
Sets the value of the 'Consequent Rule
' container reference.- Parameters:
value
- the new value of the 'Consequent Rule' container reference.- See Also:
- Generated:
-