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-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: OzoneSupportObject.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
08:
09: package org.ozoneDB.core;
10:
11: import org.ozoneDB.*;
12:
13: /**
14: * This class represents database objects that provide an ozone internal
15: * service, like administration functionality. Objects of this class are
16: * handled in a special way by the server core. The methods of this class can
17: * be used by derived classes to set some internal properties, like the
18: * ObjectID.
19: *
20: * @author <a href="http://www.softwarebuero.de/">SMB</a>
21: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
22: */
23: public class OzoneSupportObject extends OzoneObject {
24:
25: /**
26: * Overwrite this method to specify the ObjectID of this support object.
27: * This default implementation return null to signal that this method is
28: * not supported by default.
29: */
30: // public ObjectID provideObjectID() {
31: // return null;
32: // }
33:
34: public String toString() {
35: return "OzoneSupportObject, ID: "
36: + (container() != null ? container().id().toString()
37: : "null");
38: }
39: }
|