Interface Configurable

All Known Subinterfaces:
Collection, CollectionManagementService, Database, Service, TransactionService, XPathQueryService, XQueryService, XUpdateQueryService
All Known Implementing Classes:
CollectionImpl, CollectionManagementServiceImpl, DatabaseImpl, SimpleCollection, SimpleConfigurable, SimpleDatabase, SimpleTransactionService, SimpleXPathQueryService, TransactionServiceImpl, XPathQueryServiceImpl

public interface Configurable
Provides the ability to configure properties about an object.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the property identified by name.
    void
    setProperty(String name, String value)
    Sets the property name to have the value provided in value.
  • Method Details

    • getProperty

      String getProperty(String name) throws XMLDBException
      Returns the value of the property identified by name.
      Parameters:
      name - the name of the property to retrieve.
      Returns:
      the property value or null if no property exists.
      Throws:
      XMLDBException - with expected error codes.
      ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.
    • setProperty

      void setProperty(String name, String value) throws XMLDBException
      Sets the property name to have the value provided in value.
      Parameters:
      name - the name of the property to set.
      value - the value to set for the property.
      Throws:
      XMLDBException - with expected error codes.
      ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.