From: Robert Varga Date: Sat, 28 Aug 2021 14:44:57 +0000 (+0200) Subject: Correct EffectiveStatementMixins documentation X-Git-Tag: v7.0.8~12 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=9e74f2c050dc0d4f0ae6bbb531be8a190cbe8945;p=yangtools.git Correct EffectiveStatementMixins documentation The correct type to use for no argument is Empty, not Void. Change-Id: I68456096336d7e0d93139600375c9d8479dbb6ab Signed-off-by: Robert Varga --- diff --git a/model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/meta/EffectiveStatementMixins.java b/model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/meta/EffectiveStatementMixins.java index 383d15ef0e..f8145f5367 100644 --- a/model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/meta/EffectiveStatementMixins.java +++ b/model/yang-model-spi/src/main/java/org/opendaylight/yangtools/yang/model/spi/meta/EffectiveStatementMixins.java @@ -19,6 +19,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; import org.eclipse.jdt.annotation.Nullable; import org.opendaylight.yangtools.concepts.Immutable; import org.opendaylight.yangtools.concepts.Mutable; +import org.opendaylight.yangtools.yang.common.Empty; import org.opendaylight.yangtools.yang.common.QName; import org.opendaylight.yangtools.yang.model.api.ActionDefinition; import org.opendaylight.yangtools.yang.model.api.ActionNodeContainer; @@ -81,7 +82,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatement} and {@link AugmentationTarget}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface AugmentationTargetMixin> @@ -95,7 +96,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link AddedByUsesAware}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface AddedByUsesMixin> @@ -109,7 +110,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link ActionNodeContainer}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface ActionNodeContainerMixin> @@ -123,7 +124,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link NotificationNodeContainer}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface NotificationNodeContainerMixin> @@ -137,7 +138,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link MustConstraintAware}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface MustConstraintMixin> extends Mixin, MustConstraintAware { @@ -150,7 +151,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link CopyableNode}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface CopyableMixin> extends AddedByUsesMixin, CopyableNode { @@ -163,7 +164,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link DataNodeContainer}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface DataNodeContainerMixin> extends DataNodeContainer, Mixin { @@ -191,7 +192,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link DataSchemaNode}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface DataSchemaNodeMixin> @@ -215,7 +216,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link DocumentedNode}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface DocumentedNodeMixin> extends Mixin, DocumentedNode { @@ -223,7 +224,7 @@ public final class EffectiveStatementMixins { * Bridge between {@link EffectiveStatementWithFlags} and * {@link org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ interface WithStatus> @@ -263,7 +264,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link ConstraintMetaDefinition}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface ConstraintMetaDefinitionMixin> extends DocumentedNodeMixin, @@ -282,7 +283,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link MandatoryAware}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface MandatoryMixin> @@ -296,7 +297,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@code presence} statement. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface PresenceMixin> extends EffectiveStatementWithFlags { @@ -308,7 +309,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link SchemaNode}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface SchemaNodeMixin> @@ -331,7 +332,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@link UnknownSchemaNode}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface UnknownSchemaNodeMixin> @@ -346,7 +347,7 @@ public final class EffectiveStatementMixins { /** * Bridge between {@link EffectiveStatementWithFlags} and {@code ordered-by} statement. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface UserOrderedMixin> extends EffectiveStatementWithFlags { @@ -359,7 +360,7 @@ public final class EffectiveStatementMixins { * Helper used to locate the effective {@code when} statement and exposing its argument as per * {@link WhenConditionAware}. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface WhenConditionMixin> extends Mixin, WhenConditionAware { @@ -464,7 +465,7 @@ public final class EffectiveStatementMixins { * Support interface for various mixins. Implementations are required to store 32bits worth of flags, which are * globally assigned to sub-interfaces -- thus providing storage for many low-cardinality properties. * - * @param Argument type ({@link Void} if statement does not have argument.) + * @param Argument type ({@link Empty} if statement does not have argument.) * @param Class representing declared version of this statement. */ public interface EffectiveStatementWithFlags> extends Mixin {