Specification (interface)

An implementation of the Specification pattern, as described in Eric Evans' Domain Driven Design , p224.

API

Specification.java
interface Specification {
  String satisfies(Object obj)     (1)
}
1 satisfies(Object)

If null then satisfied, otherwise is reason why the specification is not satisfied.

Members

satisfies(Object)

If null then satisfied, otherwise is reason why the specification is not satisfied.