KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > mixed > SecureDocument


1 //$Id: SecureDocument.java,v 1.1 2004/08/22 02:20:51 oneovthafew Exp $
2
package org.hibernate.test.mixed;
3
4 /**
5  * @author Gavin King
6  */

7 public class SecureDocument extends Document {
8     private byte permissionBits;
9     private String JavaDoc owner;
10     /**
11      * @return Returns the owner.
12      */

13     public String JavaDoc getOwner() {
14         return owner;
15     }
16     /**
17      * @param owner The owner to set.
18      */

19     public void setOwner(String JavaDoc owner) {
20         this.owner = owner;
21     }
22     /**
23      * @return Returns the permissionBits.
24      */

25     public byte getPermissionBits() {
26         return permissionBits;
27     }
28     /**
29      * @param permissionBits The permissionBits to set.
30      */

31     public void setPermissionBits(byte permissionBits) {
32         this.permissionBits = permissionBits;
33     }
34 }
35
Popular Tags