3cd1b0158cd537ca530a4be98f814ce308fd0164
[mdsal.git] / model / ietf / ietf-type-util / src / test / java / org / opendaylight / mdsal / model / ietf / util / PhysClass.java
1 /*
2  * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.mdsal.model.ietf.util;
9
10 import static java.util.Objects.requireNonNull;
11
12 public final class PhysClass {
13     private final String _value;
14
15     public PhysClass(final String value) {
16         this._value = requireNonNull(value);
17     }
18
19     public PhysClass(final PhysClass template) {
20         this._value = template._value;
21     }
22
23     String getValue() {
24         return _value;
25     }
26 }