summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager-openroadm/provider/src/main/java/org/opendaylight/yang/gen/v1/http/org/openroadm/pm/types/rev191129/PmDataTypeBuilder.java
blob: 249da71fba13410cf9285fc1bc2e9ef63801fcd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.opendaylight.yang.gen.v1.http.org.openroadm.pm.types.rev191129;

/**
 * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string
 * representation. In some cases it is very difficult to automate it since there can be unions such as (uint32 -
 * uint16), or (string - uint32).
 *
 * The reason behind putting it under src/main/java is: 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 loss of user code.
 *
 */
public class PmDataTypeBuilder {
    private PmDataTypeBuilder() {
        //Exists only to defeat instantiation.
    }

    public static PmDataType getDefaultInstance(String defaultValue) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

}