Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DARIAH-DE OAI-PMH Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DARIAH-DE
DARIAH-DE OAI-PMH Services
Commits
d904be15
Commit
d904be15
authored
3 years ago
by
Stefan E. Funk
Browse files
Options
Downloads
Patches
Plain Diff
Looking for fields definition
parent
f8f5857d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererDATACITE.java
+8
-2
8 additions, 2 deletions
...ava/info/textgrid/middleware/RecordDelivererDATACITE.java
with
8 additions
and
2 deletions
oaipmh-core/src/main/java/info/textgrid/middleware/RecordDelivererDATACITE.java
+
8
−
2
View file @
d904be15
...
...
@@ -21,6 +21,7 @@ import info.textgrid.middleware.oaipmh.HeaderType;
import
info.textgrid.middleware.oaipmh.OAIPMHtype
;
import
info.textgrid.middleware.oaipmh.ObjectFactory
;
import
info.textgrid.middleware.oaipmh.OpenaireDescriptionType
;
import
info.textgrid.middleware.oaipmh.RecordType
;
import
info.textgrid.middleware.oaipmh.RelatedIdentifierType
;
import
info.textgrid.middleware.oaipmh.RelationType
;
import
info.textgrid.middleware.oaipmh.Resource
;
...
...
@@ -110,6 +111,8 @@ public class RecordDelivererDATACITE extends RecordDelivererAbstract {
System
.
out
.
println
(
"idInElasticSearchIndex: "
+
idInElasticSearchIndex
);
GetRecordType
getRecordType
=
new
GetRecordType
();
System
.
out
.
println
(
" ## fields (getRecordById): "
);
if
(
this
.
fields
!=
null
)
{
for
(
int
i
=
0
;
i
<
this
.
fields
.
length
;
i
++)
{
...
...
@@ -147,7 +150,9 @@ public class RecordDelivererDATACITE extends RecordDelivererAbstract {
header
.
setIdentifier
(
idInElasticSearchIndex
);
}
return
OAIPMHUtilities
.
getRecordType
(
this
.
setOpenAireRecord
(),
header
);
getRecordType
=
OAIPMHUtilities
.
getRecordType
(
this
.
setOpenAireRecord
(),
header
);
return
getRecordType
;
}
/**
...
...
@@ -162,6 +167,7 @@ public class RecordDelivererDATACITE extends RecordDelivererAbstract {
* @throws DatatypeConfigurationException
* @throws IOException
*/
@Deprecated
public
JAXBElement
<
OAIPMHtype
>
getRecord
(
String
idInElasticSearchIndex
)
throws
ParseException
,
JAXBException
,
DatatypeConfigurationException
,
IOException
{
...
...
@@ -202,7 +208,7 @@ public class RecordDelivererDATACITE extends RecordDelivererAbstract {
}
/**
* Adding the open
aire record fields to the openaire record object
* Adding the openaire record fields to the openaire record object
*
* @return
* @throws ParseException
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment