*/
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 {
}