Revert "Fix JDK9 compilation"
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / RpcDefinition.java
index 4be0490586d805cf21fc380dd4c639c3de29634a..42b49cc237707f126e704351195cd865d53aa427 100644 (file)
@@ -1,44 +1,20 @@
-/*\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.yangtools.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
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.yangtools.yang.model.api;
+
+/**
+ * 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.
+ */
+public interface RpcDefinition extends OperationDefinition {
+
+}