01: /**
02: * Copyright (C) 2006, 2007 David Bulmore, Software Sensation Inc.
03: * All Rights Reserved.
04: *
05: * This file is part of jWebApp.
06: *
07: * jWebApp is free software; you can redistribute it and/or modify it under
08: * the terms of the GNU General Public License (Version 2) as published by
09: * the Free Software Foundation.
10: *
11: * jWebApp is distributed in the hope that it will be useful, but WITHOUT
12: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14: * for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with jWebApp; if not, write to the Free Software Foundation,
18: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19: */package jwebapp.controller;
20:
21: class ValidationData {
22: private String validationId, type, arguments, errorMessage;
23:
24: ValidationData(String validationId, String type, String arguments,
25: String errorMessage) {
26: this .validationId = validationId;
27: this .type = type;
28: this .arguments = arguments;
29: this .errorMessage = errorMessage;
30: }
31:
32: String getValidationId() {
33: return validationId;
34: }
35:
36: String getType() {
37: return type;
38: }
39:
40: String getArguments() {
41: return arguments;
42: }
43:
44: String getErrorMessage() {
45: return errorMessage;
46: }
47: }
|