/* * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.yangtools.yang.model.ri.stmt.impl.eff; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.model.api.FeatureDefinition; import org.opendaylight.yangtools.yang.model.api.stmt.FeatureEffectiveStatement; import org.opendaylight.yangtools.yang.model.api.stmt.FeatureStatement; import org.opendaylight.yangtools.yang.model.spi.meta.AbstractDeclaredEffectiveStatement.DefaultArgument; import org.opendaylight.yangtools.yang.model.spi.meta.EffectiveStatementMixins.SchemaNodeMixin; public class EmptyFeatureEffectiveStatement extends DefaultArgument implements FeatureDefinition, FeatureEffectiveStatement, SchemaNodeMixin { private final int flags; public EmptyFeatureEffectiveStatement(final FeatureStatement declared, final int flags) { super(declared); this.flags = flags; } @Override public final int flags() { return flags; } @Override public final FeatureEffectiveStatement asEffectiveStatement() { return this; } }