QueryStrategies

scroll.internal.support.impl.QueryStrategies

Allows to write queries looking for the content of an attribute of the certain role playing object or the return value of one of its functions.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class MatchAny() extends RoleQueryStrategy

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
abstract class RoleQueryStrategy

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class MatchAny
class WithProperty[T]
class WithResult[T]
final case class WithProperty[T](name: String, value: T) extends RoleQueryStrategy

Query strategy using the value the queried attribute.

Query strategy using the value the queried attribute.

Type parameters

T

its type

Value parameters

name

the name of the attribute that is queried

value

the value of the attribute that is queried

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class WithResult[T](name: String, result: T) extends RoleQueryStrategy

Query strategy using the return value the queried function.

Query strategy using the return value the queried function.

Type parameters

T

its type

Value parameters

name

the name of the function that is queried

result

the return value of the function that is queried

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all