1 16 17 21 22 package javax.jdo; 23 24 import java.util.Collection ; 25 26 41 public interface FetchPlan { 42 43 48 public static final String DEFAULT = "default"; 49 50 55 public static final String ALL = "all"; 56 57 62 public static final String VALUES = "values"; 63 64 70 public static final String NONE = "none"; 71 72 76 public static final int FETCH_SIZE_GREEDY = -1; 77 78 82 public static final int FETCH_SIZE_OPTIMAL = 0; 83 84 89 FetchPlan addGroup(String fetchGroupName); 90 91 96 FetchPlan removeGroup(String fetchGroupName); 97 98 103 FetchPlan clearGroups(); 104 105 111 Collection getGroups(); 112 113 119 FetchPlan setGroups(Collection fetchGroupNames); 120 121 127 FetchPlan setGroups(String []fetchGroupNames); 128 129 135 FetchPlan setGroup(String fetchGroupName); 136 137 145 FetchPlan setFetchSize(int fetchSize); 146 147 153 int getFetchSize(); 154 } | Popular Tags |