1 27 28 package org.objectweb.speedo.query.api; 29 30 import javax.jdo.Extent; 31 import java.util.Collection ; 32 import java.util.List ; 33 34 39 public interface QueryDefinition { 40 41 Class getCandidateClass(); 42 43 boolean isCollection(); 44 45 Collection getCollection(); 46 47 String getParameters(); 48 49 String getVariables(); 50 51 String getFilter(); 52 53 Extent getExtent(); 54 55 List getImportStatements(); 56 57 boolean isIgnoreCache(); 58 59 List getOrder(); 60 61 boolean equals(Object o); 62 63 int hashCode(); 64 65 boolean withPrefetch(); 66 67 void withPrefetch(boolean withPrefetch); 68 69 String qdToString(boolean oneLine); 70 71 77 long getIndexFirst(); 78 79 85 long getIndexLast(); 86 87 92 boolean getUnique(); 93 94 100 String getResult(); 101 102 107 Class getResultClass(); 108 109 112 boolean getIncludeSubClasses(); 113 114 115 118 String getGrouping(); 119 } 120 | Popular Tags |