KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > Raptor > model > raptor_settings


1 /*******************************************************************************
2  * Copyright (c) 2004, Dirk von der Weiden.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution.
6  *
7  * Contributors:
8  * Dirk von der Weiden - initial API and implementation
9  *
10  * Created on 04.04.2004
11  *
12  * date: 04.04.2004
13  * project: WiSer Builder
14  *
15  *******************************************************************************/

16
17 package Raptor.model;
18
19 import Jmc.baseTools.*;
20 import Jmc.baseGui.*;
21 import Jmc.connector.*;
22 import Jmc.commonGui.*;
23
24 import java.util.*;
25
26 /**
27  * @author Dirk
28  *
29  * date: 02.12.2003
30  * project: WiSer-Builder
31  *
32  * <p>
33  * ...
34  * </p>
35  */

36 public class raptor_settings
37 {
38   private String JavaDoc pem_iePath = null;
39   private String JavaDoc pem_tmpPath = null;
40   private Vector pem_tplKits = new Vector ();
41   private String JavaDoc pem_actTplKit = null;
42   private String JavaDoc pem_actTplKitPar = null;
43  
44   private String JavaDoc pem_pluginDefFile = null;
45   private String JavaDoc pem_actPlugin = null;
46   private Vector pem_allPlugins = null;
47   
48   private String JavaDoc pem_tapp_root = null;
49   private String JavaDoc pem_tapp_command = null;
50   private String JavaDoc pem_tapp_url = null;
51   private String JavaDoc pem_tapp_copy = null;
52   private String JavaDoc pem_tapp_target = null;
53     private boolean pem_doRestore = true;
54
55   public void pcmf_newPlugin() throws Exception JavaDoc
56   {
57     base_dialog_if l_br = (base_dialog_if)base_registredObject.pcmf_getObjByName("NewPlConfig_dlg");
58     String JavaDoc l_name = (String JavaDoc)((base_guiObj)base_registredObject.pcmf_getObjByName("NewPlName")).pcmf_getValue();
59     
60     if (l_name != null)
61     {
62       if (base_environment.pcmf_getParameter(pem_pluginDefFile, "plugins", l_name) != null)
63       {
64         ((base_optionDlg_if)base_registredObject.pcmf_getObjByName("optDlg")).pcmf_showAlert("Can not create an existing plugin");
65         return;
66       }
67       ((base_guiObj)base_registredObject.pcmf_getObjByName("plSwClass")).pcmf_setValue("");
68       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlClass")).pcmf_setValue("");
69       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlTpl")).pcmf_setValue("");
70       ((base_guiObj)base_registredObject.pcmf_getObjByName("plXml")).pcmf_setValue("");
71       ((base_guiObj)base_registredObject.pcmf_getObjByName("plStaticXml")).pcmf_setValue("");
72       ((base_guiObj)base_registredObject.pcmf_getObjByName("plInitClass")).pcmf_setValue("");
73       ((base_guiObj)base_registredObject.pcmf_getObjByName("plRootDir")).pcmf_setValue("");
74       
75       this.pem_actPlugin = l_name;
76       this.pem_allPlugins.add(l_name);
77       base_environment.pcmf_setParameter(this.pem_pluginDefFile,"plugins", this.pem_actPlugin, this.pem_actPlugin+"_def");
78       ((base_comboBox_if)base_registredObject.pcmf_getObjByName("plAll")).pcmf_addValue(l_name, l_name);
79       
80       this.pcmf_savePlDetail();
81     }
82         
83     l_br.pcmf_hideDialog();
84     
85   }
86
87   public void pcmf_readPluginDef()
88   {
89     pem_allPlugins = new Vector ();
90     ((base_guiObj)base_registredObject.pcmf_getObjByName("plDefFile")).pcmf_setValue("");
91     ((base_comboBox_if)base_registredObject.pcmf_getObjByName("plAll")).pcmf_clearComboBox();
92     try
93     {
94       pem_pluginDefFile = (String JavaDoc)base_environment.pcmf_getParameter(pem_actTplKitPar, "settings", "pluginDefFile");
95       ((base_guiObj)base_registredObject.pcmf_getObjByName("plDefFile")).pcmf_setValue(this.pem_pluginDefFile);
96       if (pem_pluginDefFile != null)
97       {
98         Iterator l_it = base_environment.pcmf_getParameterKeys(pem_pluginDefFile, "plugins");
99         String JavaDoc l_pl = null;
100         while (l_it.hasNext())
101         {
102           l_pl = (String JavaDoc)l_it.next();
103           pem_allPlugins.add(l_pl);
104           ((base_comboBox_if)base_registredObject.pcmf_getObjByName("plAll")).pcmf_addValue(l_pl, l_pl);
105         }
106         if (pem_allPlugins.size() != 0)
107           this.pem_actPlugin = pem_allPlugins.firstElement().toString();
108         else
109           throw (new Exception JavaDoc ());
110       }
111       else
112         throw (new Exception JavaDoc ());
113     }
114     catch (Exception JavaDoc e)
115     {
116       base_log.pcmf_log("WiSer-Builder/start", "no plugins found", this, base_log.MESSAGE);
117     }
118   }
119
120   public void pcmf_showPlDetail()
121   {
122     try
123     {
124       ((base_guiObj)base_registredObject.pcmf_getObjByName("plSwClass")).pcmf_setValue("");
125       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlClass")).pcmf_setValue("");
126       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlTpl")).pcmf_setValue("");
127       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlView")).pcmf_setValue("");
128       ((base_guiObj)base_registredObject.pcmf_getObjByName("plXml")).pcmf_setValue("");
129       ((base_guiObj)base_registredObject.pcmf_getObjByName("plStaticXml")).pcmf_setValue("");
130       ((base_guiObj)base_registredObject.pcmf_getObjByName("plRootDir")).pcmf_setValue("");
131       ((base_guiObj)base_registredObject.pcmf_getObjByName("plInitClass")).pcmf_setValue("");
132
133       String JavaDoc pl_block = (String JavaDoc)base_environment.pcmf_getParameter(this.pem_pluginDefFile,"plugins", this.pem_actPlugin);
134       ((base_guiObj)base_registredObject.pcmf_getObjByName("plSwClass")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "swingClass", ""));
135       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlClass")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "htmlClass", ""));
136       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlTpl")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "htmlTemplate", ""));
137       ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlView")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "htmlRenderer", ""));
138       ((base_guiObj)base_registredObject.pcmf_getObjByName("plXml")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "xmlConf", ""));
139       ((base_guiObj)base_registredObject.pcmf_getObjByName("plStaticXml")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "staticXmlConf", ""));
140       ((base_guiObj)base_registredObject.pcmf_getObjByName("plRootDir")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "rootDir", ""));
141       ((base_guiObj)base_registredObject.pcmf_getObjByName("plInitClass")).pcmf_setValue(base_environment.pcmf_getParameter(pem_pluginDefFile, pl_block, "initClass", ""));
142       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable")).pcmf_repaint();
143       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable2")).pcmf_repaint();
144     }
145     catch (Exception JavaDoc e)
146     {
147       base_log.pcmf_log("raptor", "error reading plugin details", this, base_log.ERROR);
148     }
149   }
150
151   public void pcmf_savePlDetail()
152   {
153     try
154     {
155       String JavaDoc pl_block = (String JavaDoc)base_environment.pcmf_getParameter(this.pem_pluginDefFile,"plugins", this.pem_actPlugin);
156       base_environment.pcmf_addParameterCluster(pem_pluginDefFile, pl_block);
157       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "swingClass", ((base_guiObj)base_registredObject.pcmf_getObjByName("plSwClass")).pcmf_getValue());
158       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "htmlClass", ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlClass")).pcmf_getValue());
159       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "htmlTemplate", ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlTpl")).pcmf_getValue());
160       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "htmlRenderer", ((base_guiObj)base_registredObject.pcmf_getObjByName("plHtmlView")).pcmf_getValue());
161       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "xmlConf", ((base_guiObj)base_registredObject.pcmf_getObjByName("plXml")).pcmf_getValue());
162       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "rootDir", ((base_guiObj)base_registredObject.pcmf_getObjByName("plRootDir")).pcmf_getValue());
163       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "staticXmlConf", ((base_guiObj)base_registredObject.pcmf_getObjByName("plStaticXml")).pcmf_getValue());
164       base_environment.pcmf_setParameter(pem_pluginDefFile, pl_block, "initClass", ((base_guiObj)base_registredObject.pcmf_getObjByName("plInitClass")).pcmf_getValue());
165
166       this.pem_writer.pcmf_writeSource(base_environment.pcmf_getParameterGetter(), this.pem_pluginDefFile, this.pem_pluginDefFile);
167       
168       ((base_guiObj)base_registredObject.pcmf_getObjByName("plTable")).pcmf_repaint();
169     }
170     catch (Exception JavaDoc e)
171     {
172       base_log.pcmf_log("raptor", "error writing plugin details", this, base_log.ERROR);
173     }
174   }
175
176   private xml_parameterWriter pem_writer = new xml_parameterWriter();
177     /**
178      *
179      */

