01: package org.osbl.persistence; 02: 03: import java.util.List; 04: 05: public abstract class QueryCommand<T> implements Command { 06: protected Class<T> type; 07: 08: public QueryCommand<T> setType(Class<T> type) { 09: this .type = type; 10: return this ; 11: } 12: 13: public abstract List<T> execute(); 14: }