Esri Geoportal Server
1.0

com.esri.gpt.framework.sql
Class DatabaseReferences

java.lang.Object
  extended by com.esri.gpt.framework.sql.DatabaseReferences
All Implemented Interfaces:
Serializable

public final class DatabaseReferences
extends Object
implements Serializable

DatabaseReference collection.

See Also:
Serialized Form

Constructor Summary
DatabaseReferences()
          Default constructor.
 
Method Summary
 void add(DatabaseReference reference, boolean testConnection)
          Adds a DatabaseReference to the collection.
protected  DatabaseReference findByTag(String tag)
          Finds the DatabaseReference associated with a tag.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseReferences

public DatabaseReferences()
Default constructor.

Method Detail

add

public void add(DatabaseReference reference,
                boolean testConnection)
Adds a DatabaseReference to the collection.

Parameters:
reference - the DatabaseReference to add
testConnection - if true the connection will be tested

findByTag

protected DatabaseReference findByTag(String tag)
Finds the DatabaseReference associated with a tag.

Parameters:
tag - the tag associated with the reference to find
Returns:
the associated reference (null if none)

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
the string

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.