Revision 46345
Added by Alessia Bardi about 7 years ago
OAIHelper.java | ||
---|---|---|
102 | 102 |
} |
103 | 103 |
|
104 | 104 |
private MongoPublisherStore getStore(final MDFInfo mdFormat, final String dbName) { |
105 |
String format = mdFormat.getSourceFormatName();
|
|
106 |
String layout = mdFormat.getSourceFormatLayout();
|
|
107 |
String interpretation = mdFormat.getSourceFormatInterpretation();
|
|
105 |
String format = mdFormat.getSourceFormat(); |
|
106 |
String layout = mdFormat.getSourceLayout(); |
|
107 |
String interpretation = mdFormat.getSourceInterpretation(); |
|
108 | 108 |
String sourceKey = format + "-" + layout + "-" + interpretation; |
109 | 109 |
MongoPublisherStore store = this.mongoPublisherStoreDAO.getStore(format, interpretation, layout, dbName); |
110 | 110 |
log.info("Got OAI store " + sourceKey + " via metadata prefix " + mdFormat.getPrefix() + " on db " + dbName); |
Also available in: Unified diff
refactoring: let's reuse class MetadataReference