com.ibm.gcs.db.component
Class DB2URLRow
java.lang.Object
|
+--com.ibm.gcs.db.component.DB2URLRow
- public class DB2URLRow
- extends java.lang.Object
A DB2URLRow represents a record in the URLCRAWLTABLE
.
keyed by url string. It is used by DB2URLContainer to access member
data fields. The DB2URLRow class only loads information from
the database on demand. It stores this loaded information
in its internal datastructures.
Moreover, it only writes information to the database when saved
explicitly.
DB2URLRow provides the methods getObject()
and
setObject()
for calling classes to get and set
specific fields in the record. It provides the methods
save()
and saveAll()
which
enable calling classes to write modifications of one or more
DB2URLRows explicitly
to the database. It is more efficient to save records
in a group.
Method Summary |
java.lang.String |
getURLString()
Return the urlstring which is the primary key for the row. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getURLString
public java.lang.String getURLString()
- Return the urlstring which is the primary key for the row.
- Returns:
- String the url string identifying this object
main
public static void main(java.lang.String[] args)
(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.