Fix build faliures due to OFPlugin checktyle fixes
[netvirt.git] / natservice / natservice-impl / src / main / java / org / opendaylight / netvirt / natservice / internal / IPAddress.java
1 /*
2  * Copyright (c) 2016 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.netvirt.natservice.internal;
9
10 public class IPAddress {
11
12     private final String ipAddress;
13     private final int prefixLength;
14
15     public IPAddress(String ipAddress, int prefixLength) {
16         this.ipAddress = ipAddress;
17         this.prefixLength = prefixLength;
18     }
19
20     public String getIpAddress() {
21         return ipAddress;
22     }
23
24     public int getPrefixLength() {
25         return prefixLength;
26     }
27 }