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