1 package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.alarms.rev190911;
3 import java.lang.String;
4 import java.lang.UnsupportedOperationException;
7 * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string
8 * representation. In some cases it is very difficult to automate it since there can be unions such as (uint32 -
9 * uint16), or (string - uint32).
11 * The reason behind putting it under src/main/java is: This class is generated in form of a stub and needs to be
12 * finished by the user. This class is generated only once to prevent loss of user code.
15 public class ResourceBuilder {
16 private ResourceBuilder() {
17 //Exists only to defeat instantiation.
20 public static Resource getDefaultInstance(String defaultValue) {
21 throw new UnsupportedOperationException("Not yet implemented");