a17004f246fa0440e35e48de08d4692668aef218
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / OperationGroup.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.yangtools.yang.model.api.stmt;
10
11 import com.google.common.annotations.Beta;
12 import java.util.Collection;
13 import javax.annotation.Nonnull;
14 import org.opendaylight.yangtools.yang.common.QName;
15
16 /**
17  * Common interface for action and rpc statements.
18  */
19 @Beta
20 public interface OperationGroup extends DocumentationGroup.WithStatus {
21
22     QName getName();
23
24     @Nonnull Collection<? extends TypedefStatement> getTypedefs();
25
26     @Nonnull Collection<? extends GroupingStatement> getGroupings();
27
28     InputStatement getInput();
29
30     OutputStatement getOutput();
31 }