-/*\r
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-package org.opendaylight.controller.yang.model.api;\r
-\r
-import java.util.Set;\r
-\r
-/**\r
- * Interface describing YANG 'rpc' statement.\r
- * <p>\r
- * The rpc statement defines an rpc node in the schema tree. Under the rpc node,\r
- * a schema node with the name 'input', and a schema node with the name 'output'\r
- * are also defined.\r
- * </p>\r
- */\r
-public interface RpcDefinition extends SchemaNode {\r
-\r
- /**\r
- * @return Set of type definitions declared under this rpc statement.\r
- */\r
- Set<TypeDefinition<?>> getTypeDefinitions();\r
-\r
- /**\r
- * @return Set of grouping statements declared under this rpc statement.\r
- */\r
- Set<GroupingDefinition> getGroupings();\r
-\r
- /**\r
- * @return Definition of input parameters to the RPC operation. The\r
- * substatements of input define nodes under the RPC's input node.\r
- */\r
- ContainerSchemaNode getInput();\r
-\r
- /**\r
- * @return Definition of output parameters to the RPC operation. The\r
- * substatements of output define nodes under the RPC's output node.\r
- */\r
- ContainerSchemaNode getOutput();\r
-\r
-}\r