net.sourceforge.domian.specification
Interface ValueBoundSpecification<T>

All Superinterfaces:
LeafSpecification<T>, Specification<T>

public interface ValueBoundSpecification<T>
extends LeafSpecification<T>

Part of the Evans/Fowler Specifications pattern.

Another way of seeing a value bound specification is that it is a binary relation with one of two operand values. The second operand value is applied as an isSatisfiedBy() candidate.

Since:
0.1
Author:
Eirik Torske
See Also:
The Specifications Pattern

Method Summary
 T getValue()
           
 
Methods inherited from interface net.sourceforge.domian.specification.Specification
and, getType, isDisjointWith, isGeneralizationOf, isSatisfiedBy, isSpecialCaseOf, or, where
 

Method Detail

getValue

T getValue()
Returns:
the value that is bound to this specification


Copyright © 2006-2010. All Rights Reserved.