forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schema): introduce placeholders for references in IQSS#8085
- Loading branch information
1 parent
6b8e431
commit 24345c2
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/main/java/edu/harvard/iq/dataverse/util/metadata/Placeholder.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,11 @@ | ||
package edu.harvard.iq.dataverse.util.metadata; | ||
|
||
/** | ||
* This class provides some simple markers, so we con distinguish if we need to replace a placeholder with | ||
* a real object from the database/... when handing over after parsing | ||
*/ | ||
public class Placeholder { | ||
public static final class Dataverse extends edu.harvard.iq.dataverse.Dataverse {} | ||
public static final class MetadataBlock extends edu.harvard.iq.dataverse.MetadataBlock {} | ||
public static final class DatasetFieldType extends edu.harvard.iq.dataverse.DatasetFieldType {} | ||
} |