BUG-865: deprecate internal implementation classes
[yangtools.git] / yang / yang-model-util / src / main / java / org / opendaylight / yangtools / yang / model / util / DerivedBooleanType.java
1 /*
2  * Copyright (c) 2015 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 package org.opendaylight.yangtools.yang.model.util;
9
10 import org.opendaylight.yangtools.yang.model.api.type.BooleanTypeDefinition;
11
12 /**
13  * @deprecated Deprecated {@link DerivedType} subclass.
14  */
15 @Deprecated
16 class DerivedBooleanType extends DerivedType<BooleanTypeDefinition> implements BooleanTypeDefinition {
17
18     public DerivedBooleanType(final ExtendedType definition) {
19         super(BooleanTypeDefinition.class, definition);
20     }
21
22     @Override
23     BooleanTypeDefinition createDerived(final ExtendedType base) {
24         return new DerivedBooleanType(base);
25     }
26 }