KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > operations > PageState


1 package org.jahia.operations;
2
3 /**
4  * Created by IntelliJ IDEA.
5  * User: Rincevent
6  * Date: 6 janv. 2006
7  * Time: 18:06:46
8  * To change this template use File | Settings | File Templates.
9  */

10 public class PageState {
11         boolean isCacheable;
12         boolean isBeingGenerated;
13         Object JavaDoc key;
14
15         public PageState(boolean cacheable, boolean beingGenerated, Object JavaDoc aKey) {
16             isCacheable = cacheable;
17             isBeingGenerated = beingGenerated;
18             this.key = aKey;
19         }
20
21         public boolean isCacheable() {
22             return isCacheable;
23         }
24
25         public boolean isBeingGenerated() {
26             return isBeingGenerated;
27         }
28         
29         public Object JavaDoc getKey() {
30             return key;
31         }
32
33         public void setKey(String JavaDoc aKey) {
34             this.key = aKey;
35         }
36     }
Popular Tags