| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| DatabaseConverterForm |
|
| 1.0;1 |
| 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 | 0 | public DatabaseConverterForm() { |
| 32 | 0 | } |
| 33 | ||
| 34 | 0 | public BSAccountUserWebSession getUserWebSession() { return(userWebSession); } |
| 35 | 0 | public void setUserWebSession(BSAccountUserWebSession us) { userWebSession = us; } |
| 36 | ||
| 37 | 0 | public System getSystem() { return(system); } |
| 38 | 0 | public void setSystem(System sys) { system = sys; } |
| 39 | ||
| 40 | /** | |
| 41 | * @return the newName | |
| 42 | */ | |
| 43 | public String getNewName() { | |
| 44 | 0 | return newName; |
| 45 | } | |
| 46 | ||
| 47 | /** | |
| 48 | * @param newName the newName to set | |
| 49 | */ | |
| 50 | public void setNewName(String newName) { | |
| 51 | 0 | this.newName = newName; |
| 52 | 0 | } |
| 53 | ||
| 54 | /** | |
| 55 | * @return the oldName | |
| 56 | */ | |
| 57 | public String getOldName() { | |
| 58 | 0 | return oldName; |
| 59 | } | |
| 60 | ||
| 61 | /** | |
| 62 | * @param oldName the oldName to set | |
| 63 | */ | |
| 64 | public void setOldName(String oldName) { | |
| 65 | 0 | this.oldName = oldName; |
| 66 | 0 | } |
| 67 | ||
| 68 | /** | |
| 69 | * @return the roots | |
| 70 | */ | |
| 71 | public List<Root> getRoots() { | |
| 72 | 0 | return roots; |
| 73 | } | |
| 74 | ||
| 75 | /** | |
| 76 | * @param roots the roots to set | |
| 77 | */ | |
| 78 | public void setRoots(List<Root> roots) { | |
| 79 | 0 | this.roots = roots; |
| 80 | 0 | } |
| 81 | ||
| 82 | /** | |
| 83 | * @return the message | |
| 84 | */ | |
| 85 | public String getMessage() { | |
| 86 | 0 | return message; |
| 87 | } | |
| 88 | ||
| 89 | /** | |
| 90 | * @param message the message to set | |
| 91 | */ | |
| 92 | public void setMessage(String message) { | |
| 93 | 0 | this.message = message; |
| 94 | 0 | } |
| 95 | ||
| 96 | } |