2 * Copyright (c) 2014-2015 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 java.util.List;
14 import org.opendaylight.vtn.app.run.config.rest.output.format.beans.VBridgeBean;
15 import org.opendaylight.vtn.app.run.config.rest.output.format.beans.VTerminalBean;
18 * VTNConfigurationBean - Bean Representaion for VTNConfiguration object from
22 public class VTNConfigurationBean {
25 * name for vtn configuration.
30 * description for vtn configuration.
32 String description = null;
35 * idleTimeout for vtn configuration.
40 * hardTimeout for vtn configuration.
45 * FlowFilterList for the VTN.
47 private VTenantFlowFilterList vtnFlowfilter = null;
50 * vbridge list for vtn configuration.
52 private List<VBridgeBean> vbridge = null;
55 * vTerminal list for vtn configuration.
57 private List<VTerminalBean> vterminal = null;
60 * DataFlowList for vtn configuration.
62 private DataFlowList dataflow = null;
65 * Default Constructor.
67 public VTNConfigurationBean() {
71 * getDataflow - function to get the list .
73 * @return {@link DataFlowList}
75 public DataFlowList getDataflow() {
80 * setDataflow - function to set the list .
84 public void setDataflow(DataFlowList dataflow) {
85 this.dataflow = dataflow;
89 * getVtFlowfilter - function to get the flowfilter for this object.
91 * @return {@link VTenantFlowFilterList}
93 public VTenantFlowFilterList getVtnFlowfilter() {
98 * setVtnFlowfilter - function to set the flowfilter for this object.
100 * @param vtnFlowfilter
102 public void setVtnFlowfilter(VTenantFlowFilterList vtnFlowfilter) {
103 this.vtnFlowfilter = vtnFlowfilter;
107 * getPath - function to get the list .
109 * @return List of {@link VBridgeBean} objects
111 public List<VBridgeBean> getVbridge() {
116 * setVbridge - function to set the list .
120 public void setVbridge(List<VBridgeBean> vbridge) {
121 this.vbridge = vbridge;
125 * getPath - function to get the list .
127 * @return List of {@link VTerminalBean} objects
129 public List<VTerminalBean> getVTerminal() {
134 * setVTerminal - function to set the list .
138 public void setVTerminal(List<VTerminalBean> vterminal) {
139 this.vterminal = vterminal;
143 * getPath - function to get the name .
145 * @return {@link String }
147 public String getName() {
152 * setName - function to set the name .
156 public void setName(String name) {
161 * getPath - function to get the description .
163 * @return {@link String }
165 public String getDescription() {
170 * setDescription - function to set the description .
174 public void setDescription(String description) {
175 this.description = description;
179 * getPath - function to get the IdleTimeout .
181 * @return {@link int }
183 public int getIdleTimeout() {
188 * setIdleTimeout - function to set the idleTimeout for object
192 public void setIdleTimeout(int idleTimeout) {
193 this.idleTimeout = idleTimeout;
197 * getHardTimeout - function to get the hardTimeout .
199 * @return {@link int }
201 public int getHardTimeout() {
206 * setHardTimeout - function to set the hardTimeout for object
210 public void setHardTimeout(int hardTimeout) {
211 this.hardTimeout = hardTimeout;
215 * String representation of this object.
218 public String toString() {
219 return "VTN RUN CONFIG [name:" + name + ",description:" + description
220 + ",idleTimeout:" + idleTimeout + ",hardTimeout:" + hardTimeout