KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > wcf > format > Pattern


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.wcf.format;
14
15 /**
16  * @author av
17  */

18 public class Pattern {
19   String JavaDoc language;
20   String JavaDoc pattern;
21   String JavaDoc errorMessage;
22
23   /**
24    * Returns the language.
25    * @return String
26    */

27   public String JavaDoc getLanguage() {
28     return language;
29   }
30
31   /**
32    * Returns the pattern.
33    * @return String
34    */

35   public String JavaDoc getPattern() {
36     return pattern;
37   }
38
39   /**
40    * Sets the language.
41    * @param language The language to set
42    */

43   public void setLanguage(String JavaDoc language) {
44     this.language = language;
45   }
46
47   /**
48    * Sets the pattern.
49    * @param pattern The pattern to set
50    */

51   public void setPattern(String JavaDoc pattern) {
52     this.pattern = pattern;
53   }
54
55   /**
56    * Returns the errorMessage.
57    * @return String
58    */

59   public String JavaDoc getErrorMessage() {
60     return errorMessage;
61   }
62
63   /**
64    * Sets the errorMessage.
65    * @param errorMessage The errorMessage to set
66    */

67   public void setErrorMessage(String JavaDoc errorMessage) {
68     this.errorMessage = errorMessage;
69   }
70 }
Popular Tags