Retain DeclarationReference in DeclaredStatements
[yangtools.git] / yang / yang-model-ri / src / main / java / org / opendaylight / yangtools / yang / model / ri / stmt / impl / ref / RefKeyStatement.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. 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.ri.stmt.impl.ref;
9
10 import java.util.Set;
11 import org.opendaylight.yangtools.yang.common.QName;
12 import org.opendaylight.yangtools.yang.model.api.meta.DeclarationReference;
13 import org.opendaylight.yangtools.yang.model.api.stmt.KeyStatement;
14 import org.opendaylight.yangtools.yang.model.spi.meta.AbstractRefStatement;
15
16 public final class RefKeyStatement extends AbstractRefStatement<Set<QName>, KeyStatement> implements KeyStatement {
17     public RefKeyStatement(final KeyStatement delegate, final DeclarationReference ref) {
18         super(delegate, ref);
19     }
20 }