01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-2001 by SMB GmbH. All rights reserved.
06: //
07: // $Id: DataImpl.java,v 1.1 2001/12/18 11:05:06 per_nyfelt Exp $
08:
09: package test.openxml;
10:
11: import java.util.*;
12: import org.ozoneDB.*;
13: import org.ozoneDB.DxLib.*;
14:
15: public class DataImpl extends OzoneObject implements Data {
16:
17: protected int i;
18:
19: protected Vector v;
20: protected Vector v2;
21:
22: protected Hashtable ht;
23:
24: protected Data next;
25:
26: public DataImpl() {
27: i = 100;
28:
29: v = new Vector();
30: v.addElement("Hallo");
31: v2 = v;
32:
33: ht = new Hashtable();
34: ht.put("Key", "Value");
35: }
36:
37: public void setup() throws Exception {
38: next = (Data) database().createObject(DataImpl.class.getName());
39: }
40:
41: }
|