gov.noaa.gdsg.xmldbremote.xmldbClient
Class XmldbClientService

java.lang.Object
  extended by gov.noaa.gdsg.xmldbremote.xmldbClient.XmldbClientService
All Implemented Interfaces:
org.xmldb.api.base.Configurable, org.xmldb.api.base.Service
Direct Known Subclasses:
XmldbClientXPathQueryService

public class XmldbClientService
extends java.lang.Object
implements org.xmldb.api.base.Service

An XML:DB Database API which represents a Service on a remote machine.

Version:
$Id: XmldbClientService.java,v 1.2 2004/11/03 23:52:40 mrxtravis Exp $
Author:
tns

Field Summary
protected  XmldbClientCollection parentCollection
           
protected  gov.noaa.gdsg.xmldbremote.Service service
           
protected  gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub
           
 
Constructor Summary
XmldbClientService(gov.noaa.gdsg.xmldbremote.Service service, gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub, XmldbClientCollection parentCollection)
          Creates a new instance of XmldbClientService
 
Method Summary
 java.lang.String getName()
          Returns the name of this service.
 java.lang.String getProperty(java.lang.String str)
          Throws an ErrorCodes.NOT_IMPLEMENTED Exception.
 java.lang.String getVersion()
          Returns the version of this Service object.
 void setCollection(org.xmldb.api.base.Collection collection)
           
 void setProperty(java.lang.String str, java.lang.String str1)
          Throws an ErrorCodes.NOT_IMPLEMENTED Exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

protected gov.noaa.gdsg.xmldbremote.Service service

stub

protected gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub

parentCollection

protected XmldbClientCollection parentCollection
Constructor Detail

XmldbClientService

public XmldbClientService(gov.noaa.gdsg.xmldbremote.Service service,
                          gov.noaa.gdsg.xmldbremote.NmmrdbSoapBindingStub stub,
                          XmldbClientCollection parentCollection)
Creates a new instance of XmldbClientService

Parameters:
service -
parentCollection - The collection this service belongs to.
Method Detail

getName

public java.lang.String getName()
                         throws org.xmldb.api.base.XMLDBException
Returns the name of this service.

Specified by:
getName in interface org.xmldb.api.base.Service
Returns:
The name of this Service.
Throws:
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.

getProperty

public java.lang.String getProperty(java.lang.String str)
                             throws org.xmldb.api.base.XMLDBException
Throws an ErrorCodes.NOT_IMPLEMENTED Exception.

Specified by:
getProperty in interface org.xmldb.api.base.Configurable
Parameters:
str - ignored
org.xmldb.api.base.XMLDBException - with ErrorCode.NOT_IMPLEMENTED all the time.
Returns:
Nothing, ever
Throws:
org.xmldb.api.base.XMLDBException

getVersion

public java.lang.String getVersion()
                            throws org.xmldb.api.base.XMLDBException
Returns the version of this Service object.

Specified by:
getVersion in interface org.xmldb.api.base.Service
Returns:
A string representing the service version
Throws:
org.xmldb.api.base.XMLDBException - All exceptions are rethrown as one.

setCollection

public void setCollection(org.xmldb.api.base.Collection collection)
                   throws org.xmldb.api.base.XMLDBException
Specified by:
setCollection in interface org.xmldb.api.base.Service
Throws:
org.xmldb.api.base.XMLDBException

setProperty

public void setProperty(java.lang.String str,
                        java.lang.String str1)
                 throws org.xmldb.api.base.XMLDBException
Throws an ErrorCodes.NOT_IMPLEMENTED Exception.

Specified by:
setProperty in interface org.xmldb.api.base.Configurable
Parameters:
str - ignored
str1 - ignored
org.xmldb.api.base.XMLDBException - with ErrorCode.NOT_IMPLEMENTED all the time.
Throws:
org.xmldb.api.base.XMLDBException


Copyright © 2004-2005 DOC > NOAA > NGDC > EDSD. All Rights Reserved.