Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/acs/damsel/client/config/ConfigServerForm.java


1   package org.acs.damsel.client.config;
2   
3   import org.apache.struts.action.*;
4   import javax.servlet.http.*;
5   import org.apache.struts.upload.*;
6   
7   public class ConfigServerForm extends ActionForm {
8     private String dbName;
9     private String ipAddress;
10    private String password;
11    private String userName;
12    private String registration = "admin";
13    public String getDbName() {
14      return dbName;
15    }
16    public void setDbName(String dbName) {
17      this.dbName = dbName;
18    }
19    public String getIpAddress() {
20      return ipAddress;
21    }
22    public void setIpAddress(String ipAddress) {
23      this.ipAddress = ipAddress;
24    }
25    public String getPassword() {
26      return password;
27    }
28    public void setPassword(String password) {
29      this.password = password;
30    }
31    public String getUserName() {
32      return userName;
33    }
34    public void setUserName(String userName) {
35      this.userName = userName;
36    }
37    public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
38      /**@todo: finish this method, this is just the skeleton.*/
39      return null;
40    }
41    public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
42    }
43    public String getRegistration() {
44      return registration;
45    }
46    public void setRegistration(String registration) {
47      this.registration = registration;
48    }
49  }