/* * Copyright (c) 2018 Pantheon Technologies, s.r.o. 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.api.stmt; import static com.google.common.base.Verify.verifyNotNull; import com.google.common.annotations.Beta; import org.opendaylight.yangtools.concepts.Identifiable; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement; import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement; /** * Common super-interface for all statements which can be held in one of the {@link EffectiveStatementNamespace}s. * * @param Declared statement type * * @author Robert Varga */ @Beta public interface NamespacedEffectiveStatement> extends EffectiveStatement, Identifiable { @Override default QName getIdentifier() { return verifyNotNull(argument()); } }