1 7 package fr.improve.struts.taglib.layout.collection; 8 9 16 public class SimpleItemContext implements ItemContext { 17 public String arg0; 18 public String arg1; 19 String title; 20 21 String onclick; 22 public String property; 23 public String sortProperty; 24 String target; 25 String url; 26 public String width; 27 28 String footer; 29 String footerArg0; 30 String footerArg1; 31 32 String item; 33 34 String mathOperation; 35 String mathPattern; 36 37 public SimpleItemContext() { 38 } 40 41 44 public SimpleItemContext(ItemContext in_context) { 45 arg0 = in_context.getArg0(); 46 arg1 = in_context.getArg1(); 47 title = in_context.getTitle(); 48 onclick = in_context.getOnclick(); 49 property = in_context.getProperty(); 50 sortProperty = in_context.getSortProperty(); 51 target = in_context.getTarget(); 52 url = in_context.getUrl(); 53 width = in_context.getWidth(); 54 footer = in_context.getFooter(); 55 footerArg0 = in_context.getFooterArg0(); 56 footerArg1 = in_context.getFooterArg1(); 57 58 item = in_context.getItem(); 59 mathOperation = in_context.getMathOperation(); 60 mathPattern = in_context.getMathPattern(); 61 } 62 public String getArg0() { 63 return arg0; 64 } 65 public String getArg1() { 66 return arg1; 67 } 68 public String getItem() { 69 return item; 70 } 71 public String getOnclick() { 72 return onclick; 73 } 74 public String getProperty() { 75 return property; 76 } 77 public String getSortProperty() { 78 return sortProperty; 79 } 80 public String getTarget() { 81 return target; 82 } 83 public String getTitle() { 84 return title; 85 } 86 public String getUrl() { 87 return url; 88 } 89 public String getWidth() { 90 return width; 91 } 92 public String getMathOperation() { 93 return mathOperation; 94 } 95 public String getMathPattern() { 96 return mathPattern; 97 } 98 public void reset() { 99 arg0 = null; 100 arg1 = null; 101 item = null; 102 103 footerArg0 = null; 104 footerArg1 = null; 105 footer = null; 106 107 onclick = null; 108 property = null; 109 sortProperty = null; 110 target = null; 111 title = null; 112 url = null; 113 width = null; 114 mathOperation = null; 115 mathPattern = null; 116 } 117 public String getFooter() { 118 return footer; 119 } 120 public String getFooterArg0() { 121 return footerArg0; 122 } 123 public String getFooterArg1() { 124 return footerArg1; 125 } 126 public void setArg0(String arg0) { 127 this.arg0 = arg0; 128 } 129 public void setArg1(String arg1) { 130 this.arg1 = arg1; 131 } 132 public void setFooter(String footer) { 133 this.footer = footer; 134 } 135 public void setFooterArg0(String footerArg0) { 136 this.footerArg0 = footerArg0; 137 } 138 public void setFooterArg1(String footerArg1) { 139 this.footerArg1 = footerArg1; 140 } 141 public void setItem(String item) { 142 this.item = item; 143 } 144 public void setMathOperation(String mathOperation) { 145 this.mathOperation = mathOperation; 146 } 147 public void setMathPattern(String mathPattern) { 148 this.mathPattern = mathPattern; 149 } 150 public void setOnclick(String onclick) { 151 this.onclick = onclick; 152 } 153 public void setProperty(String property) { 154 this.property = property; 155 } 156 public void setSortProperty(String sortProperty) { 157 this.sortProperty = sortProperty; 158 } 159 public void setTarget(String target) { 160 this.target = target; 161 } 162 public void setTitle(String title) { 163 this.title = title; 164 } 165 public void setUrl(String url) { 166 this.url = url; 167 } 168 public void setWidth(String width) { 169 this.width = width; 170 } 171 } 172 | Popular Tags |