Added copyright and updated appropriate log levels
[vpnservice.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / vpnservice / mdsalutil / AbstractSwitchEntity.java
1 /*
2  * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.vpnservice.mdsalutil;
9
10 public class AbstractSwitchEntity {
11     private static final long serialVersionUID = 1L;
12
13     private long m_lDpnId;
14
15
16     public AbstractSwitchEntity(long lDpnId) {
17         m_lDpnId = lDpnId;
18
19     }
20
21     @Override
22     public String toString() {
23         return "AbstractSwitchEntity [m_lDpnId=" + m_lDpnId + " ]";
24     }
25
26
27     public long getDpnId() {
28         return m_lDpnId;
29     }
30
31     public void setDpnId(long lDpnId) {
32         m_lDpnId = lDpnId;
33     }
34
35 }