diff --git a/src/main/java/eu/dissco/core/translator/terms/Term.java b/src/main/java/eu/dissco/core/translator/terms/Term.java index ca24e87..5b17e83 100644 --- a/src/main/java/eu/dissco/core/translator/terms/Term.java +++ b/src/main/java/eu/dissco/core/translator/terms/Term.java @@ -15,6 +15,7 @@ public abstract class Term { protected static final String ODS_PREFIX = "ods:"; protected static final String DWC_PREFIX = "dwc:"; protected static final String DCTERMS_PREFIX = "dcterms:"; + protected static final String CHRONO_PREFIX = "chrono:"; protected static final Pair ABCD_NAMED_AREA_KEY = Pair.of( "abcd:gathering/namedAreas/namedArea/", diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeConversionProtocol.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeConversionProtocol.java index 9c9cff1..ab2bb7a 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeConversionProtocol.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeConversionProtocol.java @@ -6,7 +6,7 @@ public class ChronometricAgeConversionProtocol extends Term { - public static final String TERM = "chrono:chronometricAgeConversionProtocol"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeConversionProtocol"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedBy.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedBy.java index d45cbb9..ab9805b 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedBy.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedBy.java @@ -6,7 +6,7 @@ public class ChronometricAgeDeterminedBy extends Term { - public static final String TERM = "chrono:chronometricAgeDeterminedBy"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeDeterminedBy"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedDate.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedDate.java index 41fd2b2..98de153 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedDate.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeDeterminedDate.java @@ -6,7 +6,7 @@ public class ChronometricAgeDeterminedDate extends Term { - public static final String TERM = "chrono:chronometricAgeDeterminedDate"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeDeterminedDate"; private final List abcdTerms = List.of("analysisDateTime/exactDate/dateText", "analysisDateTime/dateText"); private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeID.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeID.java index 68aa848..87cc7b8 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeID.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeID.java @@ -6,7 +6,7 @@ public class ChronometricAgeID extends Term { - public static final String TERM = "chrono:chronometricAgeID"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeID"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeProtocol.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeProtocol.java index da196f9..8f47ce2 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeProtocol.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeProtocol.java @@ -6,7 +6,7 @@ public class ChronometricAgeProtocol extends Term { - public static final String TERM = "chrono:chronometricAgeProtocol"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeProtocol"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("radiometricDatingMethod"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeReferences.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeReferences.java index 8130d49..41b4cde 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeReferences.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeReferences.java @@ -6,7 +6,7 @@ public class ChronometricAgeReferences extends Term { - public static final String TERM = "chrono:chronometricAgeReferences"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeReferences"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("analysisReferences/uri", diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeRemarks.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeRemarks.java index b109566..97b966c 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeRemarks.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeRemarks.java @@ -6,7 +6,7 @@ public class ChronometricAgeRemarks extends Term { - public static final String TERM = "chrono:chronometricAgeRemarks"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeRemarks"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("datingComment"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyInYears.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyInYears.java index 6def861..ea85eda 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyInYears.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyInYears.java @@ -6,7 +6,7 @@ public class ChronometricAgeUncertaintyInYears extends Term { - public static final String TERM = "chrono:chronometricAgeUncertaintyInYears"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeUncertaintyInYears"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyMethod.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyMethod.java index 50cc40c..472b39a 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyMethod.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/ChronometricAgeUncertaintyMethod.java @@ -6,7 +6,7 @@ public class ChronometricAgeUncertaintyMethod extends Term { - public static final String TERM = "chrono:chronometricAgeUncertaintyMethod"; + public static final String TERM = CHRONO_PREFIX + "chronometricAgeUncertaintyMethod"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAge.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAge.java index ecef3a5..694a5d1 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAge.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAge.java @@ -6,7 +6,7 @@ public class EarliestChronometricAge extends Term { - public static final String TERM = "chrono:earliestChronometricAge"; + public static final String TERM = CHRONO_PREFIX + "earliestChronometricAge"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("earliestDate"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAgeReferenceSystem.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAgeReferenceSystem.java index 3db7061..7268fa4 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAgeReferenceSystem.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/EarliestChronometricAgeReferenceSystem.java @@ -6,7 +6,7 @@ public class EarliestChronometricAgeReferenceSystem extends Term { - public static final String TERM = "chrono:earliestChronometricAgeReferenceSystem"; + public static final String TERM = CHRONO_PREFIX + "earliestChronometricAgeReferenceSystem"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("timeUnit"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAge.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAge.java index f5c58ee..40e90ca 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAge.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAge.java @@ -6,7 +6,7 @@ public class LatestChronometricAge extends Term { - public static final String TERM = "chrono:latestChronometricAge"; + public static final String TERM = CHRONO_PREFIX + "latestChronometricAge"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("latestDate"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAgeReferenceSystem.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAgeReferenceSystem.java index 1665c63..59542b4 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAgeReferenceSystem.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/LatestChronometricAgeReferenceSystem.java @@ -6,7 +6,7 @@ public class LatestChronometricAgeReferenceSystem extends Term { - public static final String TERM = "chrono:latestChronometricAgeReferenceSystem"; + public static final String TERM = CHRONO_PREFIX + "latestChronometricAgeReferenceSystem"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("timeUnit"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDated.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDated.java index 13a42d7..7b2527e 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDated.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDated.java @@ -6,7 +6,7 @@ public class MaterialDated extends Term { - public static final String TERM = "chrono:materialDated"; + public static final String TERM = CHRONO_PREFIX + "materialDated"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("materialDated"); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedID.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedID.java index 4ff5b7a..5f9dd9e 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedID.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedID.java @@ -6,7 +6,7 @@ public class MaterialDatedID extends Term { - public static final String TERM = "chrono:materialDatedID"; + public static final String TERM = CHRONO_PREFIX + "materialDatedID"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedRelationship.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedRelationship.java index 441e87e..0df7076 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedRelationship.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/MaterialDatedRelationship.java @@ -6,7 +6,7 @@ public class MaterialDatedRelationship extends Term { - public static final String TERM = "chrono:materialDatedRelationship"; + public static final String TERM = CHRONO_PREFIX + "materialDatedRelationship"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/UncalibratedChronometricAge.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/UncalibratedChronometricAge.java index e0e9ff7..5979642 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/UncalibratedChronometricAge.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/UncalibratedChronometricAge.java @@ -6,7 +6,7 @@ public class UncalibratedChronometricAge extends Term { - public static final String TERM = "chrono:uncalibratedChronometricAge"; + public static final String TERM = CHRONO_PREFIX + "uncalibratedChronometricAge"; private final List dwcaTerms = List.of(TERM); diff --git a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/VerbatimChronometricAge.java b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/VerbatimChronometricAge.java index 5a8e044..3bc9307 100644 --- a/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/VerbatimChronometricAge.java +++ b/src/main/java/eu/dissco/core/translator/terms/specimen/chronometric/VerbatimChronometricAge.java @@ -6,7 +6,7 @@ public class VerbatimChronometricAge extends Term { - public static final String TERM = "chrono:verbatimChronometricAge"; + public static final String TERM = CHRONO_PREFIX + "verbatimChronometricAge"; private final List dwcaTerms = List.of(TERM); private final List abcdTerms = List.of("datingAccuracy");