3225982d284f2c476a6f32e5ce836d7a563822a1
[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 class DerivedBooleanType extends DerivedType<BooleanTypeDefinition> implements BooleanTypeDefinition {
13
14     public DerivedBooleanType(final ExtendedType definition) {
15         super(BooleanTypeDefinition.class, definition);
16     }
17
18     @Override
19     BooleanTypeDefinition createDerived(final ExtendedType base) {
20         return new DerivedBooleanType(base);
21     }
22 }