Class PDisjunction
java.lang.Object
tools.refinery.interpreter.matchers.psystem.queries.PDisjunction
-
Constructor Summary
ConstructorsConstructorDescriptionPDisjunction(Set<PBody> bodies) PDisjunction(PQuery query, Set<PBody> bodies) -
Method Summary
Modifier and TypeMethodDescriptionReturns all queries required to evaluate this query (transitively).Returns an immutable set of bodies that consists of this disjunctionReturns all queries directly referred in the constraints.getQuery()Returns the corresponding query specification.booleanDecides whether a disjunction is mutable.booleanDetermines whether the query transitively refers to itself.
-
Constructor Details
-
PDisjunction
-
PDisjunction
-
-
Method Details
-
getBodies
-
getQuery
Returns the corresponding query specification. May be null if not set. -
getDirectReferredQueries
-
getAllReferredQueries
-
isRecursive
public boolean isRecursive()Determines whether the query transitively refers to itself. Note that even if false is returned, the query may refer to another query that is recursive, but not mutually recursive with this query.- Returns:
- true if the query transitively calls itself.
- Since:
- 2.10
-
isMutable
public boolean isMutable()Decides whether a disjunction is mutable. A disjunction is mutable if all its contained bodies are mutable.
-