Package io.opencaesar.oml
Interface Predicate
- All Superinterfaces:
Element
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.common.notify.Notifier
- All Known Subinterfaces:
BinaryPredicate
,BuiltInPredicate
,DifferentFromPredicate
,PropertyPredicate
,RelationEntityPredicate
,SameAsPredicate
,TypePredicate
,UnaryPredicate
- All Known Implementing Classes:
BinaryPredicateImpl
,BuiltInPredicateImpl
,DifferentFromPredicateImpl
,PredicateImpl
,PropertyPredicateImpl
,RelationEntityPredicateImpl
,SameAsPredicateImpl
,TypePredicateImpl
,UnaryPredicateImpl
A representation of the model object 'Predicate'.
Predicate is an element that represents a component of a [=rule=]'s antecedent or consequent.
It specifies (one or more) [=arguments=] based on the specific subtype of predicate.
The following features are supported:
- See Also:
- Generated:
- Model:
- abstract="true" annotation="https://tabatkins.github.io/bikeshed heading='Predicates'"
-
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' antecedent that this predicate is owned by- 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' consequent that this predicate is owned by- 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:
-