2 package org.opendaylight.openflowjava.protocol.impl.clients;
4 import java.util.ArrayList;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlAttribute;
9 import javax.xml.bind.annotation.XmlElement;
10 import javax.xml.bind.annotation.XmlType;
14 * <p>Java class for scenarioType complex type.
16 @XmlAccessorType(XmlAccessType.FIELD)
17 @XmlType(name = "scenario", propOrder = {
20 public class Scenario {
22 @XmlElement(required = true)
23 protected List<Step> step;
24 @XmlAttribute(name = "name", required = true)
25 protected String name;
28 * Gets the value of the step property.
31 * This accessor method returns a reference to the live list,
32 * not a snapshot. Therefore any modification you make to the
33 * returned list will be present inside the JAXB object.
34 * This is why there is not a <CODE>set</CODE> method for the step property.
37 * For example, to add a new item, do as follows:
39 * getStep().add(newItem);
44 * Objects of the following type(s) are allowed in the list
49 public List<Step> getStep() {
51 step = new ArrayList<>();
57 * Gets the value of the name property.
64 public String getName() {
69 * Sets the value of the name property.
76 public void setName(String value) {