From 6adb72b267630d492fff790baab55f588d11eeec Mon Sep 17 00:00:00 2001 From: rjy7 Date: Mon, 10 Jan 2011 20:25:13 +0000 Subject: [PATCH] Update Precisions to reflect current names in the ontology --- .../mannlib/vitro/webapp/dao/VitroVocabulary.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java index b2dfcf967..5b67cfa75 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/dao/VitroVocabulary.java @@ -300,13 +300,13 @@ public class VitroVocabulary { private static final String DATETIME_NS = "http://vivoweb.org/ontology/core#"; protected static final String[] PRECISIONS = { - DATETIME_NS+"NoPrecision", - DATETIME_NS+"YearPrecision", - DATETIME_NS+"YearMonthPrecision", - DATETIME_NS+"YearMonthDayPrecision", - DATETIME_NS+"YearMonthDayHourPrecision", - DATETIME_NS+"YearMonthDayHourMinutePrecision", - DATETIME_NS+"YearMonthDayTimePrecision"}; + DATETIME_NS+"noPrecision", // this individual doesn't actually exist in the ontology + DATETIME_NS+"yearPrecision", + DATETIME_NS+"yearMonthPrecision", + DATETIME_NS+"yearMonthDayPrecision", + DATETIME_NS+"yearMonthDayHourPrecision", + DATETIME_NS+"yearMonthDayHourMinutePrecision", + DATETIME_NS+"yearMonthDayTimePrecision"}; //The Precision.ordinal method is used so do //not change the order of these enums.