1 23 24 package org.dbforms.taglib; 25 26 import org.dbforms.config.ResultSetVector; 27 28 import java.util.Map ; 29 30 31 32 39 public class DbFormContext { 40 private Map currentRow; 41 private Map searchFieldAlgorithmNames; 42 private Map searchFieldModeNames; 43 private Map searchFieldNames; 44 private ResultSetVector rsv; 45 private String position; 46 47 55 public DbFormContext(Map searchFieldNames, 56 Map searchFieldModeNames, 57 Map searchFieldAlgorithmNames, 58 ResultSetVector rsv) { 59 this.searchFieldNames = searchFieldNames; 60 this.searchFieldModeNames = searchFieldModeNames; 61 this.searchFieldAlgorithmNames = searchFieldAlgorithmNames; 62 this.rsv = rsv; 63 } 64 65 70 public void setCurrentRow(Map map) { 71 currentRow = map; 72 } 73 74 75 80 public Map getCurrentRow() { 81 return currentRow; 82 } 83 84 85 90 public void setPosition(String string) { 91 position = string; 92 } 93 94 95 100 public String getPosition() { 101 return position; 102 } 103 104 105 110 public ResultSetVector getRsv() { 111 return rsv; 112 } 113 114 115 120 public Map getSearchFieldAlgorithmNames() { 121 return searchFieldAlgorithmNames; 122 } 123 124 125 130 public Map getSearchFieldModeNames() { 131 return searchFieldModeNames; 132 } 133 134 135 140 public Map getSearchFieldNames() { 141 return searchFieldNames; 142 } 143 } 144 | Popular Tags |