2 * Copyright (c) 2019 PANTHEON.tech, s.r.o. 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.rfc8528.parser;
10 import static com.google.common.base.Verify.verifyNotNull;
12 import com.google.common.collect.ImmutableList;
13 import org.opendaylight.yangtools.rfc8528.model.api.MountPointEffectiveStatement;
14 import org.opendaylight.yangtools.rfc8528.model.api.MountPointSchemaNode;
15 import org.opendaylight.yangtools.rfc8528.model.api.MountPointStatement;
16 import org.opendaylight.yangtools.yang.common.QName;
17 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
18 import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.UnknownEffectiveStatementBase;
19 import org.opendaylight.yangtools.yang.parser.spi.meta.EffectiveStmtCtx.Current;
21 final class MountPointEffectiveStatementImpl extends UnknownEffectiveStatementBase<QName, MountPointStatement>
22 implements MountPointEffectiveStatement, MountPointSchemaNode {
23 MountPointEffectiveStatementImpl(final Current<QName, MountPointStatement> stmt,
24 final ImmutableList<? extends EffectiveStatement<?, ?>> substatements) {
25 super(stmt, substatements);
29 public QName getQName() {
30 return verifyNotNull(argument());
34 public MountPointEffectiveStatement asEffectiveStatement() {