CatalinaValveForm.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * --------------------------------------------------------------------------
00022  * $Id: CatalinaValveForm.java,v 1.3 2004/03/19 14:31:48 sauthieg Exp $
00023  * --------------------------------------------------------------------------
00024  */
00025 
00026 package org.objectweb.jonas.webapp.jonasadmin.logging;
00027 
00028 import javax.servlet.http.HttpServletRequest;
00029 
00030 import org.apache.struts.action.ActionForm;
00031 import org.apache.struts.action.ActionMapping;
00032 
00037 public class CatalinaValveForm extends ActionForm {
00038 
00039 // ----------------------------------------------------- Properties Variables
00040 
00041     private String action = "edit";
00042     private boolean save = false;
00043     private String objectName = null;
00044     private String valveName = null;
00045     private String valveType = null;
00046 
00047 // --------------------------------------------------------- Public Methods
00048 
00049     public void reset(ActionMapping mapping, HttpServletRequest request) {
00050         action = "edit";
00051         save = false;
00052     }
00053 
00054 // ------------------------------------------------------------- Properties Methods
00055 
00056     public String getAction() {
00057         return action;
00058     }
00059 
00060     public void setAction(String action) {
00061         this.action = action;
00062     }
00063 
00064     public String getObjectName() {
00065         return this.objectName;
00066     }
00067 
00068     public void setObjectName(String objectName) {
00069         this.objectName = objectName;
00070     }
00071 
00072     public String getValveType() {
00073         return this.valveType;
00074     }
00075 
00076     public void setValveType(String valveType) {
00077         this.valveType = valveType;
00078     }
00079 
00080     public boolean isSave() {
00081         return save;
00082     }
00083 
00084     public void setSave(boolean save) {
00085         this.save = save;
00086     }
00087 
00088 }

Generated on Tue Feb 15 15:05:28 2005 for JOnAS by  doxygen 1.3.9.1