KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > content > ContentObjectEntryInfo


1 //
2
// ____.
3
// __/\ ______| |__/\. _______
4
// __ .____| | \ | +----+ \
5
// _______| /--| | | - \ _ | : - \_________
6
// \\______: :---| : : | : | \________>
7
// |__\---\_____________:______: :____|____:_____\
8
// /_____|
9
//
10
// . . . i n j a h i a w e t r u s t . . .
11
//
12

13 package org.jahia.content;
14
15 import org.jahia.services.version.ContentObjectEntryState;
16
17 /**
18  *
19  * <p>Title: A wrapper containing a Content object and a content entryState</p>
20  * <p>Description: </p>
21  * <p>Copyright: Copyright (c) 2002</p>
22  * <p>Company: </p>
23  * @author Khue Nguyen
24  * @version 1.0
25  */

26 public class ContentObjectEntryInfo
27 {
28     private ContentObject contentObject;
29     private ContentObjectEntryState entryState;
30
31     public ContentObjectEntryInfo (ContentObject contentObject, ContentObjectEntryState entryState)
32     {
33         this.contentObject = contentObject;
34         this.entryState = entryState;
35     }
36
37     public ContentObjectEntryState getEntryState(){
38         return this.entryState;
39     }
40
41     public ContentObject getContentObject(){
42         return this.contentObject;
43     }
44 }
Popular Tags