TCA:Support for string & decimal policy FieldPath
[dcaegen2/analytics/tca.git] / dcae-analytics-model / src / main / java / org / openecomp / dcae / apod / analytics / model / domain / policy / tca / Threshold.java
index 0d6193d..4f98fa5 100644 (file)
@@ -24,6 +24,8 @@ import lombok.Data;
 import lombok.EqualsAndHashCode;\r
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;\r
 \r
+import java.math.BigDecimal;\r
+\r
 /**\r
  *\r
  * @author Rajiv Singla . Creation Date: 11/5/2016.\r
@@ -100,7 +102,7 @@ public class Threshold extends BaseTCAPolicyModel {
      * @param actualFieldValue new value for actual Field value that caused the violation\r
      * @return actual field value that caused the violation\r
      */\r
-    private Long actualFieldValue;\r
+    private BigDecimal actualFieldValue;\r
 \r
     /**\r
      * Creates a deep copy of give {@link Threshold}\r