Create a new specification that is the AND operation of this
specification and another specification.
Create a new specification that is the AND operation of this
specification and another specification.
Specification to AND.
A new specification.
Create a new specification that is the NOT operation of this
specification.
Create a new specification that is the NOT operation of this
specification.
A new specification.
Create a new specification that is the OR operation of this
specification and another specification.
Create a new specification that is the OR operation of this
specification and another specification.
Specification to OR.
A new specification.
仕様を表すモデル。
DDD本の中で説明している Specification パターンに則ったオブジェクトを表すインターフェイス。
Specification
の実装は、AbstractSpecification
を基底クラスとして実装するとよい。 その場合、#isSatisfiedBy(Object)
を実装する必要しかない。Specificationの型