Bump versions to 10.0.0-SNAPSHOT
[mdsal.git] / model / ietf / rfc8776-ietf-te-types / src / main / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / te / types / rev200610 / TeTopologyIdBuilder.java
1 /*
2  * Copyright (c) 2020 PANTHEON.tech, 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.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.te.types.rev200610;
9
10 public class TeTopologyIdBuilder {
11     private static final TeTopologyId EMPTY = new TeTopologyId("");
12
13     private TeTopologyIdBuilder() {
14         // Hidden on purpose
15     }
16
17     public static TeTopologyId getDefaultInstance(final String defaultValue) {
18         return defaultValue.isEmpty() ? EMPTY : new TeTopologyId(defaultValue);
19     }
20 }