org.eclipse.jpt.db
Class DatabaseFinder.Simple

java.lang.Object
  extended by org.eclipse.jpt.db.DatabaseFinder.Simple
All Implemented Interfaces:
DatabaseFinder
Enclosing interface:
DatabaseFinder

public static final class DatabaseFinder.Simple
extends java.lang.Object
implements DatabaseFinder

This finder searches for an exact match.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.jpt.db.DatabaseFinder
DatabaseFinder.Default, DatabaseFinder.DefaultCallback, DatabaseFinder.Simple
 
Field Summary
static DatabaseFinder INSTANCE
           
 
Method Summary
static DatabaseFinder instance()
           
<T extends DatabaseObject>
T
selectDatabaseObjectForIdentifier(T[] databaseObjects, java.lang.String identifier, DatabaseFinder.DefaultCallback defaultCallback)
          Select and return from the specified list of database objects the database object identified by the specified identifier.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final DatabaseFinder INSTANCE
Method Detail

instance

public static DatabaseFinder instance()

selectDatabaseObjectForIdentifier

public <T extends DatabaseObject> T selectDatabaseObjectForIdentifier(T[] databaseObjects,
                                                                      java.lang.String identifier,
                                                                      DatabaseFinder.DefaultCallback defaultCallback)
Description copied from interface: DatabaseFinder
Select and return from the specified list of database objects the database object identified by the specified identifier.

Specified by:
selectDatabaseObjectForIdentifier in interface DatabaseFinder

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object