org.ozoneDB.xml.cli
Class AbstractConfigurable

java.lang.Object
  extended byorg.ozoneDB.xml.cli.AbstractConfigurable
All Implemented Interfaces:
Configurable
Direct Known Subclasses:
CollectionImpl, DatabaseImpl

public abstract class AbstractConfigurable
extends java.lang.Object
implements Configurable

Version:
$Revision: 1.1 $
Author:
SMB

Constructor Summary
AbstractConfigurable()
          Zero-argument constructor.
 
Method Summary
 java.lang.String getProperty(java.lang.String name)
          Returns the value of the provided property.
 void setProperty(java.lang.String name, java.lang.String value)
          Stores the provided pair of property name and property value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xmldb.api.base.Configurable
getName
 

Constructor Detail

AbstractConfigurable

public AbstractConfigurable()
Zero-argument constructor.

Method Detail

getProperty

public java.lang.String getProperty(java.lang.String name)
                             throws XMLDBException
Returns the value of the provided property.

Specified by:
getProperty in interface Configurable
Parameters:
name - The name of the property.
Returns:
The String value of the provided property.
Throws:
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)
                 throws XMLDBException
Stores the provided pair of property name and property value.

Specified by:
setProperty in interface Configurable
Parameters:
name - The name of property.
value - The String value of the provided property.
Throws:
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.


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