2 * Copyright (c) 2015 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.yang.model.ri.stmt.impl.eff;
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.model.api.FeatureDefinition;
12 import org.opendaylight.yangtools.yang.model.api.stmt.FeatureEffectiveStatement;
13 import org.opendaylight.yangtools.yang.model.api.stmt.FeatureStatement;
14 import org.opendaylight.yangtools.yang.model.spi.meta.AbstractDeclaredEffectiveStatement.DefaultArgument;
15 import org.opendaylight.yangtools.yang.model.spi.meta.EffectiveStatementMixins.SchemaNodeMixin;
17 public class EmptyFeatureEffectiveStatement extends DefaultArgument<QName, FeatureStatement>
18 implements FeatureDefinition, FeatureEffectiveStatement, SchemaNodeMixin<FeatureStatement> {
19 private final int flags;
21 public EmptyFeatureEffectiveStatement(final FeatureStatement declared, final int flags) {
27 public final int flags() {
32 public final FeatureEffectiveStatement asEffectiveStatement() {
37 public final String toString() {
38 return getClass().getSimpleName() + "[name=" + getQName() + "]";