Add DataTreeAwareEffectiveStatement
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / RpcDefinition.java
index 351fe4a831e7db93a658262fd534474dd5d9a8f2..42b49cc237707f126e704351195cd865d53aa427 100644 (file)
@@ -7,38 +7,14 @@
  */
 package org.opendaylight.yangtools.yang.model.api;
 
-import java.util.Set;
-
 /**
  * Interface describing YANG 'rpc' statement.
+ *
  * <p>
  * The rpc statement defines an rpc node in the schema tree. Under the rpc node,
  * a schema node with the name 'input', and a schema node with the name 'output'
  * are also defined.
- * </p>
  */
-public interface RpcDefinition extends SchemaNode {
-
-    /**
-     * @return Set of type definitions declared under this rpc statement.
-     */
-    Set<TypeDefinition<?>> getTypeDefinitions();
-
-    /**
-     * @return Set of grouping statements declared under this rpc statement.
-     */
-    Set<GroupingDefinition> getGroupings();
-
-    /**
-     * @return Definition of input parameters to the RPC operation. The
-     *         substatements of input define nodes under the RPC's input node.
-     */
-    ContainerSchemaNode getInput();
-
-    /**
-     * @return Definition of output parameters to the RPC operation. The
-     *         substatements of output define nodes under the RPC's output node.
-     */
-    ContainerSchemaNode getOutput();
+public interface RpcDefinition extends OperationDefinition {
 
 }