\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