1 package org.nextime.ion.admin.form; 2 3 import org.apache.struts.action.*; 4 import java.util.*; 5 6 public class UserForm extends ActionForm { 7 8 private String _login; 9 private String _password; 10 private String [] _groupsId; 11 12 public String getLogin() { 13 return _login; 14 } 15 16 public String getPassword() { 17 return _password; 18 } 19 20 public void setLogin( String value ) { 21 _login = value.trim(); 22 } 23 24 public void setPassword( String value ) { 25 _password = value; 26 } 27 28 public String [] getGroups() { 29 return _groupsId; 30 } 31 32 public void setGroups( String [] value ) { 33 _groupsId = value; 34 } 35 36 public void reset() { 37 _login = null; 38 _password = null; 39 _groupsId = new String [0]; 40 } 41 42 } 43 44 | Popular Tags |