01: /*
02: * File: ErrorValidation.java
03: * Project: jMOS, com.aranova.java.jmos.messages
04: * Revision: 0.9 - Inicial
05: * Date: 28-oct-2005 10:56:24
06: *
07: * Copyright (C) Aragón Innovación Tecnológica S.L.L.
08: * All rights reserved.
09: *
10: * This software is distributed under the terms of the Aranova License version 1.0.
11: * See the terms of the Aranova License in the documentation provided with this software.
12: */
13:
14: package com.aranova.java.jmos.messages;
15:
16: import com.aranova.java.jmos.enums.TypeModifier;
17:
18: /**
19: * TODO : Type Summary.
20: * TODO : Type Description.
21: *
22: * @author <a href="http://www.aranova.net/contactar/">Daniel Sánchez</a>
23: * @version 0.9.1
24: * @since 0.9
25: */
26: public class ErrorValidation {
27: private final String _fieldName;
28: private final TypeModifier _rule;
29:
30: /**
31: * @param fieldName
32: * @param rule
33: */
34: public ErrorValidation(final String fieldName,
35: final TypeModifier rule) {
36: _fieldName = fieldName;
37: _rule = rule;
38: }
39:
40: /**
41: * @return Returns the fieldName.
42: */
43: public String getFieldName() {
44: return _fieldName;
45: }
46:
47: /**
48: * @return Returns the rule.
49: */
50: public TypeModifier getRule() {
51: return _rule;
52: }
53: }
|