01: package com.sun.jbi.jsf.bean;
02:
03: public class CompAppConfig {
04:
05: CompAppConfig(String aDisplayName, boolean isPassword,
06: boolean isRequired, String aName, String aType,
07: String aValue) {
08: mDisplayName = aDisplayName;
09: mIsPassword = isPassword;
10: mIsRequired = isRequired;
11: mName = aName;
12: mType = aType;
13: mValue = aValue;
14: }
15:
16: public String getName() {
17: return mName;
18: }
19:
20: public String getDisplayName() {
21: return mDisplayName;
22: }
23:
24: public String getType() {
25: return mType;
26: }
27:
28: public String getValue() {
29: return mValue;
30: }
31:
32: public boolean getIsPassword() {
33: return mIsPassword;
34: }
35:
36: public boolean getIsRequired() {
37: return mIsRequired;
38: }
39:
40: public boolean isPassword() {
41: return mIsPassword;
42: }
43:
44: public boolean isRequired() {
45: return mIsRequired;
46: }
47:
48: public void setName(String aName) {
49: mName = aName;
50: }
51:
52: public void setDisplayName(String aDisplayName) {
53: mDisplayName = aDisplayName;
54: }
55:
56: public void setIsPassword(boolean isPassword) {
57: mIsPassword = isPassword;
58: }
59:
60: public void setIsRequired(boolean isRequired) {
61: mIsRequired = isRequired;
62: }
63:
64: public void setValue(String aValue) {
65: mValue = aValue;
66: }
67:
68: public void setType(String aType) {
69: mType = aType;
70: }
71:
72: public String toString() {
73: String result = "[CompAppConfig, mDisplayName=" + mDisplayName
74: + ", mIsPassword=" + mIsPassword + ", mIsRequired="
75: + mIsRequired + ", mName=" + mName + ", mType=" + mType
76: + ", mValue=" + mValue + "]";
77: return result;
78: }
79:
80: private String mDisplayName;
81: private boolean mIsPassword;
82: private boolean mIsRequired;
83: private String mName;
84: private String mType;
85: private String mValue;
86: }
|