KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jaspersoft > jasperserver > util > ExportImportBean


1 /*
2  * Copyright (C) 2006 JasperSoft http://www.jaspersoft.com
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed WITHOUT ANY WARRANTY; and without the
10  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  * See the GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
15  * or write to:
16  *
17  * Free Software Foundation, Inc.,
18  * 59 Temple Place - Suite 330,
19  * Boston, MA USA 02111-1307
20  */

21 package com.jaspersoft.jasperserver.util;
22
23 /**
24  * @author tkavanagh
25  * @version $Id: ExportImportBean.java 4654 2006-09-22 09:33:18Z lucian $
26  */

27
28 /**
29  * This is the top level bean object used in the export and import of metadata
30  * from the JI repository.
31  */

32 public class ExportImportBean {
33
34     
35     /**
36      * The product version.
37      */

38     private String JavaDoc version;
39     private ResourceBean resource;
40     private UserRoleHolderBean userRoleHolder;
41     private ReportJobBean[] reportJobs;
42     
43     public ResourceBean getResource() {
44         return resource;
45     }
46     
47     public void setResource(ResourceBean resource) {
48         this.resource = resource;
49     }
50     
51     public UserRoleHolderBean getUserRoleHolder() {
52         return userRoleHolder;
53     }
54     
55     public void setUserRoleHolder(UserRoleHolderBean userRoleHolder) {
56         this.userRoleHolder = userRoleHolder;
57     }
58
59     public ReportJobBean[] getReportJobs() {
60         return reportJobs;
61     }
62
63     public void setReportJobs(ReportJobBean[] reportJobs) {
64         this.reportJobs = reportJobs;
65     }
66
67     
68     /**
69      * Returns the version of the product used to create this bean.
70      *
71      * @return the product version
72      */

73     public String JavaDoc getVersion() {
74         return version;
75     }
76
77     
78     /**
79      * Sets the version of the product used to create this bean.
80      *
81      * @param version the product version
82      */

83     public void setVersion(String JavaDoc version) {
84         this.version = version;
85     }
86
87
88     
89 }
90
Popular Tags