Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class DbPresentData

java.lang.Object
  |
  +--ORG.oclc.z39.DbPresentData

public class DbPresentData
extends Object

DbPresentData contains information for retrieved database records in a Z39 Present.


Field Summary
 Object data
          Object containing the database record.
 String dbName
          Database name for the source record.
 Vector duplicateRecords
          Vector of duplicate records associated with the record.
 String recordSyntax
          Record Syntax for source record.
 
Constructor Summary
DbPresentData()
           
DbPresentData(String dbname, Object dataRecord)
           
 
Method Summary
 Object data()
          Returns the object containing the data for the source record.
 String dbName()
          Returns the String containing the database name for the source record.
 Vector getDuplicates()
          Returns the Vector containing the duplicate records associated with this record.
 boolean hasDuplicates()
          Determine whether this record has any duplicate records stored with it.
 void saveDuplicate(Object duplicate)
          Save any duplicate records associated with this record.
 String toString()
          Generates a String representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dbName

public String dbName
Database name for the source record.

recordSyntax

public String recordSyntax
Record Syntax for source record.

data

public Object data
Object containing the database record.

duplicateRecords

public Vector duplicateRecords
Vector of duplicate records associated with the record.
Constructor Detail

DbPresentData

public DbPresentData()

DbPresentData

public DbPresentData(String dbname,
                     Object dataRecord)
Parameters:
dbname - the database name
hitcount - the result search count
Method Detail

saveDuplicate

public final void saveDuplicate(Object duplicate)
Save any duplicate records associated with this record.
Parameters:
dbname - the database name
hitcount - the result search count

hasDuplicates

public final boolean hasDuplicates()
Determine whether this record has any duplicate records stored with it.
Parameters:
dbname - the database name
hitcount - the result search count

dbName

public final String dbName()
Returns the String containing the database name for the source record.
Returns:
String

data

public final Object data()
Returns the object containing the data for the source record.
Returns:
Object

getDuplicates

public final Vector getDuplicates()
Returns the Vector containing the duplicate records associated with this record.
Returns:
Vector

toString

public String toString()
Generates a String representation of this object
Returns:
String
Overrides:
toString in class Object

Open SiteSearch 4.1.1
Final