2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
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
8 package org.opendaylight.yangtools.sal.binding.model.api.type.builder;
10 import org.opendaylight.yangtools.sal.binding.model.api.GeneratedType;
13 * Generated Type Builder interface is helper interface for building and
14 * defining the GeneratedType.
18 public interface GeneratedTypeBuilder extends GeneratedTypeBuilderBase<GeneratedTypeBuilder> {
21 * Returns the <code>new</code> <i>immutable</i> instance of Generated Type.
23 * @return the <code>new</code> <i>immutable</i> instance of Generated Type.
25 GeneratedType toInstance();
28 * Set true if generated type is suitable for boxing, false otherwise.
32 public void setSuitableForBoxing(boolean value);
35 * Set parent for current generated type.
39 public void setParentType(GeneratedTypeBuilder parent);