|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.ndr.util.InfoStream
public class InfoStream
See http://ndr.comm.nsdl.org/cgi-bin/wiki.pl?addMetadata for documentation of the InfoStream in MetadataObjects.
NOTE: OAI Harvest info is not relevant to NCS collections, but is required in the info stream, so we use values that will at lease schema-validate for harvest-related elements.
Constructor Summary | |
---|---|
InfoStream()
Constructor for the InfoStream object |
|
InfoStream(Element element)
|
|
InfoStream(String harvestIdentifier,
String nsdlAboutCategory,
String repositoryPrimaryIdentifier,
String link,
String metadataNamespace)
Constructor for the InfoStream object |
Method Summary | |
---|---|
Element |
asElement()
NOT YET DOCUMENTED |
static InfoStream |
getFakeInfoStream()
Gets the fakeInfoStream attribute of the InfoStream class |
static void |
main(String[] args)
The main program for the InfoStream class |
void |
setHarvestDatasource(String harvestDatasource)
Sets the harvestDatasource attribute of the InfoStream object |
void |
setHarvestDatasourcePublic(String harvestDatasourcePublic)
Sets the harvestDatasourcePublic attribute of the InfoStream object |
void |
setHarvestDate(String harvestDate)
Sets the harvestDate attribute of the InfoStream object |
void |
setHarvestHarvestType(String harvestHarvestType)
Sets the harvestHarvestType attribute of the InfoStream object |
void |
setHarvestIdentifier(String harvestIdentifier)
Sets the harvestIdentifier attribute of the InfoStream object |
void |
setHarvestRecordDatestamp(String harvestRecordDatestamp)
Sets the harvestRecordDatestamp attribute of the InfoStream object |
void |
setLink(String link)
Sets the link attribute of the InfoStream object |
void |
setMetadataNamespace(String metadataNamespace)
Sets the metadataNamespace attribute of the InfoStream object |
void |
setNsdlAboutCategory(String nsdlAboutCategory)
Sets the nsdlAboutCategory attribute of the InfoStream object |
void |
setRepositoryPrimaryIdentifier(String repositoryPrimaryIdentifier)
Sets the repositoryPrimaryIdentifier attribute of the InfoStream object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InfoStream()
public InfoStream(String harvestIdentifier, String nsdlAboutCategory, String repositoryPrimaryIdentifier, String link, String metadataNamespace)
nsdlAboutCategory
- either "item" or "collection"repositoryPrimaryIdentifier
- metadata identifier (resourceUrl)link
- itemId property from collection metadata objectmetadataNamespace
- XML namespace URI of this format's metadata.harvestIdentifier
- the metadata provider's unique ID for this metadata. (e.g. the metadata provider's OAI identifier). This should be the same as the value of the uniqueID property.public InfoStream(Element element)
Method Detail |
---|
public void setNsdlAboutCategory(String nsdlAboutCategory)
nsdlAboutCategory
- The new nsdlAboutCategory valuepublic void setRepositoryPrimaryIdentifier(String repositoryPrimaryIdentifier)
repositoryPrimaryIdentifier
- The new repositoryPrimaryIdentifier
valuepublic void setLink(String link)
link
- The new link valuepublic void setHarvestDate(String harvestDate)
harvestDate
- The new harvestDate valuepublic void setHarvestHarvestType(String harvestHarvestType)
harvestHarvestType
- The new harvestHarvestType valuepublic void setHarvestDatasourcePublic(String harvestDatasourcePublic)
harvestDatasourcePublic
- The new harvestDatasourcePublic valuepublic void setHarvestDatasource(String harvestDatasource)
harvestDatasource
- The new harvestDatasource valuepublic void setHarvestIdentifier(String harvestIdentifier)
harvestIdentifier
- The new harvestIdentifier valuepublic void setHarvestRecordDatestamp(String harvestRecordDatestamp)
harvestRecordDatestamp
- The new harvestRecordDatestamp valuepublic void setMetadataNamespace(String metadataNamespace)
metadataNamespace
- The new metadataNamespace valuepublic Element asElement()
public static void main(String[] args) throws Exception
args
- The command line arguments
Exception
- NOT YET DOCUMENTEDpublic static InfoStream getFakeInfoStream()
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |