public class Repository extends Object
| Constructor and Description |
|---|
Repository(String name,
String baseURL,
ArrayList<String> adminEmail,
Date earliestDatestamp,
RecordTemplateCustom recordTemplateCustom,
Properties sets) |
Repository(String name,
String baseURL,
ArrayList<String> adminEmail,
Date earliestDatestamp,
RecordTemplateDC recordTemplateDC,
Properties sets) |
Repository(String name,
String baseURL,
ArrayList<String> adminEmail,
Date earliestDatestamp,
RecordTemplateDC recordTemplateDC,
RecordTemplateCustom recordTemplateCustom,
Properties sets) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
getAdminEMails() |
String |
getBaseURL() |
CustomMetadataXSD |
getCustomMetadataXSD() |
String |
getEarliestDatestamp() |
String |
getGranularity() |
String |
getName() |
OAIDCMetadataXSD |
getOAIDCMetadataXSD() |
String |
getProtocolVersion() |
RecordTemplateCustom |
getRecordTemplateCustom() |
RecordTemplateDC |
getRecordTemplateDC() |
Properties |
getSets() |
ArrayList<String> |
getSupportedMetadataPrefixes() |
void |
materializeXSDonFilesystem()
SHOULD be called just after creating a new Repository (needs to be run just after the Repository class constructor)
|
String |
typeDeletedRecord() |
public Repository(String name, String baseURL, ArrayList<String> adminEmail, Date earliestDatestamp, RecordTemplateDC recordTemplateDC, RecordTemplateCustom recordTemplateCustom, Properties sets) throws MalformedURLException
MalformedURLExceptionpublic Repository(String name, String baseURL, ArrayList<String> adminEmail, Date earliestDatestamp, RecordTemplateDC recordTemplateDC, Properties sets) throws MalformedURLException
name - could be same as baseURLbaseURL - adminEmail - sets - this should include any (setSpec, setName) pairs for selective harvesting. If none is set (=null), a default one with the repository name (as setSpec) is assigned.MalformedURLExceptionpublic Repository(String name, String baseURL, ArrayList<String> adminEmail, Date earliestDatestamp, RecordTemplateCustom recordTemplateCustom, Properties sets) throws MalformedURLException
name - could be same as baseURLbaseURL - adminEmail - sets - this should include any (setSpec, setName) pairs for selective harvesting. If none is set (=null), a default one with the repository name (as setSpec) is assigned.MalformedURLExceptionpublic void materializeXSDonFilesystem()
throws TransformerException
TransformerExceptionpublic String getName()
public String getBaseURL()
public String typeDeletedRecord()
public Properties getSets()
public String getProtocolVersion()
public String getEarliestDatestamp()
public String getGranularity()
public CustomMetadataXSD getCustomMetadataXSD()
public OAIDCMetadataXSD getOAIDCMetadataXSD()
public RecordTemplateCustom getRecordTemplateCustom()
public RecordTemplateDC getRecordTemplateDC()
Copyright © 2016. All Rights Reserved.