Remove a SchemaPath reference 06/102006/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Aug 2022 08:54:29 +0000 (10:54 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Mon, 8 Aug 2022 08:57:25 +0000 (10:57 +0200)
We have a replacement construct, which accurately captures statement
hierarchy. Use that in javadocs instead of SchemaPath.

Change-Id: I1a5e02a5515a000826c458adee378a451c39f9c9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
model/yang-model-ri/src/main/java/org/opendaylight/yangtools/yang/model/ri/type/RestrictedTypes.java

index 58b54db4681e38ddfa76e6c5462837ce751a1379..fe0922c96a1b3d32ed17478a941a8010e2ba31c4 100644 (file)
@@ -16,7 +16,7 @@ import org.opendaylight.yangtools.yang.common.Uint16;
 import org.opendaylight.yangtools.yang.common.Uint32;
 import org.opendaylight.yangtools.yang.common.Uint64;
 import org.opendaylight.yangtools.yang.common.Uint8;
-import org.opendaylight.yangtools.yang.model.api.SchemaPath;
+import org.opendaylight.yangtools.yang.model.api.EffectiveStatementInference;
 import org.opendaylight.yangtools.yang.model.api.type.BinaryTypeDefinition;
 import org.opendaylight.yangtools.yang.model.api.type.BitsTypeDefinition;
 import org.opendaylight.yangtools.yang.model.api.type.BooleanTypeDefinition;
@@ -64,9 +64,9 @@ import org.opendaylight.yangtools.yang.model.api.type.UnionTypeDefinition;
  *
  * <p>
  * This class holds methods which allow creation of restricted types using {@link TypeBuilder} and its subclasses. Each
- * restricted type is logically anchored at a {@link SchemaPath}, but can be substituted by its base type if it does
- * not contribute any additional restrictions. TypeBuilder instances take this into account, and result in the base type
- * being returned from the builder when the base type and restricted type are semantically equal.
+ * restricted type is logically anchored at an {@link EffectiveStatementInference}, but can be substituted by its base
+ * type if it does not contribute any additional restrictions. TypeBuilder instances take this into account, and result
+ * in the base type being returned from the builder when the base type and restricted type are semantically equal.
  *
  * <p>
  * Restricted types inherit the default value, description, reference, status and units from the base type, if that type