requireNonNull(instance);
requireNonNull(schema);
}
+
+ // FIXME: this is the 'Datastore' constructor
+ public Data(final DatabindContext databind) {
+ this(databind, Inference.ofDataTreePath(databind.modelContext()), YangInstanceIdentifier.of(),
+ databind.schemaTree().getRoot());
+ }
}
/**
/**
* An intermediate trait of {@link DatabindPath}s which are referencing a YANG operation. This can be either
- * an {@link Action} on an {@link Rpc}.
+ * an {@link Action}, as defined in
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-4.4.2">RFC8040 Invoke Operation Mode</a> or
+ * an {@link Rpc}, as defined in
+ * <a href="https://www.rfc-editor.org/rfc/rfc8040#section-3.6">RFC8040 Operation Resource</a>.
*/
sealed interface OperationPath extends DatabindPath {
/**