1 19 package org.apache.cayenne.access; 20 21 import org.apache.cayenne.map.DataMap; 22 import org.apache.cayenne.map.DbEntity; 23 import org.apache.cayenne.map.EntityResolver; 24 import org.apache.cayenne.map.ObjEntity; 25 import org.apache.cayenne.map.Procedure; 26 import org.apache.cayenne.query.PrefetchTreeNode; 27 import org.apache.cayenne.query.Query; 28 import org.apache.cayenne.query.QueryMetadata; 29 import org.apache.cayenne.query.QueryRouter; 30 import org.apache.cayenne.query.SQLAction; 31 import org.apache.cayenne.query.SQLActionVisitor; 32 import org.apache.cayenne.query.SQLResultSetMapping; 33 import org.apache.cayenne.reflect.ClassDescriptor; 34 35 42 class DataDomainQuery implements Query, QueryMetadata { 43 44 public SQLAction createSQLAction(SQLActionVisitor visitor) { 45 throw new UnsupportedOperationException ("Not an executable query."); 46 } 47 48 public QueryMetadata getMetaData(EntityResolver resolver) { 49 return this; 50 } 51 52 public SQLResultSetMapping getResultSetMapping() { 53 return null; 54 } 55 56 public String getName() { 57 return null; 58 } 59 60 public void route(QueryRouter router, EntityResolver resolver, Query substitutedQuery) { 61 } 62 63 public String [] getCacheGroups() { 64 return null; 65 } 66 67 public String getCacheKey() { 68 return null; 69 } 70 71 public String getCachePolicy() { 72 return null; 73 } 74 75 public DataMap getDataMap() { 76 return null; 77 } 78 79 public DbEntity getDbEntity() { 80 return null; 81 } 82 83 public int getFetchLimit() { 84 return 0; 85 } 86 87 public int getFetchStartIndex() { 88 return 0; 89 } 90 91 public ObjEntity getObjEntity() { 92 return null; 93 } 94 95 public ClassDescriptor getClassDescriptor() { 96 return null; 97 } 98 99 public int getPageSize() { 100 return 0; 101 } 102 103 public PrefetchTreeNode getPrefetchTree() { 104 return null; 105 } 106 107 public Procedure getProcedure() { 108 return null; 109 } 110 111 public boolean isFetchingDataRows() { 112 return true; 114 } 115 116 public boolean isRefreshingObjects() { 117 return false; 118 } 119 120 public boolean isResolvingInherited() { 121 return false; 122 } 123 } 124 | Popular Tags |