1 /*
2 * Licensed under the GPL License. You may not use this file except in compliance with the License.
3 * You may obtain a copy of the License at
4 *
5 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6 *
7 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8 * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 */
11 package psiprobe.model;
12
13 /**
14 * A model class representing an application initialization parameter.
15 */
16 public class ApplicationParam {
17
18 /** The name. */
19 private String name;
20
21 /** The value. */
22 private Object value;
23
24 /** denotes whether the value is taken from a deployment descriptor. */
25 private boolean fromDeplDescr;
26
27 /**
28 * Gets the name.
29 *
30 * @return the name
31 */
32 public String getName() {
33 return name;
34 }
35
36 /**
37 * Sets the name.
38 *
39 * @param name the new name
40 */
41 public void setName(String name) {
42 this.name = name;
43 }
44
45 /**
46 * Gets the value.
47 *
48 * @return the value
49 */
50 public Object getValue() {
51 return value;
52 }
53
54 /**
55 * Sets the value.
56 *
57 * @param value the new value
58 */
59 public void setValue(Object value) {
60 this.value = value;
61 }
62
63 /**
64 * Checks if is from depl descr.
65 *
66 * @return true, if is from depl descr
67 */
68 public boolean isFromDeplDescr() {
69 return fromDeplDescr;
70 }
71
72 /**
73 * Sets the from depl descr.
74 *
75 * @param fromDeplDescr the new from depl descr
76 */
77 public void setFromDeplDescr(boolean fromDeplDescr) {
78 this.fromDeplDescr = fromDeplDescr;
79 }
80
81 }