001: /*
002: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
003: * Distributed under the terms of either:
004: * - the common development and distribution license (CDDL), v1.0; or
005: * - the GNU Lesser General Public License, v2.1 or later
006: * $Id: RegularBeanImpl.java 3697 2007-03-16 16:59:32Z gbevin $
007: */
008: package com.uwyn.rife.site;
009:
010: public class RegularBeanImpl {
011: public enum Color {
012: red, blue, green
013: }
014:
015: private String mHidden = null;
016: private String mAnotherhidden = null;
017: private String mLogin = null;
018: private String mAnotherlogin = null;
019: private String mPassword = null;
020: private String mAnotherpassword = null;
021: private String mComment = null;
022: private String mAnothercomment = null;
023: private String mQuestion = null;
024: private String mAnotherquestion = null;
025: private String mCustomquestion = null;
026: private String mAnothercustomquestion = null;
027: private int[] mOptions = null;
028: private int[] mOtheroptions = null;
029: private int[] mCustomoptions = null;
030: private int[] mOthercustomoptions = null;
031: private boolean mInvoice = false;
032: private boolean mOnemoreinvoice = false;
033: private Color[] mColors = null;
034: private String[] mMorecolors = null;
035: private String[] mYourcolors = null;
036:
037: public void setHidden(String hidden) {
038: mHidden = hidden;
039: }
040:
041: public String getHidden() {
042: return mHidden;
043: }
044:
045: public void setAnotherhidden(String anotherhidden) {
046: mAnotherhidden = anotherhidden;
047: }
048:
049: public String getAnotherhidden() {
050: return mAnotherhidden;
051: }
052:
053: public void setLogin(String login) {
054: mLogin = login;
055: }
056:
057: public String getLogin() {
058: return mLogin;
059: }
060:
061: public void setAnotherlogin(String anotherlogin) {
062: mAnotherlogin = anotherlogin;
063: }
064:
065: public String getAnotherlogin() {
066: return mAnotherlogin;
067: }
068:
069: public void setPassword(String password) {
070: mPassword = password;
071: }
072:
073: public String getPassword() {
074: return mPassword;
075: }
076:
077: public void setAnotherpassword(String anotherpassword) {
078: mAnotherpassword = anotherpassword;
079: }
080:
081: public String getAnotherpassword() {
082: return mAnotherpassword;
083: }
084:
085: public void setComment(String comment) {
086: mComment = comment;
087: }
088:
089: public String getComment() {
090: return mComment;
091: }
092:
093: public void setAnothercomment(String anothercomment) {
094: mAnothercomment = anothercomment;
095: }
096:
097: public String getAnothercomment() {
098: return mAnothercomment;
099: }
100:
101: public void setQuestion(String question) {
102: mQuestion = question;
103: }
104:
105: public String getQuestion() {
106: return mQuestion;
107: }
108:
109: public void setAnotherquestion(String anotherquestion) {
110: mAnotherquestion = anotherquestion;
111: }
112:
113: public String getAnotherquestion() {
114: return mAnotherquestion;
115: }
116:
117: public void setCustomquestion(String customquestion) {
118: mCustomquestion = customquestion;
119: }
120:
121: public String getCustomquestion() {
122: return mCustomquestion;
123: }
124:
125: public void setAnothercustomquestion(String anothercustomquestion) {
126: mAnothercustomquestion = anothercustomquestion;
127: }
128:
129: public String getAnothercustomquestion() {
130: return mAnothercustomquestion;
131: }
132:
133: public void setOptions(int[] options) {
134: mOptions = options;
135: }
136:
137: public int[] getOptions() {
138: return mOptions;
139: }
140:
141: public void setOtheroptions(int[] otheroptions) {
142: mOtheroptions = otheroptions;
143: }
144:
145: public int[] getOtheroptions() {
146: return mOtheroptions;
147: }
148:
149: public void setCustomoptions(int[] customoptions) {
150: mCustomoptions = customoptions;
151: }
152:
153: public int[] getCustomoptions() {
154: return mCustomoptions;
155: }
156:
157: public void setOthercustomoptions(int[] othercustomoptions) {
158: mOthercustomoptions = othercustomoptions;
159: }
160:
161: public int[] getOthercustomoptions() {
162: return mOthercustomoptions;
163: }
164:
165: public void setInvoice(boolean invoice) {
166: mInvoice = invoice;
167: }
168:
169: public boolean isInvoice() {
170: return mInvoice;
171: }
172:
173: public void setOnemoreinvoice(boolean onemoreinvoice) {
174: mOnemoreinvoice = onemoreinvoice;
175: }
176:
177: public boolean isOnemoreinvoice() {
178: return mOnemoreinvoice;
179: }
180:
181: public void setColors(Color[] colors) {
182: mColors = colors;
183: }
184:
185: public Color[] getColors() {
186: return mColors;
187: }
188:
189: public void setMorecolors(String[] morecolors) {
190: mMorecolors = morecolors;
191: }
192:
193: public String[] getMorecolors() {
194: return mMorecolors;
195: }
196:
197: public void setYourcolors(String[] yourcolors) {
198: mYourcolors = yourcolors;
199: }
200:
201: public String[] getYourcolors() {
202: return mYourcolors;
203: }
204: }
|