1 24 package org.objectweb.jalisto.se.api.query; 25 26 import org.objectweb.jalisto.se.api.ClassDescription; 27 28 import java.util.List ; 29 import java.util.Set ; 30 import java.util.HashMap ; 31 32 public interface Query { 33 Constraint constrain(Object constraintObject); 34 35 List constraints(); 36 37 Query descend(String fieldName); 38 39 Query orderAscending(); 40 41 Query orderDescending(); 42 43 ObjectSet execute(); 44 45 Set getExtent(ClassDescription meta); 46 47 void bind(String parameterName, Object value); 48 49 HashMap getParameters(); 50 51 String getQueriedClassName(); 52 } 53 | Popular Tags |