2 * Copyright (c) 2013 Cisco Systems, Inc. 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.controller.config.manager.impl;
10 public class TransactionIdentifier {
11 private final String name;
13 public TransactionIdentifier(String name) {
18 public String toString() {
19 return "TransactionIdentifier{" + "name='" + name + '\'' + '}';
22 public String getName() {
27 public boolean equals(Object o) {
30 if (o == null || getClass() != o.getClass())
33 TransactionIdentifier that = (TransactionIdentifier) o;
35 if (name != null ? !name.equals(that.name) : that.name != null)
42 public int hashCode() {
43 return name != null ? name.hashCode() : 0;