org.opendaylight.openflowjava.protocol.impl.clients.Scenarios Maven / Gradle / Ivy
package org.opendaylight.openflowjava.protocol.impl.clients;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"scenario"
})
@XmlRootElement(name = "scenarios")
public class Scenarios {
@XmlElement(required = true)
protected List scenario;
/**
* Gets the value of the scenario property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the scenario property.
*
*
* For example, to add a new item, do as follows:
*
* getScenario().add(newItem);
*
*
* Objects of the following type(s) are allowed in the list
* {@link Scenario }
*/
public List getScenario() {
if (scenario == null) {
scenario = new ArrayList<>();
}
return this.scenario;
}
}