01: /*
02: * ValidatorResult.java
03: *
04: * Created on July 9, 2002, 10:44 PM
05: */
06:
07: package com.mimer.ws.validateSQL;
08:
09: /**
10: *
11: * @author olle
12: */
13: public class ValidatorResult {
14:
15: /** Holds value of property text. */
16: private String data;
17:
18: /** Holds value of property standard. */
19: private int standard;
20:
21: /** Creates a new instance of ValidatorResult */
22: public ValidatorResult() {
23: }
24:
25: /** Getter for property text.
26: * @return Value of property text.
27: */
28: public String getData() {
29: return this .data;
30: }
31:
32: /** Setter for property text.
33: * @param text New value of property text.
34: */
35: public void setData(String data) {
36: this .data = data;
37: }
38:
39: /** Getter for property standard.
40: * @return Value of property standard.
41: */
42: public int getStandard() {
43: return this .standard;
44: }
45:
46: /** Setter for property standard.
47: * @param standard New value of property standard.
48: */
49: public void setStandard(int standard) {
50: this .standard = standard;
51: }
52:
53: public String toString() {
54: return "standard = "
55: + this .standard
56: + " (0 = not standard, 1 = Core, 2 = Core plus extensions)\n"
57: + "\ndata = " + this.data;
58: }
59:
60: }
|