KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nextime > ion > frontoffice > objectSelector > PublicationResult


1 /*
2  * ĻON content management system.
3  * Copyright (C) 2002 Guillaume Bort(gbort@msn.com). All rights reserved.
4  *
5  * Copyright (c) 2000 The Apache Software Foundation. All rights reserved.
6  * Copyright 2000-2002 (C) Intalio Inc. All Rights Reserved.
7  *
8  * ĻON is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * ĻON core framework, ĻON content server, ĻON backoffice, ĻON frontoffice
14  * and ĻON admin application are parts of ĻON and are distributed under
15  * same terms of licence.
16  *
17  *
18  * ĻON includes software developed by the Apache Software Foundation (http://www.apache.org/)
19  * and software developed by the Exolab Project (http://www.exolab.org).
20  *
21  * ĻON is distributed in the hope that it will be useful,
22  * but WITHOUT ANY WARRANTY; without even the implied warranty of
23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24  * GNU General Public License for more details.
25  */

26
27 package org.nextime.ion.frontoffice.objectSelector;
28
29 import org.nextime.ion.framework.business.Publication;
30
31 public class PublicationResult {
32     
33     protected String JavaDoc view;
34     protected Publication publication;
35     protected int version;
36
37     /**
38      * Returns the publication.
39      * @return Publication
40      */

41     public Publication getPublication() {
42         return publication;
43     }
44
45     /**
46      * Returns the version.
47      * @return int
48      */

49     public int getVersion() {
50         return version;
51     }
52
53     /**
54      * Returns the view.
55      * @return String
56      */

57     public String JavaDoc getView() {
58         return view;
59     }
60
61     /**
62      * Sets the publication.
63      * @param publication The publication to set
64      */

65     public void setPublication(Publication publication) {
66         this.publication = publication;
67     }
68
69     /**
70      * Sets the version.
71      * @param version The version to set
72      */

73     public void setVersion(int version) {
74         this.version = version;
75     }
76
77     /**
78      * Sets the view.
79      * @param view The view to set
80      */

81     public void setView(String JavaDoc view) {
82         this.view = view;
83     }
84
85 }
86
87
Popular Tags