KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > shares > AppShare


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
//
14
// AppShare
15
//
16
// NK 31.04.2001
17
//
18
//
19

20 package org.jahia.services.shares;
21
22
23 /**
24  * Class AppShare.<br>
25  *
26  * @author Khue ng
27  * @version 1.0
28  */

29 public class AppShare {
30
31     /** the app id * */
32     private int mAppID = -1;
33
34     /** the site id * */
35     private int mSiteID = -1;
36
37     /**
38      * Constructor
39      */

40     protected AppShare () {
41     }
42
43     /**
44      * Constructor
45      */

46     public AppShare (int appID, int siteID) {
47
48         mAppID = appID;
49         mSiteID = siteID;
50     }
51
52
53     //-------------------------------------------------------------------------
54
public int getAppID () {
55         return mAppID;
56     }
57
58     //-------------------------------------------------------------------------
59
public void setAppID (int id) {
60         mAppID = id;
61     }
62
63     //-------------------------------------------------------------------------
64
public int getSiteID () {
65         return mSiteID;
66     }
67
68     //-------------------------------------------------------------------------
69
public void setSiteID (int id) {
70         mSiteID = id;
71     }
72
73
74 }
75
Popular Tags