1 // You can redistribute this software and/or modify it under the terms of 2 // the Ozone Library License version 1 published by ozone-db.org. 3 // 4 // The original code and portions created by SMB are 5 // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved. 6 // 7 // $Id: OzoneSupportObject.java,v 1.2 2002/08/27 08:32:25 per_nyfelt Exp $ 8 9 package org.ozoneDB.core; 10 11 import org.ozoneDB.*; 12 13 14 /** 15 * This class represents database objects that provide an ozone internal 16 * service, like administration functionality. Objects of this class are 17 * handled in a special way by the server core. The methods of this class can 18 * be used by derived classes to set some internal properties, like the 19 * ObjectID. 20 * 21 * @author <a HREF="http://www.softwarebuero.de/">SMB</a> 22 * @version $Revision: 1.2 $Date: 2002/08/27 08:32:25 $ 23 */ 24 public class OzoneSupportObject extends OzoneObject { 25 26 /** 27 * Overwrite this method to specify the ObjectID of this support object. 28 * This default implementation return null to signal that this method is 29 * not supported by default. 30 */ 31 // public ObjectID provideObjectID() { 32 // return null; 33 // } 34 35 36 public String toString() { 37 return "OzoneSupportObject, ID: " + (container() != null ? container().id().toString() : "null"); 38 } 39 } 40