restructure and base modules for different features
[vpnservice.git] / mdsalutil / mdsalutil-api / src / main / java / org / opendaylight / vpnservice / mdsalutil / AbstractSwitchEntity.java
1 /*
2  * Copyright (c) 2013 Ericsson AB.  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  */
9
10 package org.opendaylight.vpnservice.mdsalutil;
11
12 public class AbstractSwitchEntity {
13     private static final long serialVersionUID = 1L;
14
15     private long m_lDpnId;
16     
17
18     public AbstractSwitchEntity(long lDpnId) {
19         m_lDpnId = lDpnId;
20       
21     }
22     
23     @Override
24     public String toString() {
25         return "AbstractSwitchEntity [m_lDpnId=" + m_lDpnId + " ]";
26     }
27
28     
29     public long getDpnId() {
30         return m_lDpnId;
31     }
32
33     public void setDpnId(long lDpnId) {
34         m_lDpnId = lDpnId;
35     }
36
37 }