Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / web / devices / src / main / java / org / opendaylight / controller / devices / web / DevicesJsonBean.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.devices.web;
10
11 import java.util.List;
12 import java.util.Map;
13
14 import org.opendaylight.controller.sal.authorization.Privilege;
15
16 public class DevicesJsonBean {
17     private List<String> columnNames;
18     private List<Map<String, String>> nodeData;
19     private Privilege privilege;
20
21     public List<String> getColumnNames() {
22         return columnNames;
23     }
24
25     public void setColumnNames(List<String> columnNames) {
26         this.columnNames = columnNames;
27     }
28
29     public List<Map<String, String>> getNodeData() {
30         return nodeData;
31     }
32
33     public void setNodeData(List<Map<String, String>> nodeData) {
34         this.nodeData = nodeData;
35     }
36
37     public void setPrivilege(Privilege privilege) {
38         this.privilege = privilege;
39     }
40
41     public Privilege getPrivilege() {
42         return privilege;
43     }
44 }