Bug 1411: MDSAL Binding2 Generator API Enumeration fix
[mdsal.git] / binding2 / mdsal-binding2-generator-api / src / main / java / org / opendaylight / mdsal / binding2 / model / api / type / builder / GeneratedTypeBuilder.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.mdsal.binding2.model.api.type.builder;
10
11 import com.google.common.annotations.Beta;
12 import org.opendaylight.mdsal.binding2.model.api.GeneratedType;
13
14 /**
15  * Generated Type Builder interface is helper interface for building and
16  * defining the GeneratedType.
17  *
18  * @see GeneratedType
19  */
20 @Beta
21 public interface GeneratedTypeBuilder extends GeneratedTypeBuilderBase<GeneratedTypeBuilder> {
22
23     /**
24      * Returns the <code>new</code> <i>immutable</i> instance of Generated Type.
25      *
26      * @return the <code>new</code> <i>immutable</i> instance of Generated Type.
27      */
28     GeneratedType toInstance();
29
30 }