gov.noaa.gdsg.xmldbremote.manage
Class CollectionManager

java.lang.Object
  extended by gov.noaa.gdsg.xmldbremote.manage.CollectionManager

public class CollectionManager
extends java.lang.Object

Provides basical functionality for managing records. Keeps track of the database and collection object.

Version:
$Id: CollectionManager.java,v 1.1 2004/10/29 17:47:13 mrxtravis Exp $
Author:
tns

Constructor Summary
CollectionManager()
          Creates a new instance of BaseRecordManager
 
Method Summary
protected  org.xmldb.api.base.Collection getCollection()
          Retrieves the collection
 java.lang.String getCollectionURI()
          Getter for property collectionURI.
 org.xmldb.api.base.Database getDatabase()
          Getter for property database.
 java.lang.String getPassword()
          Getter for property password.
 java.lang.String getUserName()
          Getter for property userName.
 void setCollectionURI(java.lang.String collectionURI)
          Setter for property collectionURI.
 void setDatabase(org.xmldb.api.base.Database database)
          Setter for property database.
 void setPassword(java.lang.String password)
          Setter for property password.
 void setUserName(java.lang.String userName)
          Setter for property userName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionManager

public CollectionManager()
Creates a new instance of BaseRecordManager

Method Detail

getDatabase

public org.xmldb.api.base.Database getDatabase()
Getter for property database.

Returns:
Value of property database.

setDatabase

public void setDatabase(org.xmldb.api.base.Database database)
Setter for property database.

Parameters:
database - New value of property database.

getCollectionURI

public java.lang.String getCollectionURI()
Getter for property collectionURI.

Returns:
Value of property collectionURI.

setCollectionURI

public void setCollectionURI(java.lang.String collectionURI)
Setter for property collectionURI.

Parameters:
collectionURI - New value of property collectionURI.

getUserName

public java.lang.String getUserName()
Getter for property userName.

Returns:
Value of property userName.

setUserName

public void setUserName(java.lang.String userName)
Setter for property userName.

Parameters:
userName - New value of property userName.

getPassword

public java.lang.String getPassword()
Getter for property password.

Returns:
Value of property password.

setPassword

public void setPassword(java.lang.String password)
Setter for property password.

Parameters:
password - New value of property password.

getCollection

protected org.xmldb.api.base.Collection getCollection()
                                               throws java.lang.Exception
Retrieves the collection

Throws:
java.lang.Exception


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