Author: [log in to unmask]
Date: Wed Jun 17 13:42:30 2015
New Revision: 3152
Log:
Change table name to 'svt_bias_constants' and a few minor changes.
Modified:
java/trunk/conditions/src/main/java/org/hps/conditions/svt/SvtBiasConstant.java
Modified: java/trunk/conditions/src/main/java/org/hps/conditions/svt/SvtBiasConstant.java
=============================================================================
--- java/trunk/conditions/src/main/java/org/hps/conditions/svt/SvtBiasConstant.java (original)
+++ java/trunk/conditions/src/main/java/org/hps/conditions/svt/SvtBiasConstant.java Wed Jun 17 13:42:30 2015
@@ -1,6 +1,3 @@
-/**
- *
- */
package org.hps.conditions.svt;
import java.util.Date;
@@ -17,10 +14,9 @@
* Encapsulates an SVT bias constant, which is range in time where bias was ON.
*
* @author Per Hansson Adrian <[log in to unmask]>
- *
*/
-@Table(names = "svt_bias")
-@Converter(multipleCollectionsAction = MultipleCollectionsAction.LAST_UPDATED)
+@Table(names = "svt_bias_constants")
+@Converter(multipleCollectionsAction = MultipleCollectionsAction.LAST_CREATED)
public final class SvtBiasConstant extends BaseConditionsObject {
/**
@@ -28,7 +24,6 @@
*/
@SuppressWarnings("serial")
public static class SvtBiasConstantCollection extends BaseConditionsObjectCollection<SvtBiasConstant> {
-
/**
* Find bias constant by date.
@@ -50,6 +45,7 @@
/**
* The start date.
+ *
* @return the start date
*/
@Field(names = {"start"})
@@ -59,6 +55,7 @@
/**
* The end date.
+ *
* @return the end date
*/
@Field(names = {"end"})
@@ -67,13 +64,12 @@
}
/**
- * The bias value
- * .
+ * The bias value.
+ *
* @return the bias value
*/
@Field(names = {"value"})
- public double getValue() {
+ public Double getValue() {
return getFieldValue("value");
}
-
}
|