QueryStrategies
scroll.internal.support.impl.QueryStrategies
object 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 Objecttrait Matchableclass Any
- Self type
-
QueryStrategies.type
Members list
Type members
Classlikes
final case class MatchAny() extends RoleQueryStrategy
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass RoleQueryStrategyclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
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 Serializabletrait Producttrait Equalsclass RoleQueryStrategyclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalsclass RoleQueryStrategyclass Objecttrait Matchableclass AnyShow all
In this article