From 5aeda85fca8949d46588a6f218197c0a13f3028f Mon Sep 17 00:00:00 2001 From: Matt Nash Date: Tue, 13 Aug 2013 11:55:20 -0500 Subject: [PATCH] Issue #2253 fix issue where warnings do not show up in the drop down in Warngen Change-Id: I680948f5e5224da9f649632fd72ca0412eb9b186 Former-commit-id: 1c72a8cfeeb9263f8d406002de9703a1ee73f40e --- .../uf/common/dataplugin/warning/PracticeWarningRecord.java | 4 +++- .../raytheon/uf/common/dataplugin/warning/WarningRecord.java | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/PracticeWarningRecord.java b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/PracticeWarningRecord.java index c4ede7e9b4..b0c3ee50cf 100644 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/PracticeWarningRecord.java +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/PracticeWarningRecord.java @@ -47,7 +47,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; * May 02, 2013 1949 rjpeter Removed ugcZones. * May 07, 2013 1869 bsteffen Remove dataURI column from * PluginDataObject. - * + * Aug 13, 2013 2253 mnash Fixed null data uri errors * * * @author bgonzale @@ -75,6 +75,7 @@ public class PracticeWarningRecord extends AbstractWarningRecord { */ public PracticeWarningRecord() { super(); + setPluginName("practicewarning"); } /** @@ -98,6 +99,7 @@ public class PracticeWarningRecord extends AbstractWarningRecord { public PracticeWarningRecord(String uri) { super(uri); } + @Override @Column @Access(AccessType.PROPERTY) diff --git a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/WarningRecord.java b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/WarningRecord.java index aa8859a38e..0705416ce2 100644 --- a/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/WarningRecord.java +++ b/edexOsgi/com.raytheon.uf.common.dataplugin.warning/src/com/raytheon/uf/common/dataplugin/warning/WarningRecord.java @@ -50,6 +50,7 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; * May 02, 2013 1949 rjpeter Removed ugcZones. * May 07, 2013 1869 bsteffen Remove dataURI column from * PluginDataObject. + * Aug 13, 2013 2253 mnash Fixed null data uri errors * * * @author bwoodle @@ -137,6 +138,7 @@ public class WarningRecord extends AbstractWarningRecord { */ public WarningRecord() { super(); + setPluginName("warning"); } /** @@ -160,6 +162,7 @@ public class WarningRecord extends AbstractWarningRecord { public WarningRecord(String uri) { super(uri); } + @Override @Column @Access(AccessType.PROPERTY)