Add FIXMEs to Rpc{Input,Output} 63/104063/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Jan 2023 20:38:10 +0000 (21:38 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 17 Jan 2023 20:39:51 +0000 (21:39 +0100)
DataObject has implications which cover the possibility of being an
interior node of a structured data. RpcInput and RpcOutput are
explicitly excluded from that contract, similarly as BaseNotification
is.

Add FIXMEs to reconcile this modeling problem.

Change-Id: I84b6f5ca90cbfb685209559863f29634c5744772
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/RpcInput.java
binding/yang-binding/src/main/java/org/opendaylight/yangtools/yang/binding/RpcOutput.java

index 4f04b27fb8cd5dbcc5459443a17945aa11067091..d17d0ac787373f26d771649ab12588bb6b887000 100644 (file)
@@ -11,6 +11,7 @@ package org.opendaylight.yangtools.yang.binding;
  * Marker interface for all interfaces generated for {@code input} statement within an {@code action} or an {@code rpc}
  * statement.
  */
+// FIXME: this should not really be a DataObject, but a separate DataContainer and a BindingObject
 public interface RpcInput extends DataObject {
     @Override
     Class<? extends RpcInput> implementedInterface();
index 2f35be1ac07bf62291abc59ace4967020abd71c7..c24e11f83f412dae8d476c44fb5e7d6a5e7fcea1 100644 (file)
@@ -7,15 +7,11 @@
  */
 package org.opendaylight.yangtools.yang.binding;
 
-import com.google.common.annotations.Beta;
-
 /**
  * Marker interface for all interfaces generated for {@code output} statement within an {@code action} or an {@code rpc}
  * statement.
- *
- * @author Robert Varga
  */
-@Beta
+// FIXME: this should not really be a DataObject, but a separate DataContainer and a BindingObject
 public interface RpcOutput extends DataObject {
     @Override
     Class<? extends RpcOutput> implementedInterface();