View Javadoc
1   /******************************************************************************
2    * DatabaseConverterForm.java - Support form for automated database munging
3    * 
4    * PicMan - The BuckoSoft Picture Manager in Java
5    * Copyright(c) 2006 - Dick Balaska
6    * 
7    */
8   package com.buckosoft.PicMan.web;
9   
10  import java.util.List;
11  
12  import com.buckosoft.BSAccount.web.BSAccountUserWebSession;
13  import com.buckosoft.PicMan.domain.Root;
14  import com.buckosoft.PicMan.domain.System;
15  
16  /** Support form for automated database munging
17   * @author Dick Balaska
18   * @since 2006/09/29
19   */
20  public class DatabaseConverterForm {
21  
22  	private	System			system;
23  	private	BSAccountUserWebSession	userWebSession;
24  
25  	private	String		oldName;
26  	private	String		newName;
27  	private	String		message;
28  	
29  	private	List<Root>	roots;
30  
31  	public DatabaseConverterForm() {
32  	}
33  
34  	public	BSAccountUserWebSession	getUserWebSession() { return(userWebSession); }
35  	public	void		setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; }
36  
37  	public System		getSystem() { return(system); }
38  	public void			setSystem(System sys) { system = sys; }
39  
40  	/**
41  	 * @return the newName
42  	 */
43  	public String getNewName() {
44  		return newName;
45  	}
46  
47  	/**
48  	 * @param newName the newName to set
49  	 */
50  	public void setNewName(String newName) {
51  		this.newName = newName;
52  	}
53  
54  	/**
55  	 * @return the oldName
56  	 */
57  	public String getOldName() {
58  		return oldName;
59  	}
60  
61  	/**
62  	 * @param oldName the oldName to set
63  	 */
64  	public void setOldName(String oldName) {
65  		this.oldName = oldName;
66  	}
67  
68  	/**
69  	 * @return the roots
70  	 */
71  	public List<Root> getRoots() {
72  		return roots;
73  	}
74  
75  	/**
76  	 * @param roots the roots to set
77  	 */
78  	public void setRoots(List<Root> roots) {
79  		this.roots = roots;
80  	}
81  
82  	/**
83  	 * @return the message
84  	 */
85  	public String getMessage() {
86  		return message;
87  	}
88  
89  	/**
90  	 * @param message the message to set
91  	 */
92  	public void setMessage(String message) {
93  		this.message = message;
94  	}
95  
96  }