org.ozoneDB.collections
Class BasePropertiesImpl

java.lang.Object
  extended byorg.ozoneDB.OzoneObject
      extended byorg.ozoneDB.collections.BasePropertiesImpl
All Implemented Interfaces:
org.ozoneDB.OzoneCompatible, org.ozoneDB.OzoneCompatibleOrProxy, OzoneProperties, org.ozoneDB.OzoneRemote, java.io.Serializable
Direct Known Subclasses:
FullPropertiesImpl, NodePropertiesImpl

public class BasePropertiesImpl
extends org.ozoneDB.OzoneObject
implements OzoneProperties

See the overall description on OzoneCollection.
Although properties are technically not a Collection, there are enough similarities to justify placing one in this package.

Author:
Leo Mekenkamp (mind the anti-sp@m)
See Also:
Serialized Form

Field Summary
protected  OzoneTreeMap backingMap
           
 
Constructor Summary
protected BasePropertiesImpl()
           
 
Method Summary
 java.util.Properties getClientProperties()
           
 java.lang.String getProperty(java.lang.String key)
           
 java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
           
 void load(java.util.Properties properties)
           
 java.util.Enumeration propertyNames()
           
 java.lang.String setProperty(java.lang.String key, java.lang.String value)
           
 
Methods inherited from class org.ozoneDB.OzoneObject
container, database, deleteRecursive, equals, getHandle, getObjectID, handle, hashCode, onActivate, onCreate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toString, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy
getObjectID
 

Field Detail

backingMap

protected OzoneTreeMap backingMap
Constructor Detail

BasePropertiesImpl

protected BasePropertiesImpl()
Method Detail

load

public void load(java.util.Properties properties)
Specified by:
load in interface OzoneProperties

getProperty

public java.lang.String getProperty(java.lang.String key)
Specified by:
getProperty in interface OzoneProperties

getProperty

public java.lang.String getProperty(java.lang.String key,
                                    java.lang.String defaultValue)
Specified by:
getProperty in interface OzoneProperties

propertyNames

public java.util.Enumeration propertyNames()
Specified by:
propertyNames in interface OzoneProperties

setProperty

public java.lang.String setProperty(java.lang.String key,
                                    java.lang.String value)
Specified by:
setProperty in interface OzoneProperties

getClientProperties

public java.util.Properties getClientProperties()
Specified by:
getClientProperties in interface OzoneProperties


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.