StandardRelationshipContainerApi

Purely abstract trait offering a standard relationship query API.

Purely abstract trait offering a standard relationship query API.

Implementations should make sure that looking up relationships by source EName is fast.

Implementations may be strict or lenient in enforced requirements on the relationship container.

For some of the graph theory terms used, see http://artint.info/html/ArtInt_50.html.

Authors

Chris de Vreeze

class Object
trait Matchable
class Any

Value members

Abstract methods

def filterOutgoingStandardRelationships(sourceConcept: EName)(p: StandardRelationship => Boolean): IndexedSeq[StandardRelationship]

Filters standard relationships that are outgoing from the given concept.

Filters standard relationships that are outgoing from the given concept.

def filterOutgoingStandardRelationshipsOfType[A <: StandardRelationship](sourceConcept: EName, relationshipType: ClassTag[A])(p: A => Boolean): IndexedSeq[A]

Filters standard relationships of the given type that are outgoing from the given concept.

Filters standard relationships of the given type that are outgoing from the given concept.

def filterStandardRelationshipsOfType[A <: StandardRelationship](relationshipType: ClassTag[A])(p: A => Boolean): IndexedSeq[A]
def findAllOutgoingStandardRelationships(sourceConcept: EName): IndexedSeq[StandardRelationship]

Finds all standard relationships that are outgoing from the given concept.

Finds all standard relationships that are outgoing from the given concept.

def findAllOutgoingStandardRelationshipsOfType[A <: StandardRelationship](sourceConcept: EName, relationshipType: ClassTag[A]): IndexedSeq[A]

Finds all standard relationships of the given type that are outgoing from the given concept.

Finds all standard relationships of the given type that are outgoing from the given concept.

def findAllStandardRelationshipsOfType[A <: StandardRelationship](relationshipType: ClassTag[A]): IndexedSeq[A]