Add FIXMEs to IdentifierNamespace 72/102172/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 19 Aug 2022 21:25:15 +0000 (23:25 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 19 Aug 2022 22:57:10 +0000 (00:57 +0200)
This namespace is using Class-based addressing, which is ugly from end
user as well as expresiveness perspective.

Change-Id: I6d5c9b09845b144bf138c248580cd0bdef6ee08e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/IdentifierNamespace.java

index 91da55e65a2eb0513d13b25aff7704dbcb539e01..1dada6cee77b6de42591f9f7c9629b0eba26905a 100644 (file)
@@ -15,6 +15,9 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
  * @param <K> Identifier type
  * @param <V> Value type
  */
+// FIXME: make this class final and switch addressing to using objects instances instead of
+//        Class<? extends IdentifierNamespace>
+// FIXME: also consider renaming this to a friendlier name, like YangNamespace or similar
 @NonNullByDefault
 public abstract class IdentifierNamespace<K, V> {
     protected IdentifierNamespace() {