KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > utilities > postinstall > ConfigElement


1 /*
2  * ConfigElement.java
3  *
4  * Created on June 12, 2003, 2:38 PM
5  */

6
7 package com.quikj.application.utilities.postinstall;
8
9 /**
10  *
11  * @author amit
12  */

13 public class ConfigElement
14 {
15     public static final int DISPLAY_ALL = 0;
16     public static final int DISPLAY_PARAM = 1;
17     public static final int DISPLAY_NONE = 2;
18     
19     /** Holds value of property paramName. */
20     private String JavaDoc paramName;
21     
22     /** Holds value of property paramValue. */
23     private String JavaDoc paramValue;
24     
25     /** Holds value of property replacePattern. */
26     private String JavaDoc replacePattern;
27     
28     /** Holds value of property display. */
29     private int display = DISPLAY_ALL;
30     
31     /** Creates a new instance of ConfigElement */
32     public ConfigElement()
33     {
34     }
35     
36     /** Getter for property paramName.
37      * @return Value of property paramName.
38      *
39      */

40     public String JavaDoc getParamName()
41     {
42         return this.paramName;
43     }
44     
45     /** Setter for property paramName.
46      * @param paramName New value of property paramName.
47      *
48      */

49     public void setParamName(String JavaDoc paramName)
50     {
51         this.paramName = paramName;
52     }
53     
54     /** Getter for property paramValue.
55      * @return Value of property paramValue.
56      *
57      */

58     public String JavaDoc getParamValue()
59     {
60         return this.paramValue;
61     }
62     
63     /** Setter for property paramValue.
64      * @param paramValue New value of property paramValue.
65      *
66      */

67     public void setParamValue(String JavaDoc paramValue)
68     {
69         this.paramValue = paramValue;
70     }
71     
72     /** Getter for property replacePattern.
73      * @return Value of property replacePattern.
74      *
75      */

76     public String JavaDoc getReplacePattern()
77     {
78         return this.replacePattern;
79     }
80     
81     /** Setter for property replacePattern.
82      * @param replacePattern New value of property replacePattern.
83      *
84      */

85     public void setReplacePattern(String JavaDoc replacePattern)
86     {
87         this.replacePattern = replacePattern;
88     }
89     
90     /** Getter for property display.
91      * @return Value of property display.
92      *
93      */

94     public int getDisplay()
95     {
96         return this.display;
97     }
98     
99     public void setDisplay(int display)
100     {
101         this.display = display;
102     }
103 }
104
Popular Tags