KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nextime > ion > frontoffice > bean > IonStatus


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.bean;
28
29 import org.nextime.ion.framework.business.Publication;
30 import org.nextime.ion.framework.business.Section;
31
32 public class IonStatus {
33     
34     private Section currentSection;
35     private Publication currentPublication;
36     private int currentVersion;
37     private boolean isStatic;
38     
39     public IonStatus() {
40     }
41     
42     public Section getCurrentSection() {
43         return currentSection;
44     }
45     
46     public void setCurrentSection( Section value ) {
47         currentSection = value;
48     }
49     /**
50      * Returns the currentPublication.
51      * @return Publication
52      */

53     public Publication getCurrentPublication() {
54         return currentPublication;
55     }
56
57     /**
58      * Sets the currentPublication.
59      * @param currentPublication The currentPublication to set
60      */

61     public void setCurrentPublication(Publication currentPublication) {
62         this.currentPublication = currentPublication;
63     }
64
65     /**
66      * Returns the isStatic.
67      * @return boolean
68      */

69     public boolean getIsStatic() {
70         return isStatic;
71     }
72
73     /**
74      * Sets the isStatic.
75      * @param isStatic The isStatic to set
76      */

77     public void setIsStatic(boolean isStatic) {
78         this.isStatic = isStatic;
79     }
80
81     /**
82      * Returns the currentVersion.
83      * @return int
84      */

85     public int getCurrentVersion() {
86         return currentVersion;
87     }
88
89     /**
90      * Sets the currentVersion.
91      * @param currentVersion The currentVersion to set
92      */

93     public void setCurrentVersion(int currentVersion) {
94         this.currentVersion = currentVersion;
95     }
96
97 }
98
99
Popular Tags