|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dlese.dpc.repository.RecordData
Holds data related to a single item-level record such as it's annotations and records
that refer to the same resource. This class is used by class ItemFileIndexingWriter and ItemDocReader.
ItemFileIndexingWriter,
ItemDocReader,
RecordDataService| Constructor Summary | |
|---|---|
protected |
RecordData(DleseAnnoDocReader[] annoDocs,
ItemDocReader[] associatedItemsDocs,
String accessionStatus)
Contruct the record data for an item-level record. |
| Method Summary | |
|---|---|
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. |
String[] |
getAssociatedIds()
Gets the associatedIDs for this record, records that catalog the same resource. |
protected static String |
getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
protected void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
protected void |
prtlnErr(String s)
Output a line of text to error out, with datestamp. |
static void |
setDebug(boolean db)
Sets the debug attribute of the object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected RecordData(DleseAnnoDocReader[] annoDocs,
ItemDocReader[] associatedItemsDocs,
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.RecordDataService| Method Detail |
public String getAccessionStatus()
public ItemDocReader[] getAsociatedItemsDocs()
public DleseAnnoDocReader[] getAnnotationDocs()
public String[] getAssociatedIds()
protected static final String getDateStamp()
protected final void prtlnErr(String s)
s - The text that will be output to error out.protected final void prtln(String s)
s - The String that will be output.public static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||