001: /*
002: * SalomeTMF is a Test Management Framework
003: * Copyright (C) 2005 France Telecom R&D
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
018: *
019: * @author Aurore PENAULT
020: *
021: * Contact: mikael.marche@rd.francetelecom.com
022: */
023:
024: package salomeTMF_plug.gen_doc_xml;
025:
026: import java.util.Date;
027:
028: /**
029: * Classe qui permet la sauvegarde des éléments
030: * du formulaire pour la création de la page de garde
031: * @author vapu8214
032: */
033: public class FormSave {
034: /**
035: * Emplacement du fichier contenant le logo
036: */
037: private String logo;
038:
039: /**
040: * Nom et adresse éventuelle de l'entreprise
041: */
042: private String entreprise;
043:
044: /**
045: * Auteur du document
046: */
047: private String auteur;
048:
049: /**
050: * Email de l'auteur du document
051: */
052: private String email;
053:
054: /**
055: * Titre du document
056: */
057: private String titre;
058:
059: /**
060: * Version du document
061: */
062: private String version;
063:
064: /**
065: * Date
066: */
067: private Date date;
068:
069: /**
070: * Informations complémentaires
071: */
072: private String infos;
073:
074: /** Creates a new instance of FormSave */
075: public FormSave(String logo, String entreprise, String auteur,
076: String email, String titre, String version, Date date,
077: String infos) {
078: this .logo = logo;
079: this .entreprise = entreprise;
080: this .auteur = auteur;
081: this .email = email;
082: this .titre = titre;
083: this .version = version;
084: this .date = date;
085: this .infos = infos;
086: }
087:
088: /**
089: * Getter for property logo.
090: * @return Value of property logo.
091: */
092: public java.lang.String getLogo() {
093: return logo;
094: }
095:
096: /**
097: * Setter for property logo.
098: * @param logo New value of property logo.
099: */
100: public void setLogo(java.lang.String logo) {
101: this .logo = logo;
102: }
103:
104: /**
105: * Getter for property entreprise.
106: * @return Value of property entreprise.
107: */
108: public java.lang.String getEntreprise() {
109: return entreprise;
110: }
111:
112: /**
113: * Setter for property entreprise.
114: * @param entreprise New value of property entreprise.
115: */
116: public void setEntreprise(java.lang.String entreprise) {
117: this .entreprise = entreprise;
118: }
119:
120: /**
121: * Getter for property auteur.
122: * @return Value of property auteur.
123: */
124: public java.lang.String getAuteur() {
125: return auteur;
126: }
127:
128: /**
129: * Setter for property auteur.
130: * @param auteur New value of property auteur.
131: */
132: public void setAuteur(java.lang.String auteur) {
133: this .auteur = auteur;
134: }
135:
136: /**
137: * Getter for property titre.
138: * @return Value of property titre.
139: */
140: public java.lang.String getTitre() {
141: return titre;
142: }
143:
144: /**
145: * Setter for property titre.
146: * @param titre New value of property titre.
147: */
148: public void setTitre(java.lang.String titre) {
149: this .titre = titre;
150: }
151:
152: /**
153: * Getter for property version.
154: * @return Value of property version.
155: */
156: public java.lang.String getVersion() {
157: return version;
158: }
159:
160: /**
161: * Setter for property version.
162: * @param version New value of property version.
163: */
164: public void setVersion(java.lang.String version) {
165: this .version = version;
166: }
167:
168: /**
169: * Getter for property infos.
170: * @return Value of property infos.
171: */
172: public java.lang.String getInfos() {
173: return infos;
174: }
175:
176: /**
177: * Setter for property infos.
178: * @param infos New value of property infos.
179: */
180: public void setInfos(java.lang.String infos) {
181: this .infos = infos;
182: }
183:
184: /**
185: * Getter for property date.
186: * @return Value of property date.
187: */
188: public java.util.Date getDate() {
189: return date;
190: }
191:
192: /**
193: * Setter for property date.
194: * @param date New value of property date.
195: */
196: public void setDate(java.util.Date date) {
197: this .date = date;
198: }
199:
200: /**
201: * Getter for property email.
202: * @return Value of property email.
203: */
204: public java.lang.String getEmail() {
205: return email;
206: }
207:
208: /**
209: * Setter for property email.
210: * @param email New value of property email.
211: */
212: public void setEmail(java.lang.String email) {
213: this.email = email;
214: }
215:
216: }
|