01: package org.osbl.persistence;
02:
03: import java.util.*;
04:
05: public abstract class JoinedQueryCommand<T> extends
06: SimpleQueryCommand<T> {
07: protected Map<String, String> joins = new LinkedHashMap<String, String>();
08:
09: public JoinedQueryCommand<T> addJoin(String path, String alias) {
10: joins.put(path, alias);
11: return this ;
12: }
13:
14: public void clearJoins() {
15: joins.clear();
16: }
17: }
|