Package | Description |
---|---|
org.seedstack.business.specification.dsl |
Provides a fluent DSL that facilitates the creation of complex composite specifications.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StringOptionPicker<T,S extends BaseSelector>
An element of the
SpecificationBuilder DSL to pick the options for a String -specific specification. |
Modifier and Type | Method and Description |
---|---|
<V extends Comparable<? super V>> |
SpecificationPicker.between(V leftValue,
V rightValue)
Picks a between specification that will be satisfied if the current selection is strictly
greater than and strictly less than to the specified value.
|
<V extends Comparable<? super V>> |
SpecificationPicker.between(V leftValue,
V rightValue,
boolean leftInclusive,
boolean rightInclusive)
Picks a between specification that will be satisfied if the current selection is (strictly or
not) greater than and (strictly or not) less than to the specified value.
|
<V> OperatorPicker<T,S> |
SpecificationPicker.equalTo(V value)
Picks a general purpose equality specification that will be satisfied if the current selection
equals to the specified value.
|
<V extends Comparable<? super V>> |
SpecificationPicker.greaterThan(V value)
Picks a greater than specification that will be satisfied if the current selection is strictly
greater than the specified value.
|
<V extends Comparable<? super V>> |
SpecificationPicker.greaterThanOrEqualTo(V value)
Picks a greater than or equal to specification that will be satisfied if the current selection
is greater than or equal to the specified value.
|
OperatorPicker<A,S> |
IdentityPicker.is(I id)
Specify that the identity of the aggregate must be equal to the one passed as argument.
|
OperatorPicker<A,S> |
IdentityPicker.isNot(I id)
Specify that the identity of the aggregate must NOT be equal to the one passed as argument.
|
<V extends Comparable<? super V>> |
SpecificationPicker.lessThan(V value)
Picks a less than specification that will be satisfied if the current selection is strictly
less than the specified value.
|
<V extends Comparable<? super V>> |
SpecificationPicker.lessThanOrEqualTo(V value)
Picks a less than or equal to specification that will be satisfied if the current selection is
less than or equal to the specified value.
|
OperatorPicker<T,S> |
SpecificationPicker.satisfying(Specification<T> specification)
Picks a custom specification.
|
Copyright © 2013-2018–2019 SeedStack. All rights reserved.