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.XmlList;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
21 * <p>Java class for stepType complex type.
23 @XmlAccessorType(XmlAccessType.FIELD)
24 @XmlType(name = "step", propOrder = {
32 protected short order;
33 @XmlElement(required = true)
34 protected String name;
35 @XmlElement(required = true)
36 @XmlSchemaType(name = "string")
37 protected EventType event;
39 @XmlElement(type = Short.class)
40 @XmlSchemaType(name = "anySimpleType")
41 protected List<Short> bytes;
44 * Gets the value of the order property.
46 public short getOrder() {
51 * Sets the value of the order property.
53 public void setOrder(short value) {
58 * Gets the value of the name property.
59 * @return possible object is {@link String }
61 public String getName() {
66 * Sets the value of the name property.
67 * @param value allowed object is {@link String }
69 public void setName(String value) {
74 * Gets the value of the event property.
75 * @return possible object is {@link EventType }
77 public EventType getEvent() {
82 * Sets the value of the event property.
83 * @param value allowed object is {@link EventType }
85 public void setEvent(EventType value) {
90 * Gets the value of the bytes property.
93 * This accessor method returns a reference to the live list,
94 * not a snapshot. Therefore any modification you make to the
95 * returned list will be present inside the JAXB object.
96 * This is why there is not a <CODE>set</CODE> method for the bytes property.
99 * For example, to add a new item, do as follows:
101 * getBytes().add(newItem);
104 * Objects of the following type(s) are allowed in the list
107 public List<Short> getBytes() {
109 bytes = new ArrayList<>();