2 * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. 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.genius.mdsalutil;
10 import java.math.BigInteger;
12 public abstract class AbstractSwitchEntity {
14 public abstract BigInteger getDpnId();
16 // Force subclasses to implement hashCode() & equals() WITH m_dpnId!
18 public abstract int hashCode();
21 public abstract boolean equals(Object obj);
24 public abstract String toString();