support for create/remove terminatingserviceActions
[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 import java.math.BigInteger;
11
12 public class AbstractSwitchEntity {
13     private static final long serialVersionUID = 1L;
14
15     private BigInteger m_dpnId;
16
17
18     public AbstractSwitchEntity(BigInteger dpnId) {
19         m_dpnId = dpnId;
20     }
21
22     @Override
23     public String toString() {
24         return "AbstractSwitchEntity [m_lDpnId=" + m_dpnId + " ]";
25     }
26
27
28     public BigInteger getDpnId() {
29         return m_dpnId;
30     }
31
32     public void setDpnId(BigInteger dpnId) {
33         m_dpnId = dpnId;
34     }
35
36 }