Add support for ABATED alerts within CDAP TCA
[dcaegen2/analytics/tca.git] / dcae-analytics-model / src / main / java / org / openecomp / dcae / apod / analytics / model / domain / cef / NamedArrayOfFields.java
@@ -23,57 +23,33 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import java.util.List;
+
 /**
- * Usage of an array of virtual network interface cards
+ * An array of name value pairs along with a name for the array
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-public class VNicUsageArray extends BaseCEFModel {
-
+public class NamedArrayOfFields extends BaseCEFModel {
 
     private static final long serialVersionUID = 1L;
 
     /**
-     * Virtual Network Card - Bytes In
-     *
-     * @param bytesIn New value for Virtual Network Card - Bytes In
-     * @return Virtual Network Card - Bytes In
-     */
-    private Long bytesIn;
-
-    /**
-     * Virtual Network Card - Bytes Out
+     * Name of the NamedArrayOfFields
      *
-     * @param bytesOut New value for Virtual Network Card - Bytes Out
-     * @return Virtual Network Card - Bytes Out
+     * @param name New name for the Field
+     * @return Name of the Field
      */
-    private Long bytesOut;
+    private String name;
 
     /**
-     * Virtual Network Card - Packets In
+     * Array of name value pairs
      *
-     * @param packetsIn New value for Virtual Network Card - Packets In
-     * @return Virtual Network Card - Packets In
+     * @param arrayOfFields New value for array of name value pairs
+     * @return Array of name value pairs
      */
-    private Long packetsIn;
-
-    /**
-     * Virtual Network Card - Packets Out
-     *
-     * @param packetsOut New value for Virtual Network Card - Packets Out
-     * @return Virtual Network Card - Packets Out
-     */
-    private Long packetsOut;
-
-    /**
-     * Virtual Network Card Identifier
-     *
-     * @param vNicIdentifier New value for Virtual Network Card Identifier
-     * @return Virtual Network Card Identifier
-     */
-    private String vNicIdentifier;
-
+    private List<Field> arrayOfFields;
 
 }