ORG.oclc.mantis.util
Class GetRecordIdFromFile
java.lang.Object
|
+--ORG.oclc.mantis.util.GetRecordIdFromFile
- public class GetRecordIdFromFile
- extends Object
- implements IRecordId
The GetRecordIdFromFile class implements the IRecordId interface and
return a record id for Newton database records which do not have one.
Method Summary |
void |
incrementit()
Executes the method that will increment the record number for the next
request for a new record id. |
String |
runit(Db dbObject,
DataDir rec)
Executes the class being dynamically loaded using the input parameter
dbObject. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
GetRecordIdFromFile
public GetRecordIdFromFile()
runit
public String runit(Db dbObject,
DataDir rec)
- Executes the class being dynamically loaded using the input parameter
dbObject.
- Specified by:
- runit in interface IRecordId
- Parameters:
dbObject
- the Db object.DataDir
- the record the accession number is for.
incrementit
public void incrementit()
- Executes the method that will increment the record number for the next
request for a new record id.
- Specified by:
- incrementit in interface IRecordId