OpenDaylight Controller functional modules.
[controller.git] / opendaylight / northbound / hosttracker / src / main / java / org / opendaylight / controller / hosttracker / northbound / Hosts.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.hosttracker.northbound;
10
11 import java.util.Set;
12
13 import javax.xml.bind.annotation.XmlAccessType;
14 import javax.xml.bind.annotation.XmlAccessorType;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlRootElement;
17
18 import org.opendaylight.controller.hosttracker.hostAware.HostNodeConnector;
19
20 @XmlRootElement
21 @XmlAccessorType(XmlAccessType.NONE)
22
23 public class Hosts {
24         @XmlElement (name="host")
25         Set<HostNodeConnector> hostNodeConnector;
26         
27         public Hosts() {
28         }
29         public Hosts (Set<HostNodeConnector> hostNodeConnector) {
30                 this.hostNodeConnector = hostNodeConnector;
31         }
32         public Set<HostNodeConnector> getHostNodeConnector() {
33                 return hostNodeConnector;
34         }
35         public void setHostNodeConnector(Set<HostNodeConnector> hostNodeConnector) {
36                 this.hostNodeConnector = hostNodeConnector;
37         }
38 }