Feature uses features-parent as parent
[groupbasedpolicy.git] / renderers / opflex / src / main / java / org / opendaylight / groupbasedpolicy / renderer / opflex / jsonrpc / JsonRpc10Response.java
1 /*
2  * Copyright (C) 2013 EBay Software Foundation
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Ashwin Raveendran, Madhu Venugopal
9  */
10 package org.opendaylight.groupbasedpolicy.renderer.opflex.jsonrpc;
11
12 import java.util.List;
13
14 import com.google.common.collect.Lists;
15
16 public class JsonRpc10Response {
17
18     String id;
19     String error;
20     List<Object> result = Lists.newArrayList();
21
22     public JsonRpc10Response() {
23     }
24
25     public JsonRpc10Response(String id) {
26         setId(id);
27     }
28
29     public String getId() {
30         return id;
31     }
32
33     public void setId(String id) {
34         this.id = id;
35     }
36
37     public String getError() {
38         return error;
39     }
40
41     public void setError(String error) {
42         this.error = error;
43     }
44
45     public List<Object> getResult() {
46         return result;
47     }
48
49     public void setResult(List<Object> result) {
50         this.result = result;
51     }
52 }