Filters parent-child relationships that are incoming to the given concept.
Filters the longest consecutive (!) parent-child relationship paths that are incoming to the given concept.
Filters the longest consecutive (!) parent-child relationship paths that are incoming to the given concept. Only relationship paths for which all (non-empty) "tails" pass the predicate are accepted by the filter!
It is a dangerous method in that termination is not guaranteed, but may depend on the passed relationship path predicate. For safety, make sure that the predicate detects cycles and returns false on detecting them.
Filters the longest consecutive (!) parent-child relationship paths that are outgoing from the given concept.
Filters the longest consecutive (!) parent-child relationship paths that are outgoing from the given concept. Only relationship paths for which all (non-empty) "inits" pass the predicate are accepted by the filter!
It is a dangerous method in that termination is not guaranteed, but may depend on the passed relationship path predicate. For safety, make sure that the predicate detects cycles and returns false on detecting them.
Filters parent-child relationships that are outgoing from the given concept.
Filters parent-child relationships that are outgoing from the given concept on the given ELR.
Finds all "following" ("consecutive") parent-child relationships.
Finds all "following" ("consecutive") parent-child relationships.
This method is shorthand for:
filterOutgoingParentChildRelationships(relationship.targetConceptEName) { rel =>
relationship.isFollowedBy(rel)
}
Finds all parent-child relationships that are incoming to the given concept.
Returns filterLongestIncomingConsecutiveParentChildRelationshipPaths(targetConcept)(_ => true)
.
Returns filterLongestOutgoingConsecutiveParentChildRelationshipPaths(sourceConcept)(_ => true)
.
Finds all parent-child relationships that are outgoing from the given concept.
Purely abstract trait offering a presentation relationship query API.
Implementations may be strict or lenient in enforced requirements on the relationship container.