Merge "Bug 9092: revert to org.json temporarily"
[netconf.git] / restconf / restconf-models / ietf-yang-library / src / main / java / org / opendaylight / yang / gen / v1 / urn / ietf / params / xml / ns / yang / ietf / yang / library / rev160621 / module / list / CommonLeafsRevisionBuilder.java
1 package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.library.rev160621.module.list;
2
3 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.library.rev160621.module.list.CommonLeafs.Revision;
4
5
6 /**
7  * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation.
8  * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32).
9  *
10  * The reason behind putting it under src/main/java is:
11  * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent
12  * loss of user code.
13  *
14  */
15 public class CommonLeafsRevisionBuilder {
16
17     public static Revision getDefaultInstance(final java.lang.String defaultValue) {
18         return new Revision(defaultValue);
19     }
20
21 }