X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-model-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fmodel%2Fapi%2Fmeta%2FEffectiveStatement.java;h=e3ef1c5ffec00e3caeda76c382161546a10ef8a9;hb=1c94a7cbeee99477aed0fe6d06e3b075ce8e2885;hp=026a0a04093681f3b537f9408e1e6f5591c0ab47;hpb=7cfb40c1f4cd90d8ea0e6a818dee3371b299d566;p=yangtools.git diff --git a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java index 026a0a0409..e3ef1c5ffe 100644 --- a/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java +++ b/yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/meta/EffectiveStatement.java @@ -34,7 +34,6 @@ public interface EffectiveStatement> extends M S getDeclared(); /** - * * Returns value associated with supplied identifier * * @param @@ -48,14 +47,12 @@ public interface EffectiveStatement> extends M * @param identifier * Identifier of element. * @return Value if present, null otherwise. - * - * */ + //> V @Nullable - > V get(@Nonnull Class namespace,@Nonnull K identifier); + > V get(@Nonnull Class namespace,@Nonnull K identifier); /** - * * Returns all local values from supplied namespace. * * @param @@ -72,11 +69,9 @@ public interface EffectiveStatement> extends M > Map getAll(@Nonnull Class namespace); /** + * Returns a collection of all effective substatements. * - * Returns iteration of all effective substatements. - * - * @return iteration of all effective substatements. + * @return collection of all effective substatements. */ - Collection> effectiveSubstatements(); - + @Nonnull Collection> effectiveSubstatements(); }