| 1 |
|
package be.dvw.administration.mvc.forms; |
| 2 |
|
|
| 3 |
|
import org.apache.struts.action.*; |
| 4 |
|
import org.apache.struts.validator.ValidatorForm; |
| 5 |
|
import org.apache.commons.logging.Log; |
| 6 |
|
import org.apache.commons.logging.LogFactory; |
| 7 |
|
|
| 8 |
|
import javax.servlet.http.HttpServletRequest; |
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
0 |
public class ScoreSearchForm extends ValidatorForm { |
| 18 |
|
|
| 19 |
0 |
private static Log LOG = LogFactory.getLog(ScoreSearchForm.class); |
| 20 |
|
|
| 21 |
0 |
private String title = null; |
| 22 |
0 |
private String operator = null; |
| 23 |
0 |
private String composer = null; |
| 24 |
|
|
| 25 |
|
public String getComposer() { |
| 26 |
0 |
return composer; |
| 27 |
|
} |
| 28 |
|
|
| 29 |
|
public void setComposer(String composer) { |
| 30 |
0 |
this.composer = composer; |
| 31 |
0 |
} |
| 32 |
|
|
| 33 |
|
public String getOperator() { |
| 34 |
0 |
return operator; |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
public void setOperator(String operator) { |
| 38 |
0 |
this.operator = class="keyword">operator; |
| 39 |
0 |
} |
| 40 |
|
|
| 41 |
|
public String getTitle() { |
| 42 |
0 |
return title; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public void setTitle(String title) { |
| 46 |
0 |
this.title = title; |
| 47 |
0 |
} |
| 48 |
|
|
| 49 |
|
|
| 50 |
|
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) |
| 51 |
|
{ |
| 52 |
|
|
| 53 |
0 |
LOG.debug ("entering validation"); |
| 54 |
0 |
return super.validate(actionMapping, httpServletRequest); |
| 55 |
|
|
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
} |