Modify pom file
[nemo.git] / nemo-tools / eclipse-plugin-project / nemo-rest / org.opendaylight.nemo.tool.eclipse.plugin.rest / src / org / opendaylight / nemo / tool / eclipse / plugin / rest / actions / model / MatchValue.java
1 package org.opendaylight.nemo.tool.eclipse.plugin.rest.actions.model;
2
3 import org.json.JSONObject;
4
5 /**
6  * Created by hj on 10/29/15.
7  */
8 public class MatchValue implements INemoItem {
9     private String value;
10     public String getValue(){
11         return value;
12     }
13     public MatchValue(String value) {
14         this.value = value;
15     }
16
17     @Override
18     public JSONObject toJSONObject() {
19         JSONObject valueJson = new JSONObject();
20         valueJson.put("match-item-value",value);
21         return valueJson;
22     }
23 }