Jonathan Hart | deda0ba | 2014-04-03 11:14:12 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.registry; |
Jonathan Hart | 71c0ffc | 2013-03-24 15:58:42 -0700 | [diff] [blame] | 2 | |
| 3 | |
Jonathan Hart | 71c0ffc | 2013-03-24 15:58:42 -0700 | [diff] [blame] | 4 | //@JsonRootName("controller") |
| 5 | public class ControllerService { |
| 6 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 7 | private String controllerId; |
| 8 | |
| 9 | public ControllerService() { |
| 10 | this(""); |
| 11 | } |
| 12 | |
| 13 | public ControllerService(String controllerId) { |
| 14 | this.controllerId = controllerId; |
| 15 | } |
Jonathan Hart | 71c0ffc | 2013-03-24 15:58:42 -0700 | [diff] [blame] | 16 | |
| 17 | public void setControllerId(String controllerId) { |
| 18 | this.controllerId = controllerId; |
| 19 | } |
| 20 | |
| 21 | public String getControllerId() { |
| 22 | return controllerId; |
| 23 | } |
| 24 | |
| 25 | } |