Do not allow TableSchema columns to be directly set
[ovsdb.git] / library / impl / src / main / java / org / opendaylight / ovsdb / lib / jsonrpc / JsonRpc10Response.java
1 /*
2  * Copyright © 2013, 2017 EBay Software Foundation and others. All rights reserved.
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
9 package org.opendaylight.ovsdb.lib.jsonrpc;
10
11 import java.util.ArrayList;
12 import java.util.List;
13
14 public class JsonRpc10Response {
15
16     String id;
17     String error;
18     List<Object> result = new ArrayList<>();
19
20     public JsonRpc10Response(String id) {
21         setId(id);
22     }
23
24     public String getId() {
25         return id;
26     }
27
28     public void setId(String id) {
29         this.id = id;
30     }
31
32     public String getError() {
33         return error;
34     }
35
36     public void setError(String error) {
37         this.error = error;
38     }
39
40     public List<Object> getResult() {
41         return result;
42     }
43
44     public void setResult(List<Object> result) {
45         this.result = result;
46     }
47 }