public class RecordData
extends java.lang.Object
ItemFileIndexingWriter and ItemDocReader.ItemFileIndexingWriter,
ItemDocReader,
RecordDataService| Modifier | Constructor and Description |
|---|---|
protected |
RecordData(DleseAnnoDocReader[] annoDocs,
ItemDocReader[] associatedItemsDocs,
java.lang.String accessionStatus)
Contruct the record data for an item-level record.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccessionStatus()
Gets the accessionStatus attribute of the RecordData object
|
DleseAnnoDocReader[] |
getAnnotationDocs()
Gets DocReaders for all annotation records that reference this resource, or null if
none exist.
|
ItemDocReader[] |
getAsociatedItemsDocs()
Gets DocReaders for all item-level records that refer to the same resource, or null
if none exist.
|
java.lang.String[] |
getAssociatedIds()
Gets the associatedIDs for this record, records that catalog the same resource.
|
protected static java.lang.String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and
output to standout:
|
protected void |
prtln(java.lang.String s)
Output a line of text to standard out, with datestamp, if debug is set to true.
|
protected void |
prtlnErr(java.lang.String s)
Output a line of text to error out, with datestamp.
|
static void |
setDebug(boolean db)
Sets the debug attribute of the object
|
protected RecordData(DleseAnnoDocReader[] annoDocs, ItemDocReader[] associatedItemsDocs, java.lang.String accessionStatus)
RecordDataService.annoDocs - DleseAnnoDocReaders for records that annotate this item.associatedItemsDocs - ItemDocReaders for items that refer to the same
resource.accessionStatus - The accession status.RecordDataServicepublic java.lang.String getAccessionStatus()
public ItemDocReader[] getAsociatedItemsDocs()
public DleseAnnoDocReader[] getAnnotationDocs()
public java.lang.String[] getAssociatedIds()
protected static final java.lang.String getDateStamp()
protected final void prtlnErr(java.lang.String s)
s - The text that will be output to error out.protected final void prtln(java.lang.String s)
s - The String that will be output.public static void setDebug(boolean db)
db - The new debug value