1 package org.opendaylight.openflowplugin.openflow.md.core.session;
3 public class TransactionKey {
5 private static final long serialVersionUID = 7805731164917659700L;
6 final private Long _xId;
8 public TransactionKey(Long transactionId) {
9 this._xId = transactionId;
12 public Long getXId() {
18 public int hashCode() {
21 result = prime * result + ((_xId == null) ? 0 : _xId.hashCode());
26 public boolean equals(java.lang.Object obj) {
33 if (getClass() != obj.getClass()) {
36 TransactionKey other = (TransactionKey) obj;
38 if (other._xId != null) {
41 } else if (!_xId.equals(other._xId)) {
48 public String toString() {
49 StringBuilder builder = new StringBuilder();
50 builder.append("TransactionId [_xId=");
53 return builder.toString();