|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.citerus.dddsample.domain.shared.AbstractSpecification<T>
se.citerus.dddsample.domain.shared.NotSpecification<T>
public class NotSpecification<T>
NOT decorator, used to create a new specifcation that is the inverse (NOT) of the given spec.
| Constructor Summary | |
|---|---|
NotSpecification(Specification<T> spec1)
Create a new NOT specification based on another spec. |
|
| Method Summary | |
|---|---|
boolean |
isSatisfiedBy(T t)
Check if t is satisfied by the specification. |
| Methods inherited from class se.citerus.dddsample.domain.shared.AbstractSpecification |
|---|
and, not, or |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotSpecification(Specification<T> spec1)
spec1 - Specification instance to not.| Method Detail |
|---|
public boolean isSatisfiedBy(T t)
t is satisfied by the specification.
isSatisfiedBy in interface Specification<T>isSatisfiedBy in class AbstractSpecification<T>t - Object to test.
true if t satisfies the specification.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||