Add Expose annotation
[clamp.git] / src / main / java / org / onap / clamp / clds / model / ValueItem.java
index 74b369f..4efef6e 100644 (file)
 
 package org.onap.clamp.clds.model;
 
+import com.google.gson.annotations.Expose;
+
 /**
  * ValueItem used for value lists.
  */
 public class ValueItem {
-    private String value;
-
-    /**
-     * Instantiate using value.
-     *
-     * @param value The value
-     */
-    public ValueItem(String value) {
-        this.value = value;
-    }
-
-    public ValueItem() {
-    }
-
-    /**
-     * Get the value.
-     * @return the value
-     */
-    public String getValue() {
-        return value;
-    }
-
-    /**
-     * Set the value.
-     * @param value
-     *            the value to set
-     */
-    public void setValue(String value) {
-        this.value = value;
-    }
+       @Expose
+       private String value;
+
+       /**
+        * Instantiate using value.
+        *
+        * @param value The value
+        */
+       public ValueItem(String value) {
+               this.value = value;
+       }
+
+       public ValueItem() {
+       }
+
+       /**
+        * Get the value.
+        * 
+        * @return the value
+        */
+       public String getValue() {
+               return value;
+       }
+
+       /**
+        * Set the value.
+        * 
+        * @param value the value to set
+        */
+       public void setValue(String value) {
+               this.value = value;
+       }
 
 }