Merge "Issue #1869 Remove dataURI column from PluginDataObject. Change-Id: I3450130d8e68c065683794ba941a83897fe36745" into development

Former-commit-id: 4ccc1fe35f [formerly 614b7633f9] [formerly ef69a8dbca] [formerly b361674d5c [formerly ef69a8dbca [formerly 798845cfdf3356f5badae8cdd1cceb84094651c5]]]
Former-commit-id: b361674d5c
Former-commit-id: 905463abd86305efe5c16fd5f21792e2fa29d42f [formerly 7ca31bd7ce]
Former-commit-id: 03d18c9482
This commit is contained in:
Richard Peter 2013-05-09 09:25:24 -05:00 committed by Gerrit Code Review
commit 9b4a7b7225
93 changed files with 1049 additions and 53 deletions

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,12 @@ public class BufrMosAvnData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.AVN; return MOSType.AVN;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,12 @@ public class BufrMosEtaData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.ETA; return MOSType.ETA;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,11 @@ public class BufrMosGfsData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.GFS; return MOSType.GFS;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,10 @@ public class BufrMosHpcData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.HPC; return MOSType.HPC;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,10 @@ public class BufrMosLampData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.LAMP; return MOSType.LAMP;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,10 @@ public class BufrMosMrfData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.MRF; return MOSType.MRF;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.edex.plugin.bufrmos.common; package com.raytheon.edex.plugin.bufrmos.common;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* May 25, 2011 rjpeter Initial creation * May 25, 2011 rjpeter Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -71,4 +76,10 @@ public class BufrMosNgmData extends BufrMosData {
public MOSType getType() { public MOSType getType() {
return MOSType.NGM; return MOSType.NGM;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -20,6 +20,8 @@
package com.raytheon.edex.plugin.ccfp; package com.raytheon.edex.plugin.ccfp;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -54,6 +56,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 09/21/2009 3072 bsteffen Removed times because they are stored in DataTime * 09/21/2009 3072 bsteffen Removed times because they are stored in DataTime
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* *
* </pre> * </pre>
@ -289,4 +293,10 @@ public class CcfpRecord extends PluginDataObject implements ISpatialEnabled {
this.location = location; this.location = location;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -31,6 +31,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -61,11 +63,14 @@ import com.vividsolutions.jts.geom.Geometry;
* *
* SOFTWARE HISTORY * SOFTWARE HISTORY
* *
* ate Ticket# Engineer Description * Date Ticket# Engineer Description
* ----------- ---------- ----------- -------------------------- * ----------- ---------- ----------- --------------------------
* 9/30/09 vkorolev Initial creation * 9/30/09 vkorolev Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author vkorolev * @author vkorolev
@ -2317,5 +2322,11 @@ IDecoderGettable {
public String getRawMessage() { public String getRawMessage() {
return rawMessage; return rawMessage;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -29,6 +29,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -64,11 +66,14 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* *
* SOFTWARE HISTORY * SOFTWARE HISTORY
* *
* ate Ticket# Engineer Description * Date Ticket# Engineer Description
* ----------- ---------- ----------- -------------------------- * ----------- ---------- ----------- --------------------------
* 10/07/09 vkorolev Initial creation * 10/07/09 vkorolev Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author vkorolev * @author vkorolev
@ -386,4 +391,10 @@ public class ProfilerLdadObs extends PersistablePluginDataObject implements
return reportType; return reportType;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -24,6 +24,8 @@ import java.util.Collection;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -63,6 +65,8 @@ import com.vividsolutions.jts.geom.Geometry;
* 20080303 1026 jkorman Initial implementation. * 20080303 1026 jkorman Initial implementation.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -907,4 +911,10 @@ public class SoundingSite extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,9 @@ package com.raytheon.edex.plugin.obs.mesowest;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
@ -44,6 +47,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* 2/14/2007 139 Phillippe Initial creation * 2/14/2007 139 Phillippe Initial creation
* 20071129 472 jkorman Added IDecoderGettable interface. * 20071129 472 jkorman Added IDecoderGettable interface.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* *
* </pre> * </pre>
@ -347,4 +352,10 @@ public class MesowestRecord extends PluginDataObject {
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -30,6 +30,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -66,6 +68,9 @@ import com.vividsolutions.jts.geom.Geometry;
* 20080107 720 jkorman remove default assignments from attributes. * 20080107 720 jkorman remove default assignments from attributes.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -708,4 +713,10 @@ public class RECCORecord extends PluginDataObject implements ISpatialEnabled,
return location; return location;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ import java.util.Arrays;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -65,6 +67,9 @@ import com.raytheon.uf.common.time.DataTime;
* 20130408 1293 bkowal Removed references to hdffileid. * 20130408 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* Apr 29, 2013 1958 bgonzale Added equals and hashcode. * Apr 29, 2013 1958 bgonzale Added equals and hashcode.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -459,4 +464,11 @@ public class RedbookRecord extends PersistablePluginDataObject
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -27,16 +27,19 @@ import java.util.GregorianCalendar;
import java.util.List; import java.util.List;
import java.util.TimeZone; import java.util.TimeZone;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Transient; import javax.persistence.Transient;
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAccessorType;
import com.raytheon.uf.common.dataplugin.shef.util.ParameterCode;
import com.raytheon.uf.common.dataplugin.shef.util.SHEFTimezone;
import com.raytheon.edex.plugin.shef.util.SHEFDate; import com.raytheon.edex.plugin.shef.util.SHEFDate;
import com.raytheon.edex.plugin.shef.util.ShefUtil; import com.raytheon.edex.plugin.shef.util.ShefUtil;
import com.raytheon.uf.common.dataplugin.IDecoderGettable; import com.raytheon.uf.common.dataplugin.IDecoderGettable;
import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.PluginDataObject;
import com.raytheon.uf.common.dataplugin.shef.util.ParameterCode;
import com.raytheon.uf.common.dataplugin.shef.util.SHEFTimezone;
import com.raytheon.uf.common.dataplugin.shef.util.ShefConstants; import com.raytheon.uf.common.dataplugin.shef.util.ShefConstants;
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.DataTime;
@ -49,6 +52,8 @@ import com.raytheon.uf.common.time.DataTime;
* June2006 3,14 Phillippe Initial Creation. * June2006 3,14 Phillippe Initial Creation.
* 20071129 472 jkorman Added IDecoderGettable interface. * 20071129 472 jkorman Added IDecoderGettable interface.
* 19Mar2008 387 M. Duff Modified to store SHEF data. * 19Mar2008 387 M. Duff Modified to store SHEF data.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -614,4 +619,10 @@ public class ShefRecord extends PluginDataObject {
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -25,6 +25,8 @@ import java.util.HashSet;
import java.util.Iterator; import java.util.Iterator;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -64,6 +66,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 20071129 472 jkorman Added IDecoderGettable interface. * 20071129 472 jkorman Added IDecoderGettable interface.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -417,4 +421,10 @@ public class TafRecord extends PluginDataObject implements ISpatialEnabled {
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,8 @@
**/ **/
package com.raytheon.edex.plugin.text; package com.raytheon.edex.plugin.text;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
@ -37,6 +39,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Date Ticket# Engineer Description * Date Ticket# Engineer Description
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* Dec 5, 2008 jkorman Initial creation * Dec 5, 2008 jkorman Initial creation
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -97,4 +101,11 @@ public class TextRecord extends PluginDataObject {
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -31,6 +31,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -70,6 +72,8 @@ import com.vividsolutions.jts.geom.Geometry;
* May 21, 2009 2338 jsanchez Updated the getMessageData. * May 21, 2009 2338 jsanchez Updated the getMessageData.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -787,4 +791,10 @@ public class ACARSRecord extends PluginDataObject implements ISpatialEnabled,
return result; return result;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -28,6 +28,8 @@ import java.util.Set;
import javax.measure.quantity.Angle; import javax.measure.quantity.Angle;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
@ -65,6 +67,8 @@ import com.vividsolutions.jts.geom.Geometry;
* 20090403 1939 jkorman Initial creation * 20090403 1939 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -376,4 +380,10 @@ public class ACARSSoundingRecord extends PluginDataObject implements
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -35,6 +35,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -72,11 +74,12 @@ import com.vividsolutions.jts.geom.Geometry;
* 20120405 435 dgilling Prevent NullPointerExceptions in * 20120405 435 dgilling Prevent NullPointerExceptions in
* buildMessageData(). * buildMessageData().
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* ======================================
* AWIPS2 DR Work
* 20120911 1011 jkorman Added ability to report turbulence from decoded * 20120911 1011 jkorman Added ability to report turbulence from decoded
* TB group. * TB group.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -862,4 +865,10 @@ public class AirepRecord extends PluginDataObject implements ISpatialEnabled,
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@ package com.raytheon.uf.common.dataplugin.binlightning;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -76,6 +78,9 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 20130408 1293 bkowal Removed references to hdffileid. * 20130408 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -495,4 +500,10 @@ public class BinLightningRecord extends
} }
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.bufrascat;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -62,6 +64,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Jun 18, 2009 2624 jkorman Initial creation * Jun 18, 2009 2624 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -389,4 +393,10 @@ public class AScatObs extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.bufrhdw;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -61,6 +63,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Jun 18, 2009 jkorman Initial creation * Jun 18, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -676,4 +680,10 @@ public class BufrHDWObs extends PersistablePluginDataObject implements
} }
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.bufrmthdw;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -61,6 +63,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Jul 26, 2010 jkorman Initial creation * Jul 26, 2010 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -676,4 +680,10 @@ public class BufrMTHDWObs extends PersistablePluginDataObject implements
} }
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,9 @@ package com.raytheon.uf.common.dataplugin.ncwf;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -59,6 +62,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Aug 17, 2009 jkorman Initial creation * Aug 17, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -275,4 +280,10 @@ public class BUFRncwf extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.bufrquikscat;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -62,6 +64,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Jun 18, 2009 2520 jkorman Initial creation * Jun 18, 2009 2520 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -389,4 +393,10 @@ public class QUIKScatObs extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@ package com.raytheon.uf.common.dataplugin.bufrsigwx;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -60,6 +62,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Jun 18, 2009 jkorman Initial creation * Jun 18, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -313,4 +317,10 @@ public class SigWxData extends PersistablePluginDataObject implements
return obs; return obs;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.bufrssmi;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -62,6 +64,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Jun 18, 2009 jkorman Initial creation * Jun 18, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -404,4 +408,10 @@ public class SSMIScanData extends PersistablePluginDataObject implements
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -36,6 +36,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -86,6 +88,9 @@ import com.vividsolutions.jts.geom.Geometry;
* getValue. * getValue.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -916,4 +921,10 @@ public class UAObs extends PersistablePluginDataObject implements
System.out.println(test.dataURI); System.out.println(test.dataURI);
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,9 @@ package com.raytheon.uf.common.dataplugin.cwa;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -56,6 +59,8 @@ import com.vividsolutions.jts.geom.Coordinate;
* Feb 1, 2010 jsanchez Initial creation * Feb 1, 2010 jsanchez Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -191,4 +196,10 @@ public class CWARecord extends PersistablePluginDataObject implements
} }
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.cwat;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.util.HashMap; import java.util.HashMap;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -75,6 +77,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -564,4 +568,10 @@ public class CWATRecord extends PersistablePluginDataObject
return threats; return threats;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -30,6 +30,8 @@ import java.util.List;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentMap;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -85,6 +87,8 @@ import com.raytheon.uf.common.time.util.ImmutableDate;
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* Apr 16, 2013 1912 bsteffen Initial bulk hdf5 access for ffmp * Apr 16, 2013 1912 bsteffen Initial bulk hdf5 access for ffmp
* Apr 18, 2013 1919 dhladky Added method for VGB loading * Apr 18, 2013 1919 dhladky Added method for VGB loading
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -715,4 +719,10 @@ public class FFMPRecord extends PersistablePluginDataObject
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@ package com.raytheon.uf.common.dataplugin.fog;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -64,6 +66,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -700,4 +704,10 @@ public class FogRecord extends PersistablePluginDataObject
public Calendar getRefHour() { public Calendar getRefHour() {
return refHour; return refHour;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -13,6 +13,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -1260,4 +1262,10 @@ public class FSSObsRecord extends PersistablePluginDataObject implements
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -28,6 +28,9 @@ import java.util.Calendar;
import java.util.List; import java.util.List;
import java.util.TimeZone; import java.util.TimeZone;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.FetchType; import javax.persistence.FetchType;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -72,6 +75,9 @@ import com.raytheon.uf.common.time.TimeRange;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* Apr 23, 2013 1949 rjpeter Normalized database structure. * Apr 23, 2013 1949 rjpeter Normalized database structure.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author randerso * @author randerso
@ -274,4 +280,11 @@ public class GFERecord extends PluginDataObject {
} }
} }
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -28,6 +28,8 @@ import java.util.List;
import javax.measure.quantity.Angle; import javax.measure.quantity.Angle;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -70,6 +72,8 @@ import com.vividsolutions.jts.geom.Geometry;
* 20080414 1077 jkorman Initial implementation. * 20080414 1077 jkorman Initial implementation.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -523,4 +527,10 @@ public class GOESSounding extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -25,6 +25,8 @@ import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.TimeZone; import java.util.TimeZone;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -67,6 +69,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -641,4 +645,10 @@ public class GribRecord extends PersistablePluginDataObject implements
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,9 @@ package com.raytheon.uf.common.dataplugin.grid;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
import javax.persistence.PrimaryKeyJoinColumn; import javax.persistence.PrimaryKeyJoinColumn;
@ -61,6 +64,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* May 21, 2012 bsteffen Initial creation * May 21, 2012 bsteffen Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -252,4 +257,10 @@ public class GridRecord extends PersistablePluginDataObject implements
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -32,6 +32,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -66,11 +68,14 @@ import com.vividsolutions.jts.geom.Geometry;
* *
* SOFTWARE HISTORY * SOFTWARE HISTORY
* *
* ate Ticket# Engineer Description * Date Ticket# Engineer Description
* ----------- ---------- ----------- -------------------------- * ----------- ---------- ----------- --------------------------
* 9/30/09 vkorolev Initial creation * 9/30/09 vkorolev Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author vkorolev * @author vkorolev
@ -1147,4 +1152,10 @@ public class HydroLdadRecord extends PersistablePluginDataObject implements
public PointDataView getPointDataView() { public PointDataView getPointDataView() {
return this.pointDataView; return this.pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -32,6 +32,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -67,11 +69,14 @@ import com.vividsolutions.jts.geom.Geometry;
* *
* SOFTWARE HISTORY * SOFTWARE HISTORY
* *
* ate Ticket# Engineer Description * Date Ticket# Engineer Description
* ----------- ---------- ----------- -------------------------- * ----------- ---------- ----------- --------------------------
* 9/4/09 vkorolev Initial creation * 9/4/09 vkorolev Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author vkorolev * @author vkorolev
@ -1836,4 +1841,10 @@ public class MesonetLdadRecord extends PersistablePluginDataObject implements
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -31,6 +31,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -69,6 +71,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Oct 1, 2009 jkorman Initial creation * Oct 1, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -547,4 +551,10 @@ public class LocalStormReport extends PersistablePluginDataObject implements
.getEventUnits())); .getEventUnits()));
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.uf.common.dataplugin.npp.crimss; package com.raytheon.uf.common.dataplugin.npp.crimss;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -42,6 +45,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* Dec 2, 2011 bsteffen Initial creation * Dec 2, 2011 bsteffen Initial creation
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -72,4 +77,11 @@ public class CrimssRecord extends NPPSoundingRecord {
public static final String PDV_P_H2O = "PressureLevels_H2O"; public static final String PDV_P_H2O = "PressureLevels_H2O";
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
**/ **/
package com.raytheon.uf.common.dataplugin.npp.nucaps; package com.raytheon.uf.common.dataplugin.npp.nucaps;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -42,6 +45,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* Jan 15, 2013 mschenke Initial creation * Jan 15, 2013 mschenke Initial creation
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -80,4 +85,11 @@ public class NucapsRecord extends NPPSoundingRecord {
public static final String PDV_QUALITY_FLAG = "Quality_Flag"; public static final String PDV_QUALITY_FLAG = "Quality_Flag";
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.TimeZone; import java.util.TimeZone;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -54,6 +56,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Nov 30, 2011 mschenke Initial creation * Nov 30, 2011 mschenke Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -292,4 +296,10 @@ public class VIIRSDataRecord extends PersistablePluginDataObject implements
public IDecoderGettable getDecoderGettable() { public IDecoderGettable getDecoderGettable() {
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -39,6 +39,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -89,6 +91,9 @@ import com.raytheon.uf.common.time.util.TimeUtil;
* 20090629 2538 jsanchez Made the sort public. * 20090629 2538 jsanchez Made the sort public.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author bphillip * @author bphillip
@ -1702,4 +1707,10 @@ public class MetarRecord extends PersistablePluginDataObject implements
public static Set<String> getAvailableParameters() { public static Set<String> getAvailableParameters() {
return PARM_MAP.keySet(); return PARM_MAP.keySet();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -33,6 +33,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
@ -80,6 +82,8 @@ import com.vividsolutions.jts.geom.Geometry;
* as separated code to generate distinct max icing/turbulence levels. Removed * as separated code to generate distinct max icing/turbulence levels. Removed
* code that used "display" boolean to determine data access. * code that used "display" boolean to determine data access.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -816,4 +820,10 @@ public class PirepRecord extends PluginDataObject implements ISpatialEnabled,
return false; return false;
return true; return true;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -27,6 +27,8 @@ import java.util.Set;
import javax.measure.quantity.Angle; import javax.measure.quantity.Angle;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -65,6 +67,8 @@ import com.vividsolutions.jts.geom.Geometry;
* 20080303 1026 jkorman Initial implementation. * 20080303 1026 jkorman Initial implementation.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -346,4 +350,10 @@ public class POESSounding extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ import java.io.ByteArrayInputStream;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.util.Map; import java.util.Map;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -77,6 +79,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -606,4 +610,10 @@ public class PrecipRateRecord extends PersistablePluginDataObject
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -32,6 +32,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -75,6 +77,8 @@ import com.vividsolutions.jts.geom.Geometry;
* 20090610 2489 jsanchez Updated the windSpeeed & windDirection. * 20090610 2489 jsanchez Updated the windSpeeed & windDirection.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -687,4 +691,10 @@ public class ProfilerObs extends PersistablePluginDataObject implements
return result; return result;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.qc;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embeddable; import javax.persistence.Embeddable;
import javax.persistence.Embedded; import javax.persistence.Embedded;
@ -57,6 +59,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 12/07/2009 3408 bphillip Initial creation * 12/07/2009 3408 bphillip Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -1967,4 +1971,10 @@ public class QCRecord extends PluginDataObject implements ISpatialEnabled {
public void setPointDataView(FakePointDataView pointDataView) { public void setPointDataView(FakePointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,8 @@
**/ **/
package com.raytheon.uf.common.dataplugin.qpf; package com.raytheon.uf.common.dataplugin.qpf;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -68,6 +70,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 #1293 bkowal Removed references to hdffileid. * 04/08/13 #1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -582,4 +586,10 @@ public class QPFRecord extends PersistablePluginDataObject
return getSpatialInfo(); return getSpatialInfo();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -33,6 +33,8 @@ import java.util.Vector;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.measure.unit.UnitFormat; import javax.measure.unit.UnitFormat;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -127,6 +129,9 @@ import com.vividsolutions.jts.geom.Coordinate;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 08, 2013 1293 bkowal Removed references to hdffileid. * Apr 08, 2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author bphillip * @author bphillip
@ -1742,4 +1747,10 @@ public class RadarRecord extends PersistablePluginDataObject implements
this.setThresholds(storedData.getThresholds()); this.setThresholds(storedData.getThresholds());
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -20,6 +20,8 @@
package com.raytheon.uf.common.dataplugin.satellite; package com.raytheon.uf.common.dataplugin.satellite;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -67,6 +69,9 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* constructor. * constructor.
* 04/08/2013 1293 bkowal Removed references to hdffileid. * 04/08/2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author bphillip * @author bphillip
@ -401,4 +406,10 @@ public class SatelliteRecord extends PersistablePluginDataObject
return dataRec; return dataRec;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ import java.io.ByteArrayInputStream;
import java.util.Date; import java.util.Date;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -72,6 +74,8 @@ import com.raytheon.uf.common.status.UFStatus.Priority;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 8, 2013 1293 bkowal Removed references to hdffileid. * Apr 8, 2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -397,4 +401,10 @@ public class ScanRecord extends PersistablePluginDataObject {
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -34,6 +34,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -72,6 +74,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Oct 1, 2009 jkorman Initial creation * Oct 1, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -1664,4 +1668,10 @@ public class ObsCommon extends PersistablePluginDataObject implements
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@ package com.raytheon.uf.common.dataplugin.svrwx;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -58,6 +60,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Jan 4, 2010 jsanchez Initial creation * Jan 4, 2010 jsanchez Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -290,4 +294,10 @@ public class SvrWxRecord extends PersistablePluginDataObject implements
sb.append(String.format("%6.2f %7.2f:", getLatitude(), getLongitude())); sb.append(String.format("%6.2f %7.2f:", getLatitude(), getLongitude()));
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@ package com.raytheon.uf.common.dataplugin.tcg;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -58,6 +60,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Oct 28, 2009 jsanchez Initial creation * Oct 28, 2009 jsanchez Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -291,4 +295,10 @@ public class TropicalCycloneGuidance extends PersistablePluginDataObject
sb.append(String.format("%6.2f %7.2f:", getLatitude(), getLongitude())); sb.append(String.format("%6.2f %7.2f:", getLatitude(), getLongitude()));
return sb.toString(); return sb.toString();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ package com.raytheon.uf.common.dataplugin.tcs;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -59,6 +61,8 @@ import com.vividsolutions.jts.geom.Geometry;
* Nov 12, 2009 jsanchez Initial creation * Nov 12, 2009 jsanchez Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -334,4 +338,10 @@ public class TropicalCycloneSummary extends PersistablePluginDataObject
} }
return s; return s;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -59,6 +61,9 @@ import com.vividsolutions.jts.geom.Geometry;
* Nov 4, 2009 jkorman Initial creation * Nov 4, 2009 jkorman Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -474,4 +479,10 @@ public class VAARecord extends PluginDataObject implements
// "\r\r\nANTICIPATED DURING THE NEXT 12 HOURS. ...BALDWIN" + // "\r\r\nANTICIPATED DURING THE NEXT 12 HOURS. ...BALDWIN" +
// "\r\r\nNXT ADVISORY: WILL BE ISSUED BY 20091104/2315Z" + // "\r\r\nNXT ADVISORY: WILL BE ISSUED BY 20091104/2315Z" +
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,8 @@
**/ **/
package com.raytheon.uf.common.dataplugin.vil; package com.raytheon.uf.common.dataplugin.vil;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -65,6 +67,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 #1293 bkowal Removed references to hdffileid. * 04/08/13 #1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -483,4 +487,10 @@ public class VILRecord extends PersistablePluginDataObject
return getSpatialInfo(); return getSpatialInfo();
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,9 @@ package com.raytheon.uf.common.dataplugin.warning;
import java.util.List; import java.util.List;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -46,6 +49,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* 10/04/2011 10049 bgonzale initial creation * 10/04/2011 10049 bgonzale initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -110,4 +115,10 @@ public class PracticeWarningRecord extends AbstractWarningRecord {
} }
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -24,6 +24,9 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
import javax.persistence.Table; import javax.persistence.Table;
@ -48,6 +51,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
* 03/12/2007 1003 bwoodle initial creation * 03/12/2007 1003 bwoodle initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -171,4 +176,10 @@ public class WarningRecord extends AbstractWarningRecord {
} }
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -81,6 +81,8 @@ import com.raytheon.uf.common.util.ConvertUtil;
* Apr 15, 2013 1868 bsteffen Improved performance of createDataURIMap * Apr 15, 2013 1868 bsteffen Improved performance of createDataURIMap
* May 02, 2013 1970 bgonzale Moved Index annotation from getters to attributes. * May 02, 2013 1970 bgonzale Moved Index annotation from getters to attributes.
* </pre> * </pre>
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
*/ */
@MappedSuperclass @MappedSuperclass
@ -98,11 +100,6 @@ public abstract class PluginDataObject extends PersistableDataObject implements
@Id @Id
protected int id; protected int id;
@Column
@XmlAttribute
@DynamicSerializeElement
protected String dataURI;
/** The name of the plugin this object is associated with */ /** The name of the plugin this object is associated with */
@Transient @Transient
@XmlAttribute @XmlAttribute
@ -128,6 +125,9 @@ public abstract class PluginDataObject extends PersistableDataObject implements
@DynamicSerializeElement @DynamicSerializeElement
protected Object messageData; protected Object messageData;
@Transient
protected transient String dataURI;
/** Internal variable used for creating an object from a dataURI */ /** Internal variable used for creating an object from a dataURI */
@Transient @Transient
private transient int uriIndex = 2; private transient int uriIndex = 2;
@ -149,20 +149,13 @@ public abstract class PluginDataObject extends PersistableDataObject implements
} }
/** /**
* Constructs the dataURI for this object * Deprecated: getDataURI will generate the datauri on demand, no need to
* * construct it.
* @param tableDef
* The tabledefinition corresponding to this data type
* @throws PluginException
* If errors occur during dataURI creation
*/ */
@Deprecated
public void constructDataURI() throws PluginException { public void constructDataURI() throws PluginException {
if (dataURI == null) { this.dataURI = null;
StringBuffer uriBuffer = new StringBuffer(); getDataURI();
uriBuffer.append(DataURI.SEPARATOR).append(pluginName);
uriBuffer = generateURI(this, uriBuffer);
this.dataURI = uriBuffer.toString().replaceAll(" ", "_");
}
} }
/** /**
@ -175,7 +168,7 @@ public abstract class PluginDataObject extends PersistableDataObject implements
* The dataURI StringBuffer * The dataURI StringBuffer
* @return The updated dataURI * @return The updated dataURI
*/ */
private StringBuffer generateURI(Object obj, StringBuffer uriBuffer) { private void generateURI(Object obj, StringBuilder uriBuffer) {
// Get the fields with @DataURI annotation // Get the fields with @DataURI annotation
Field[] dataURIFields = DataURIUtil.getInstance().getDataURIFields( Field[] dataURIFields = DataURIUtil.getInstance().getDataURIFields(
@ -192,8 +185,20 @@ public abstract class PluginDataObject extends PersistableDataObject implements
e.printStackTrace(); e.printStackTrace();
} }
if (field.getAnnotation(DataURI.class).embedded()) { if (field.getAnnotation(DataURI.class).embedded()) {
// Recursive call to get dataURI elements from embedded object if (property == null) {
uriBuffer = generateURI(property, uriBuffer); // Populate datauri with all "null" for null embedded
// objects.
int numFields = DataURIUtil.getInstance().getDataURIFields(
field.getClass()).length;
for (int f = 0; f < numFields; f += 1) {
uriBuffer.append(DataURI.SEPARATOR).append(
String.valueOf(null));
}
} else {
// Recursive call to get dataURI elements from embedded
// object
generateURI(property, uriBuffer);
}
} else { } else {
// Append to the dataURI buffer // Append to the dataURI buffer
uriBuffer.append(DataURI.SEPARATOR); uriBuffer.append(DataURI.SEPARATOR);
@ -208,7 +213,6 @@ public abstract class PluginDataObject extends PersistableDataObject implements
} }
} }
} }
return uriBuffer;
} }
/** /**
@ -487,6 +491,12 @@ public abstract class PluginDataObject extends PersistableDataObject implements
} }
public String getDataURI() { public String getDataURI() {
if (dataURI == null && pluginName != null) {
StringBuilder uriBuffer = new StringBuilder(160);
uriBuffer.append(DataURI.SEPARATOR).append(pluginName);
generateURI(this, uriBuffer);
this.dataURI = uriBuffer.toString().replaceAll(" ", "_");
}
return this.dataURI; return this.dataURI;
} }

View file

@ -33,11 +33,13 @@ import java.util.Iterator;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Map.Entry;
import java.util.Set; import java.util.Set;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentMap;
import org.hibernate.Criteria; import org.hibernate.Criteria;
import org.hibernate.QueryException;
import org.hibernate.Session; import org.hibernate.Session;
import org.hibernate.Transaction; import org.hibernate.Transaction;
import org.hibernate.criterion.Projections; import org.hibernate.criterion.Projections;
@ -103,6 +105,8 @@ import com.raytheon.uf.edex.database.query.DatabaseQuery;
* replace only operations. * replace only operations.
* Apr 04, 2013 djohnson Remove formerly removed methods that won't compile. * Apr 04, 2013 djohnson Remove formerly removed methods that won't compile.
* Apr 15, 2013 1868 bsteffen Rewrite mergeAll in PluginDao. * Apr 15, 2013 1868 bsteffen Rewrite mergeAll in PluginDao.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -125,6 +129,9 @@ public abstract class PluginDao extends CoreDao {
protected static final ConcurrentMap<Class<?>, DuplicateCheckStat> pluginDupCheckRate = new ConcurrentHashMap<Class<?>, DuplicateCheckStat>(); protected static final ConcurrentMap<Class<?>, DuplicateCheckStat> pluginDupCheckRate = new ConcurrentHashMap<Class<?>, DuplicateCheckStat>();
// Map for tracking which PDOs store dataURI as a column in the DB.
protected static final ConcurrentMap<Class<?>, Boolean> pluginDataURIColumn = new ConcurrentHashMap<Class<?>, Boolean>();
/** The base path of the folder containing HDF5 data for the owning plugin */ /** The base path of the folder containing HDF5 data for the owning plugin */
public final String PLUGIN_HDF5_DIR; public final String PLUGIN_HDF5_DIR;
@ -344,23 +351,31 @@ public abstract class PluginDao extends CoreDao {
private void populateDatauriCriteria(Criteria criteria, PluginDataObject pdo) private void populateDatauriCriteria(Criteria criteria, PluginDataObject pdo)
throws PluginException { throws PluginException {
Class<? extends PluginDataObject> pdoClazz = pdo.getClass();
Boolean hasDataURIColumn = pluginDataURIColumn.get(pdoClazz);
if (!Boolean.FALSE.equals(hasDataURIColumn)) {
try {
getSessionFactory().getClassMetadata(pdoClazz)
.getPropertyType("dataURI");
criteria.add(Restrictions.eq("dataURI", pdo.getDataURI())); criteria.add(Restrictions.eq("dataURI", pdo.getDataURI()));
return;
// TODO this code block can be used if we drop the dataURI column. } catch (QueryException e) {
hasDataURIColumn = Boolean.FALSE;
// for (Entry<String, Object> uriEntry : pluginDataURIColumn.put(pdoClazz, hasDataURIColumn);
// pdo.createDataURIMap().entrySet()) { }
// String key = uriEntry.getKey(); }
// Object value = uriEntry.getValue(); // This means dataURI is not a column.
// if (key.equals("pluginName")) { for (Entry<String, Object> uriEntry : pdo.createDataURIMap().entrySet()) {
// ;// this is not in the db, only used internally. String key = uriEntry.getKey();
// } else if (value == null) { Object value = uriEntry.getValue();
// criteria.add(Restrictions.isNull(key)); if (key.equals("pluginName")) {
// } else { ;// this is not in the db, only used internally.
// criteria.add(Restrictions.eq(key, value)); } else if (value == null) {
// } criteria.add(Restrictions.isNull(key));
// } } else {
criteria.add(Restrictions.eq(key, value));
}
}
} }
/** /**

View file

@ -31,6 +31,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -63,6 +65,8 @@ import com.vividsolutions.jts.geom.Geometry;
* ------------ ---------- ----------- -------------------------- * ------------ ---------- ----------- --------------------------
* Mar 3, 2009 jkorman Initial creation * Mar 3, 2009 jkorman Initial creation
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -763,4 +767,10 @@ IDecoderGettable {
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,9 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -30,6 +33,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -333,4 +338,10 @@ public class AirmetRecord extends PluginDataObject{
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -24,6 +24,8 @@ import gov.noaa.nws.ncep.common.tools.IDecoderConstantsN;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -57,6 +59,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 03/10/12 606 G. Hull added reportType to URI * 03/10/12 606 G. Hull added reportType to URI
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -748,4 +752,10 @@ public class AtcfRecord extends PluginDataObject {
this.userData = userData; this.userData = userData;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -25,6 +25,9 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -36,6 +39,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -357,4 +362,10 @@ public class AwwRecord extends PluginDataObject{
this.mndTime = mndTime; this.mndTime = mndTime;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -13,6 +13,9 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -26,6 +29,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -295,4 +300,10 @@ public class ConvSigmetRecord extends PluginDataObject{
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -17,7 +17,10 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
</pre> * May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre>
* *
* @author T.Lee * @author T.Lee
* @version 1.0 * @version 1.0
@ -29,6 +32,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -289,4 +294,11 @@ public class FfgRecord extends PluginDataObject {
} }
}*/ }*/
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -15,6 +15,8 @@
* 05/27/10 100 F. J. Yen Refactored from to11dr3 for tolldr11 * 05/27/10 100 F. J. Yen Refactored from to11dr3 for tolldr11
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* * * *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -31,6 +33,8 @@ import gov.noaa.nws.ncep.common.tools.IDecoderConstantsN;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -196,4 +200,11 @@ public class IdftRecord extends PluginDataObject{
this.distanceNm=distanceNm; this.distanceNm=distanceNm;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -15,6 +15,9 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -28,6 +31,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -570,4 +575,10 @@ public class IntlSigmetRecord extends PluginDataObject{
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -16,6 +16,9 @@
* 09/2012 B. Hebbard Merge out RTS changes from OB12.9.1 * 09/2012 B. Hebbard Merge out RTS changes from OB12.9.1
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author tlee * @author tlee
@ -26,6 +29,8 @@ package gov.noaa.nws.ncep.common.dataplugin.mcidas;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.ManyToOne; import javax.persistence.ManyToOne;
@ -367,4 +372,11 @@ public class McidasRecord extends PersistablePluginDataObject implements
public void setImageTypeNumber(Integer imageTypeNumber) { public void setImageTypeNumber(Integer imageTypeNumber) {
this.imageTypeNumber = imageTypeNumber; this.imageTypeNumber = imageTypeNumber;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -69,6 +71,9 @@ import com.vividsolutions.jts.geom.Geometry;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -889,4 +894,10 @@ public class NcAirepRecord extends PluginDataObject implements ISpatialEnabled,
this.pointDataView = pdv; this.pointDataView = pdv;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -3,6 +3,8 @@ package gov.noaa.nws.ncep.common.dataplugin.ncccfp;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -35,6 +37,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 26/05/2010 155 F. J. Yen Refactored to dataplugin for migration to to11dr11 * 26/05/2010 155 F. J. Yen Refactored to dataplugin for migration to to11dr11
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -332,4 +336,11 @@ public class NcccfpRecord extends PluginDataObject implements ISpatialEnabled {
this.location = location; this.location = location;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -23,6 +23,8 @@ package gov.noaa.nws.ncep.common.dataplugin.ncgrib;
import java.util.Arrays; import java.util.Arrays;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -68,6 +70,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/13 1293 bkowal Removed references to hdffileid. * 04/08/13 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -816,4 +820,11 @@ public class NcgribRecord extends PersistablePluginDataObject implements
this.decodedLevel2 = decodedLevel2; this.decodedLevel2 = decodedLevel2;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -24,6 +24,8 @@ package gov.noaa.nws.ncep.common.dataplugin.ncpafm;
import java.util.Calendar; import java.util.Calendar;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -72,6 +74,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 08 Apr 2013 1293 bkowal Removed references to hdffileid. * 08 Apr 2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -406,4 +410,11 @@ public class NcPafmRecord extends PersistablePluginDataObject implements
this.identifier = dataURI; this.identifier = dataURI;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -22,6 +22,8 @@ import javax.measure.quantity.Velocity;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -67,6 +69,9 @@ import com.vividsolutions.jts.geom.Geometry;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/2013 1293 bkowal Removed references to hdffileid. * 04/08/2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author jkorman * @author jkorman
@ -838,4 +843,10 @@ public class NcPirepRecord extends PluginDataObject implements ISpatialEnabled,
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -10,6 +10,7 @@
* 11/2009 Uma Josyula Initial creation * 11/2009 Uma Josyula Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 bsteffen Remove dataURI column from PluginDataObject.
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
*/ */
@ -18,6 +19,8 @@ package gov.noaa.nws.ncep.common.dataplugin.ncscat;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -158,4 +161,11 @@ public class NcscatRecord extends PersistablePluginDataObject {
public void setRecordLength(int recordLength) { public void setRecordLength(int recordLength) {
this.recordLength = recordLength; this.recordLength = recordLength;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -20,6 +20,8 @@
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/2013 1293 bkowal Removed references to hdffileid. * 04/2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from PluginDataObject.
*
* </pre> * </pre>
* *
* @author T.Lee * @author T.Lee
@ -40,6 +42,8 @@ import javax.measure.quantity.Temperature;
import javax.measure.unit.NonSI; import javax.measure.unit.NonSI;
import javax.measure.unit.SI; import javax.measure.unit.SI;
import javax.measure.unit.Unit; import javax.measure.unit.Unit;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -550,4 +554,11 @@ public class NcScdRecord extends PluginDataObject implements ISpatialEnabled,
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -19,6 +19,8 @@ import java.util.Set;
import java.util.SortedSet; import java.util.SortedSet;
import java.util.TreeSet; import java.util.TreeSet;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -51,7 +53,7 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools;
/** /**
* Record implementation for taf plugin * Record implementation for taf plugin
* *
* <pre * <pre>
* *
* SOFTWARE HISTORY * SOFTWARE HISTORY
* *
@ -69,8 +71,10 @@ import com.raytheon.uf.edex.decodertools.time.TimeTools;
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/08/2013 1293 bkowal Removed references to hdffileid. * 04/08/2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre * </pre>
* *
* @author sgurung * @author sgurung
* @version 1.0 * @version 1.0
@ -1608,6 +1612,13 @@ public class NcTafRecord extends PluginDataObject implements ISpatialEnabled,
return newRecords; return newRecords;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
/** /**
* *
* @param args * @param args

View file

@ -16,6 +16,8 @@
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* 04/2013 1293 bkowal Removed references to hdffileid. * 04/2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -32,6 +34,8 @@ import java.util.Date;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -562,4 +566,11 @@ public class NcUairRecord extends PersistablePluginDataObject implements
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -12,6 +12,7 @@
* removed xml serialization as well * removed xml serialization as well
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 bsteffen Remove dataURI column from PluginDataObject.
* *
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
*/ */
@ -24,6 +25,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -555,6 +558,11 @@ public class NonConvSigmetRecord extends PluginDataObject{
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -11,6 +11,7 @@
* 02/2013 B. Hebbard Initial creation * 02/2013 B. Hebbard Initial creation
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 bsteffen Remove dataURI column from PluginDataObject.
* *
* </pre> * </pre>
* This code has been developed by the SIB for use in the AWIPS2 system. * This code has been developed by the SIB for use in the AWIPS2 system.
@ -20,6 +21,8 @@ package gov.noaa.nws.ncep.common.dataplugin.ntrans;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -202,4 +205,11 @@ public class NtransRecord extends PersistablePluginDataObject {
public void setRecordLength(int recordLength) { public void setRecordLength(int recordLength) {
this.recordLength = recordLength; this.recordLength = recordLength;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -13,6 +13,9 @@
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 8, 2013 1293 bkowal Removed references to hdffileid. * Apr 8, 2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author chin chen * @author chin chen
@ -26,6 +29,8 @@ import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -1721,4 +1726,11 @@ public class SgwhRecord extends PluginDataObject implements IDecoderGettable,
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -13,6 +13,9 @@
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 8, 2013 1293 bkowal Removed references to hdffileid. * Apr 8, 2013 1293 bkowal Removed references to hdffileid.
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author chin chen * @author chin chen
@ -26,6 +29,8 @@ import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -532,4 +537,11 @@ public class SgwhvRecord extends PluginDataObject implements IDecoderGettable,
public void setPointDataView(PointDataView pointDataView) { public void setPointDataView(PointDataView pointDataView) {
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -1,5 +1,7 @@
package gov.noaa.nws.ncep.common.dataplugin.solarimage; package gov.noaa.nws.ncep.common.dataplugin.solarimage;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -35,6 +37,9 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 01/28/2013 865 qzhou Changed float to double for intTime. * 01/28/2013 865 qzhou Changed float to double for intTime.
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author sgurung, qzhou * @author sgurung, qzhou
@ -289,4 +294,10 @@ public class SolarImageRecord extends PersistablePluginDataObject {
} }
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -13,6 +13,8 @@
* saving data to HDF5) * saving data to HDF5)
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from PluginDataObject.
*
* </pre> * </pre>
* *
* @author Chin Chen * @author Chin Chen
@ -27,6 +29,8 @@ import java.util.Calendar;
import java.util.Collection; import java.util.Collection;
import java.util.Date; import java.util.Date;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Embedded; import javax.persistence.Embedded;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -2559,4 +2563,11 @@ public class SshaRecord extends PersistablePluginDataObject implements
this.pointDataView = pointDataView; this.pointDataView = pointDataView;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -24,6 +24,8 @@ import gov.noaa.nws.ncep.common.tools.IDecoderConstantsN;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -59,6 +61,8 @@ import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
* 10/19/2011 858 Greg Hull remove forecastHr * 10/19/2011 858 Greg Hull remove forecastHr
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -741,4 +745,11 @@ public class StormTrackRecord extends PluginDataObject {
this.userData = userData; this.userData = userData;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -17,6 +17,7 @@
* 07/2012 #606 Greg Huoll added reportType to the dataURI * 07/2012 #606 Greg Huoll added reportType to the dataURI
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from PluginDataObject.
* *
* </pre> * </pre>
* *
@ -32,6 +33,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -492,4 +495,11 @@ public class TcmRecord extends PluginDataObject {
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -18,6 +18,9 @@
* removed xml serialization as well * removed xml serialization as well
* * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
*
* </pre> * </pre>
* *
* @author F. J. Yen, SIB * @author F. J. Yen, SIB
@ -30,6 +33,8 @@ import java.util.Calendar;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.CascadeType; import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
@ -171,4 +176,10 @@ public class WcpRecord extends PluginDataObject{
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -16,6 +16,8 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -67,7 +69,8 @@ import com.vividsolutions.jts.geom.Coordinate;
* 09/2012 B. Hebbard Merge out RTS changes from OB12.9.1 * 09/2012 B. Hebbard Merge out RTS changes from OB12.9.1
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* * May 07, 2013 1869 bsteffen Remove dataURI column from
* PluginDataObject.
* *
* </pre> * </pre>
* *
@ -767,4 +770,11 @@ public class MosaicRecord extends PersistablePluginDataObject implements
// TODO Auto-generated method stub // TODO Auto-generated method stub
return null; return null;
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }

View file

@ -21,6 +21,8 @@
* 07/23/2010 191 Archana Added DataUri annotation to productType * 07/23/2010 191 Archana Added DataUri annotation to productType
* Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime * Apr 4, 2013 1846 bkowal Added an index on refTime and forecastTime
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation. * Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
* May 07, 2013 1869 bsteffen Remove dataURI column from PluginDataObject.
*
* </pre> * </pre>
* *
* @author Chin Chen * @author Chin Chen
@ -30,6 +32,8 @@ package gov.noaa.nws.ncep.edex.plugin.nctext.common;
import java.util.Calendar; import java.util.Calendar;
import javax.persistence.Access;
import javax.persistence.AccessType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.SequenceGenerator; import javax.persistence.SequenceGenerator;
@ -233,4 +237,11 @@ public class NctextRecord extends PluginDataObject {
public void printData(){ public void printData(){
System.out.print("\n" + rawRecord + "\n"); System.out.print("\n" + rawRecord + "\n");
} }
@Override
@Column
@Access(AccessType.PROPERTY)
public String getDataURI() {
return super.getDataURI();
}
} }