Interface Service

    • Method Detail

      • getName

        java.lang.String getName()
                          throws XMLDBException
        Returns the name associated with the Service instance.
        Returns:
        the name of the object.
        Throws:
        XMLDBException - with expected error codes.
        ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.
      • getVersion

        java.lang.String getVersion()
                             throws XMLDBException
        Gets the Version attribute of the Service object
        Returns:
        The Version value
        Throws:
        XMLDBException - with expected error codes.
        ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.
      • setCollection

        void setCollection​(Collection col)
                    throws XMLDBException
        Sets the Collection attribute of the Service object
        Parameters:
        col - The new Collection value
        Throws:
        XMLDBException - with expected error codes.
        ErrorCodes.VENDOR_ERROR for any vendor specific errors that occur.