2 * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. 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.openflowjava.protocol.impl.clients;
10 import java.util.ArrayList;
11 import java.util.List;
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;
16 import javax.xml.bind.annotation.XmlType;
20 * Java class for anonymous complex type.
22 @XmlAccessorType(XmlAccessType.FIELD)
23 @XmlType(name = "", propOrder = {
26 @XmlRootElement(name = "scenarios")
27 public class Scenarios {
29 @XmlElement(required = true)
30 protected List<Scenario> scenario;
33 * Gets the value of the scenario property.
36 * This accessor method returns a reference to the live list,
37 * not a snapshot. Therefore any modification you make to the
38 * returned list will be present inside the JAXB object.
39 * This is why there is not a <CODE>set</CODE> method for the scenario property.
42 * For example, to add a new item, do as follows:
44 * getScenario().add(newItem);
48 * Objects of the following type(s) are allowed in the list
51 public List<Scenario> getScenario() {
52 if (scenario == null) {
53 scenario = new ArrayList<>();