2 * Copyright IBM Corporation, 2013. All rights reserved.
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
8 package org.opendaylight.controller.samples.loadbalancer.northbound;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
17 import org.opendaylight.controller.samples.loadbalancer.entities.VIP;
20 * JAX-RS resource for handling details of all the available VIPs
21 * in response to respective REST API requests.
25 @XmlAccessorType(XmlAccessType.NONE)
29 @XmlElement (name="vip")
30 Set<VIP> loadBalancerVIPs;
35 public VIPs (Set<VIP> loadBalancerVIPs) {
36 this.loadBalancerVIPs = loadBalancerVIPs;
40 * @return the loadBalancerVIPs
42 public Set<VIP> getLoadBalancerVIPs() {
43 return loadBalancerVIPs;
47 * @param loadBalancerVIPs the loadBalancerVIPs to set
50 public void setLoadBalancerVIPs(Set<VIP> loadBalancerVIPs) {
51 this.loadBalancerVIPs = loadBalancerVIPs;