1 28 29 package com.caucho.ejb.ql; 30 31 import com.caucho.util.L10N; 32 import com.caucho.util.Log; 33 34 import java.util.logging.Logger ; 35 36 39 public class EjbQuery { 40 private static final Logger log = Log.open(EjbQuery.class); 41 private static final L10N L = new L10N(EjbQuery.class); 42 43 protected String _ejbql; 44 45 private int _maxArg; 46 47 EjbQuery(String ejbql) 48 { 49 _ejbql = ejbql; 50 } 51 52 55 public int getMaxArg() 56 { 57 return _maxArg; 58 } 59 60 63 public void setMaxArg(int maxArg) 64 { 65 _maxArg = maxArg; 66 } 67 68 71 public int getOffsetValue() 72 { 73 return -1; 74 } 75 76 79 public int getOffsetArg() 80 { 81 return -1; 82 } 83 84 87 public int getLimitValue() 88 { 89 return -1; 90 } 91 92 95 public int getLimitArg() 96 { 97 return -1; 98 } 99 100 103 public String toAmberQuery(String []args) 104 { 105 return _ejbql; 106 } 107 } 108 | Popular Tags |