180     public raptor_settings()
181     {
182     this.pcmf_loadSettings();
183     }
184
185   public void pcmf_loadSettings()
186   {
187     try
188     {
189       this.pem_iePath = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "paths", "viewer_path");
190       this.pem_tmpPath = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "paths", "tmp_path");
191       this.pem_tmpPath = base_environment.pcmf_buildPath(this.pem_tmpPath);
192
193       this.pem_tapp_root = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "TEST_APP", "TAPP_ROOT");
194       this.pem_tapp_target = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "TEST_APP", "TAPP_TARGET");
195       this.pem_tapp_command = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "TEST_APP", "TAPP_COMMAND");
196       this.pem_tapp_url = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "TEST_APP", "TAPP_URL");
197       this.pem_tapp_copy = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", "TEST_APP", "TAPP_COPY");
198       this.pem_doRestore = base_environment.pcmf_getParameter("environment.xml", "DESKTOP", "RESTORE").toString().equals("true")?true:false;
199
200       Iterator l_it = base_environment.pcmf_getParameterKeys("environment.xml", "templateKitMap");
201       while (l_it.hasNext())
202         this.pem_tplKits.add(l_it.next());
203
204       this.pem_actTplKit = this.pem_tplKits.get(0).toString();
205       this.pem_actTplKitPar = (String JavaDoc)base_environment.pcmf_getParameter("environment.xml", pem_actTplKit, "FACTORY_DEF");
206     }
207     catch (Exception JavaDoc e)
208     {
209       base_log.pcmf_log("WiSer-Builder/start", "error reading parameters", this, base_log.ERROR);
210     }
211   }
212
213   public void pcmf_writeSettings()
214   {
215     try
216     {
217       base_environment.pcmf_setParameter("environment.xml", "paths", "viewer_path", this.pem_iePath);
218       base_environment.pcmf_setParameter("environment.xml", "paths", "tmp_path", this.pem_tmpPath);
219       
220       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "FACTORY_DEF", this.pem_actTplKitPar);
221       base_environment.pcmf_setParameter("environment.xml", "DESKTOP", "RESTORE", ((base_guiObj)base_registredObject.pcmf_getObjByName("restoreDesktop")).pcmf_getValue().equals(base_checkBox_if.CHECKED)?"true":"false");
222
223       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "SUBMIT", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_SUBMIT")).pcmf_getValue());
224       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "SUBMIT_T", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_SUBMIT_T")).pcmf_getValue());
225       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "TOOLTIP", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_TOOLTIP")).pcmf_getValue());
226       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "COLORS", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_COLORS")).pcmf_getValue());
227       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "POSITION", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_POSITION")).pcmf_getValue());
228       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "DPOSITION", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_DPOSITION")).pcmf_getValue());
229       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "DLPOSITION", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_DLPOSITION")).pcmf_getValue());
230       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CHANNEL_DRAG", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CHANNEL_DRAG")).pcmf_getValue());
231       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CHANNEL_DROP", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CHANNEL_DROP")).pcmf_getValue());
232       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CHANNEL_GF", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CHANNEL_GF")).pcmf_getValue());
233       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CHANNEL_LF", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CHANNEL_LF")).pcmf_getValue());
234       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CHANNEL_CLK", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CHANNEL_CLK")).pcmf_getValue());
235       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "CTXMENU", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_CTXMENU")).pcmf_getValue());
236       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "FONT", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_FONT")).pcmf_getValue());
237       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "FOCUS", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_FOCUS")).pcmf_getValue());
238       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "BGIMG", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_BGIMG")).pcmf_getValue());
239       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "BORDER", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_BORDER")).pcmf_getValue());
240       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "FSIZE", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_FSIZE")).pcmf_getValue());
241
242       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "WRAP", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_WRAP")).pcmf_getValue());
243       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "WRAPCOM", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_WRAPCOM")).pcmf_getValue());
244       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "COMFRAME", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_COMFRAME")).pcmf_getValue());
245       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "INSERTOL", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_INSERTOL")).pcmf_getValue());
246       base_environment.pcmf_setParameter("environment.xml", pem_actTplKit, "COMFRAMEFR", ((base_guiObj)base_registredObject.pcmf_getObjByName("TPL_COMFRAMEFR")).pcmf_getValue());
247
248       base_environment.pcmf_setParameter("environment.xml", "TEST_APP", "TAPP_ROOT", ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_ROOT")).pcmf_getValue());
249       base_environment.pcmf_setParameter("environment.xml", "TEST_APP", "TAPP_TARGET", ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_TARGET")).pcmf_getValue());
250       base_environment.pcmf_setParameter("environment.xml", "TEST_APP", "TAPP_COMMAND", ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_COMMAND")).pcmf_getValue());
251       base_environment.pcmf_setParameter("environment.xml", "TEST_APP", "TAPP_URL", ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_URL")).pcmf_getValue());
252       base_environment.pcmf_setParameter("environment.xml", "TEST_APP", "TAPP_COPY", ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_COPY")).pcmf_getValue());
253
254       this.pem_tapp_root = ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_ROOT")).pcmf_getValue().toString();
255       this.pem_tapp_target = ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_TARGET")).pcmf_getValue().toString();
256       this.pem_tapp_command = ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_COMMAND")).pcmf_getValue().toString();
257       this.pem_tapp_url = ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_URL")).pcmf_getValue().toString();
258       this.pem_tapp_copy = ((base_guiObj)base_registredObject.pcmf_getObjByName("TAPP_COPY")).pcmf_getValue().toString();
259       this.pem_doRestore = ((base_guiObj)base_registredObject.pcmf_getObjByName("restoreDesktop")).pcmf_getValue().toString().equals(base_checkBox_if.CHECKED)?true:false;
260
261       this.pem_writer.pcmf_writeSource(base_environment.pcmf_getParameterGetter(), "environment.xml", "environment.xml");
262     }
263     catch (Exception JavaDoc e)
264     {
265       base_log.pcmf_log("WiSer-Builder/start", "error writing parameters", this, base_log.ERROR);
266     }
267   }
268     /**
269          * <p>
270          * Does...
271          * </p><p>
272          *
273          * @return a Type with
274          * </p><p>
275          * @param
276          * </p>
277          */

278     public String JavaDoc getPem_iePath()
279     {
280         return pem_iePath;
281     }
282
283     /**
284          * <p>
285          * Does...
286          * </p><p>
287          *
288          * @return a Type with
289          * </p><p>
290          * @param
291          * </p>
292          */

293     public String JavaDoc getPem_tmpPath()
294     {
295         return pem_tmpPath;
296     }
297
298     /**
299          * <p>
300          * Does...
301          * </p><p>
302          *
303          * @return a Type with
304          * </p><p>
305          * @param
306          * </p>
307          */

308     public void setPem_iePath(String JavaDoc string)
309     {
310         pem_iePath = string;
311     }
312
313     /**
314          * <p>
315          * Does...
316          * </p><p>
317          *
318          * @return a Type with
319          * </p><p>
320          * @param
321          * </p>
322          */

323     public void setPem_tmpPath(String JavaDoc string)
324     {
325         pem_tmpPath = string;
326     }
327
328     /**
329          * <p>
330          * Does...
331          * </p><p>
332          *
333          * @return a Type with
334          * </p><p>
335          * @param
336          * </p>
337          */

338     public String JavaDoc getPem_actTplKit()
339     {
340         return pem_actTplKit;
341     }
342
343     /**
344          * <p>
345          * Does...
346          * </p><p>
347          *
348          * @return a Type with
349          * </p><p>
350          * @param
351          * </p>
352          */

353     public String JavaDoc getPem_actTplKitPar()
354     {
355         return pem_actTplKitPar;
356     }
357
358     /**
359          * <p>
360          * Does...
361          * </p><p>
362          *
363          * @return a Type with
364          * </p><p>
365          * @param
366          * </p>
367          */

368     public Vector getPem_tplKits()
369     {
370         return pem_tplKits;
371     }
372
373   /**
374      * <p>
375      * Does...
376      * </p><p>
377      *
378      * @return a Type with
379      * </p><p>
380      * @param
381      * </p>
382      */

383   public void setPem_actTplKit(String JavaDoc string)
384   {
385     pem_actTplKit = string;
386   }
387
388   /**
389      * <p>
390      * Does...
391      * </p><p>
392      *
393      * @return a Type with
394      * </p><p>
395      * @param
396      * </p>
397      */

398   public void setPem_actTplKitPar(String JavaDoc string)
399   {
400     pem_actTplKitPar = string;
401   }
402
403     /**
404          * <p>
405          * Does...
406          * </p><p>
407          *
408          * @return a Type with
409          * </p><p>
410          * @param
411          * </p>
412          */

413     public xml_parameterWriter getPem_writer()
414     {
415         return pem_writer;
416     }
417
418     /**
419          * <p>
420          * Does...
421          * </p><p>
422          *
423          * @return a Type with
424          * </p><p>
425          * @param
426          * </p>
427          */

428     public void setPem_actPlugin(String JavaDoc string)
429     {
430         pem_actPlugin = string;
431     }
432   
433     /**
434          * <p>
435          * Does...
436          * </p><p>
437          *
438          * @return a Type with
439          * </p><p>
440          * @param
441          * </p>
442          */

443     public String JavaDoc getPem_tapp_command()
444     {
445         return pem_tapp_command;
446     }
447
448     /**
449          * <p>
450          * Does...
451          * </p><p>
452          *
453          * @return a Type with
454          * </p><p>
455          * @param
456          * </p>
457          */

458     public String JavaDoc getPem_tapp_copy()
459     {
460         return pem_tapp_copy;
461     }
462
463     /**
464          * <p>
465          * Does...
466          * </p><p>
467          *
468          * @return a Type with
469          * </p><p>
470          * @param
471          * </p>
472          */

473     public String JavaDoc getPem_tapp_root()
474     {
475         return pem_tapp_root;
476     }
477
478     /**
479          * <p>
480          * Does...
481          * </p><p>
482          *
483          * @return a Type with
484          * </p><p>
485          * @param
486          * </p>
487          */

488     public String JavaDoc getPem_tapp_target()
489     {
490         return pem_tapp_target;
491     }
492
493     /**
494          * <p>
495          * Does...
496          * </p><p>
497          *
498          * @return a Type with
499          * </p><p>
500          * @param
501          * </p>
502          */

503     public String JavaDoc getPem_tapp_url()
504     {
505         return pem_tapp_url;
506     }
507
508     /**
509          * <p>
510          * Does...
511          * </p><p>
512          *
513          * @return a Type with
514          * </p><p>
515          * @param
516          * </p>
517          */

518     public void setPem_tapp_command(String JavaDoc string)
519     {
520         pem_tapp_command = string;
521     }
522
523     /**
524          * <p>
525          * Does...
526          * </p><p>
527          *
528          * @return a Type with
529          * </p><p>
530          * @param
531          * </p>
532          */

533     public void setPem_tapp_copy(String JavaDoc string)
534     {
535         pem_tapp_copy = string;
536     }
537
538     /**
539          * <p>
540          * Does...
541          * </p><p>
542          *
543          * @return a Type with
544          * </p><p>
545          * @param
546          * </p>
547          */

548     public void setPem_tapp_root(String JavaDoc string)
549     {
550         pem_tapp_root = string;
551     }
552
553     /**
554          * <p>
555          * Does...
556          * </p><p>
557          *
558          * @return a Type with
559          * </p><p>
560          * @param
561          * </p>
562          */

563     public void setPem_tapp_target(String JavaDoc string)
564     {
565         pem_tapp_target = string;
566     }
567
568     /**
569          * <p>
570          * Does...
571          * </p><p>
572          *
573          * @return a Type with
574          * </p><p>
575          * @param
576          * </p>
577          */

578     public void setPem_tapp_url(String JavaDoc string)
579     {
580         pem_tapp_url = string;
581     }
582
583     /**
584      * @return Returns the pem_doRestore.
585      */

586     public boolean isPem_doRestore()
587     {
588         return pem_doRestore;
589     }
590
591     /**
592      * @param pem_doRestore The pem_doRestore to set.
593      */

594     public void setPem_doRestore(boolean pem_doRestore)
595     {
596         this.pem_doRestore = pem_doRestore;
597     }
598 }
Popular Tags