KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_DesignObjectImpl


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_DesignObjectImpl.java,v 1.2 2000/10/28 16:55:26 daniela Exp $
10

11 import org.ozoneDB.OzoneObject;
12
13
14 public class OO7_DesignObjectImpl extends OzoneObject implements OO7_DesignObject {
15     long theId;
16     String JavaDoc theType;
17     long theBuildDate;
18     
19     
20     OO7_DesignObjectImpl() {
21         theType = new String JavaDoc( "" );
22     }
23     
24     
25     public void setId( long x ) {
26         theId = x;
27     }
28     
29     
30     public long id() {
31         return theId;
32     }
33     
34     
35     public void setType( String JavaDoc x ) {
36         theType = x;
37     }
38     
39     
40     public String JavaDoc type() {
41         return theType;
42     }
43     
44     
45     public void setBuildDate( long x ) {
46         theBuildDate = x;
47     }
48     
49     
50     public long buildDate() {
51         return theBuildDate;
52     }
53 }
54
Popular Tags