001: package org.objectweb.jonas.webapp.jonasadmin.jonasmqconnect;
002:
003: import java.util.ArrayList;
004:
005: import org.apache.struts.action.ActionForm;
006:
007: public class MdbEditForm extends ActionForm {
008: /**
009: * debug or not
010: */
011: private boolean debug = false;
012:
013: /**
014: * printe debug msg
015: * @param s msg
016: */
017: private void debug(String s) {
018: if (debug)
019: System.out.println(s);
020: }
021:
022: /**
023: * operation : view,edit,apply
024: */
025: private String operation;
026:
027: /**
028: * Selected queues
029: */
030: private String[] selectedQueues;
031:
032: /**
033: * Selected topics
034: */
035: private String[] selectedTopics;
036:
037: /**
038: * objectName
039: */
040: private String objectName;
041:
042: /**
043: * name
044: */
045: private String name;
046:
047: /**
048: * properties
049: */
050: private ArrayList properties;
051:
052: /**
053: * stat properties
054: */
055: private ArrayList statProperties;
056:
057: /**
058: * properties name
059: */
060: private ArrayList propertiesName;
061:
062: /**
063: * properties value
064: */
065: private ArrayList propertiesValue;
066:
067: /**
068: * isTopic
069: */
070: private boolean isTopic;
071:
072: /**
073: * get name
074: * @return
075: */
076: public String getName() {
077: return name;
078: }
079:
080: /**
081: * set name
082: * @param name
083: */
084: public void setName(String name) {
085: this .name = name;
086: }
087:
088: /**
089: * get objectName
090: * @return
091: */
092: public String getObjectName() {
093: return objectName;
094: }
095:
096: /**
097: * set objectName
098: * @param objectName
099: */
100: public void setObjectName(String objectName) {
101: this .objectName = objectName;
102: }
103:
104: /**
105: * add,modify,delete
106: * @return the operation
107: */
108: public String getOperation() {
109: return operation;
110: }
111:
112: /**
113: * add,modify,delete
114: * @param operation the operation to set
115: */
116: public void setOperation(String operation) {
117: this .operation = operation;
118: }
119:
120: /**
121: * Selected Queues
122: * @return the selected queues
123: */
124: public String[] getSelectedQueues() {
125: return selectedQueues;
126: }
127:
128: /**
129: * selected queues
130: * @param selectedQueues the selected queues to set
131: */
132: public void setSelectedQueues(String[] selectedQueues) {
133: this .selectedQueues = selectedQueues;
134: }
135:
136: /**
137: * Selected Topics
138: * @return the selected topics
139: */
140: public String[] getSelectedTopics() {
141: return selectedTopics;
142: }
143:
144: /**
145: * selected topics
146: * @param selectedTopics the selected topics to set
147: */
148: public void setSelectedTopics(String[] selectedTopics) {
149: this .selectedTopics = selectedTopics;
150: }
151:
152: /**
153: * @return the propertiesName
154: */
155: public ArrayList getPropertiesName() {
156: return propertiesName;
157: }
158:
159: /**
160: * @param propertiesName the propertiesName to set
161: */
162: public void setPropertiesName(ArrayList propertiesName) {
163: this .propertiesName = propertiesName;
164: }
165:
166: /**
167: * @return the propertiesValue
168: */
169: public ArrayList getPropertiesValue() {
170: return propertiesValue;
171: }
172:
173: /**
174: * @param propertiesValue the propertiesValue to set
175: */
176: public void setPropertiesValue(ArrayList propertiesValue) {
177: this .propertiesValue = propertiesValue;
178: }
179:
180: /**
181: * @return the properties
182: */
183: public ArrayList getProperties() {
184: return properties;
185: }
186:
187: /**
188: * @param statProperties the stat properties to set
189: */
190: public void setStatProperties(ArrayList statProperties) {
191: this .statProperties = statProperties;
192: }
193:
194: /**
195: * @return the stat properties
196: */
197: public ArrayList getStatProperties() {
198: return statProperties;
199: }
200:
201: /**
202: * @param properties the properties to set
203: */
204: public void setProperties(ArrayList properties) {
205: this .properties = properties;
206: }
207:
208: /**
209: * @return isTopic
210: */
211: public boolean getIsTopic() {
212: return isTopic;
213: }
214:
215: /**
216: * @param isTopic
217: */
218: public void setIsTopic(boolean isTopic) {
219: this.isTopic = isTopic;
220: }
221: }
|