KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_DocumentImpl


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Core License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by Thorsten Fiebig are
5
// Copyright (C) 2000-@year@ by Thorsten Fiebig. All rights reserved.
6
// Code portions created by SMB are
7
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
8
//
9
// $Id: OO7_DocumentImpl.java,v 1.2 2000/10/28 16:55:26 daniela Exp $
10

11 import org.ozoneDB.OzoneObject;
12
13
14 public class OO7_DocumentImpl extends OzoneObject implements OO7_Document {
15     String JavaDoc theTitle;
16     long theId;
17     String JavaDoc theText;
18     
19     
20     public OO7_DocumentImpl() {
21     }
22     
23     
24     public void setTitle( String JavaDoc x ) {
25         theTitle = x;
26     }
27     
28     
29     public String JavaDoc title() {
30         return theTitle;
31     }
32     
33     
34     public void setId( long x ) {
35         theId = x;
36     }
37     
38     
39     public long id() {
40         return theId;
41     }
42     
43     
44     public void setText( String JavaDoc x ) {
45         theText = x;
46     }
47     
48     
49     public String JavaDoc text() {
50         return theText;
51     }
52 }
53
Popular Tags