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