6861734aaa8f072f2f4ddfb745a852a9b275053f
[mdsal.git] / model / ietf / ietf-type-util / src / test / java / org / opendaylight / mdsal / model / ietf / util / MacUtil.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.mdsal.model.ietf.util;
10
11 final class MacUtil extends AbstractIetfYangUtil<MacClass, PhysClass> {
12     MacUtil() {
13         super(MacClass.class, PhysClass.class);
14     }
15
16     @Override
17     protected String getValue(final MacClass macAddress) {
18         return macAddress.getValue();
19     }
20
21     @Override
22     protected String getPhysValue(PhysClass physAddress) {
23         return physAddress.getValue();
24     }
25 }