Open Kilda Java Documentation
FlowItem.java
Go to the documentation of this file.
1 package org.openkilda.domain.floodlight;
2 
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonInclude;
5 import com.fasterxml.jackson.annotation.JsonInclude.Include;
6 import com.fasterxml.jackson.annotation.JsonProperty;
7 
8 @JsonInclude(Include.NON_NULL)
9 @JsonIgnoreProperties(ignoreUnknown = true)
10 public class FlowItem {
11 
12  private String version;
13  @JsonProperty(value = "table_id")
14  private String tableId;
15  private String cookie;
16  @JsonProperty(value = "byte_count")
17  private String byteCount;
18  private String priority;
19  @JsonProperty(value = "instructions")
20  private FlowInstructions flowInstructions;
21 
22  public FlowItem() {
23  }
24 
25  public String getVersion() {
26  return version;
27  }
28 
29  public void setVersion(String version) {
30  this.version = version;
31  }
32 
33  public String getTableId() {
34  return tableId;
35  }
36 
37  public void setTableId(String tableId) {
38  this.tableId = tableId;
39  }
40 
41  public String getCookie() {
42  return cookie;
43  }
44 
45  public void setCookie(String cookie) {
46  this.cookie = cookie;
47  }
48 
49  public String getByteCount() {
50  return byteCount;
51  }
52 
53  public void setByteCount(String byteCount) {
54  this.byteCount = byteCount;
55  }
56 
57  public String getPriority() {
58  return priority;
59  }
60 
61  public void setPriority(String priority) {
62  this.priority = priority;
63  }
64 
66  return flowInstructions;
67  }
68 
69  public void setFlowInstructions(FlowInstructions flowInstructions) {
70  this.flowInstructions = flowInstructions;
71  }
72 }
void setFlowInstructions(FlowInstructions flowInstructions)
Definition: FlowItem.java:69
value
Definition: nodes.py:62
version
Definition: setup.py:25
void setByteCount(String byteCount)
Definition: FlowItem.java:53