1 29 30 package com.caucho.amber.cfg; 31 32 33 36 public class NamedNativeQueryConfig { 37 38 private String _name; 40 private String _resultClass; 41 private String _resultSetMapping; 42 43 private String _query; 45 private QueryHintConfig _hint; 46 47 public String getName() 48 { 49 return _name; 50 } 51 52 public String getResultClass() 53 { 54 return _resultClass; 55 } 56 57 public String getResultSetMapping() 58 { 59 return _resultSetMapping; 60 } 61 62 public String getQuery() 63 { 64 return _query; 65 } 66 67 public QueryHintConfig getHint() 68 { 69 return _hint; 70 } 71 72 public void setName(String name) 73 { 74 _name = name; 75 } 76 77 public void setQuery(String query) 78 { 79 _query = query; 80 } 81 82 public void setHint(QueryHintConfig hint) 83 { 84 _hint = hint; 85 } 86 87 public void setResultClass(String resultClass) 88 { 89 _resultClass = resultClass; 90 } 91 92 public void setResultSetMapping(String resultSetMapping) 93 { 94 _resultSetMapping = resultSetMapping; 95 } 96 } 97 | Popular Tags |