2 * Copyright (c) 2014 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.sal.binding.test.mock;
10 import org.opendaylight.yangtools.yang.binding.Identifier;
12 public class ReferencableObjectKey implements Identifier<ReferencableObject> {
16 public ReferencableObjectKey(Integer _value) {
21 public int hashCode() {
24 result = prime * result + ((value == null) ? 0 : value.hashCode());
29 public boolean equals(Object obj) {
34 if (getClass() != obj.getClass())
36 ReferencableObjectKey other = (ReferencableObjectKey) obj;
38 if (other.value != null)
40 } else if (!value.equals(other.value))
46 public String toString() {
47 return "ReferencableObjectKey [value=" + value + "]";