-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3304 Extended markup regarding DOI and file references
- Loading branch information
1 parent
3ad4361
commit 48a0f02
Showing
6 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...in/java/eu/dzhw/fdz/metadatamanagement/datapackagemanagement/domain/ddicodebook/IDNo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package eu.dzhw.fdz.metadatamanagement.datapackagemanagement.domain.ddicodebook; | ||
|
||
import lombok.AllArgsConstructor; | ||
|
||
import javax.xml.bind.annotation.XmlAttribute; | ||
import javax.xml.bind.annotation.XmlValue; | ||
|
||
@AllArgsConstructor | ||
public class IDNo { | ||
|
||
public IDNo() {} | ||
|
||
/** | ||
* e.g. 'DOI' | ||
*/ | ||
@XmlAttribute | ||
String agency; | ||
|
||
/** | ||
* The data package version e.g. '1.0.0' | ||
*/ | ||
@XmlAttribute | ||
String elementVersion; | ||
|
||
@XmlValue | ||
String dataPackageDOI; | ||
} |
12 changes: 12 additions & 0 deletions
12
...ava/eu/dzhw/fdz/metadatamanagement/datapackagemanagement/domain/ddicodebook/Location.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package eu.dzhw.fdz.metadatamanagement.datapackagemanagement.domain.ddicodebook; | ||
|
||
import lombok.AllArgsConstructor; | ||
|
||
import javax.xml.bind.annotation.XmlAttribute; | ||
|
||
@AllArgsConstructor | ||
public class Location { | ||
|
||
@XmlAttribute(name = "fileid") | ||
String fileId; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters