QueryCommand.java :  » Workflow-Engines » osbl-1_0 » org » osbl » persistence » Java Open Source

Java Open Source » Workflow Engines » osbl 1_0 
osbl 1_0 » org » osbl » persistence » QueryCommand.java
package org.osbl.persistence;

import java.util.List;

public abstract class QueryCommand<T>
    implements Command
{
    protected Class<T> type;

    public QueryCommand<T> setType(Class<T> type) {
        this.type = type;
        return this;
    }

    public abstract List<T> execute();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.