2 * Copyright (c) 2014 NEC Corporation
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this
7 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.vtn.app.run.config.rest.response.beans;
12 import org.opendaylight.vtn.app.run.config.json.annotations.JsonElement;
13 import org.opendaylight.vtn.app.run.config.json.annotations.JsonObject;
14 import org.opendaylight.vtn.app.run.config.json.annotations.JsonObjectRef;
17 * VlanNorthBound - Bean Representaion for VlanNorthBound object from the JSON Response.
21 public class VlanNorthBound {
24 *unique id for this object.
26 @JsonElement(name = "id")
27 private String id = null;
30 * vlan for this object.
32 @JsonElement(name = "vlan")
36 * Reference of NodeDetails for this object.
38 @JsonObjectRef(name = "node")
39 NodeDetails node = new NodeDetails();
41 * Default Constructor.
43 public VlanNorthBound() {}
46 * getId - function to get the id for this object.
50 public String getId() {
55 * setId - function to set the id for this object.
59 public void setId(String id) {
64 * getVlan - function to get the vlan for this object.
68 public int getVlan() {
73 * setVlan - function to set the vlan for this object.
77 public void setVlan(int vlan) {
82 * getNode - function to get the Node obj for this object.
84 * @return {@link NodeDetails}
86 public NodeDetails getNode() {
91 * setNode - function to set the node for this object.
95 public void setNode(NodeDetails node) {
100 * String representation of the object.
104 public String toString() {