Class QuerySingleResolverStrategy

java.lang.Object
ch.tocco.nice2.persist.entity.api.defaultvalue.QueryResolverStrategy
ch.tocco.nice2.persist.entity.impl.defaultvalue.QuerySingleResolverStrategy
All Implemented Interfaces:
DefaultValueResolverStrategy

@Component public class QuerySingleResolverStrategy extends QueryResolverStrategy
Resolves the 'singlequery' default value. It selects the only element for a relation. That applies only if there is exactly one element in the option list.