Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Cleanup yang.model.api.meta
[yangtools.git]
/
yang
/
yang-model-api
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
model
/
api
/
meta
/
EffectiveStatement.java
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 026a0a04093681f3b537f9408e1e6f5591c0ab47..e3ef1c5ffec00e3caeda76c382161546a10ef8a9 100644
(file)
--- 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<A, S extends DeclaredStatement<A>> extends M
S getDeclared();
/**
S getDeclared();
/**
- *
* Returns value associated with supplied identifier
*
* @param <K>
* Returns value associated with supplied identifier
*
* @param <K>
@@
-48,14
+47,12
@@
public interface EffectiveStatement<A, S extends DeclaredStatement<A>> extends M
* @param identifier
* Identifier of element.
* @return Value if present, null otherwise.
* @param identifier
* Identifier of element.
* @return Value if present, null otherwise.
- *
- *
*/
*/
+ //<K, V, N extends IdentifierNamespace<? super K, ? extends V>> V
@Nullable
@Nullable
- <K,
V, N extends IdentifierNamespace<? super K, ? extends
V>> V get(@Nonnull Class<N> namespace,@Nonnull K identifier);
+ <K,
V,N extends IdentifierNamespace<K,
V>> V get(@Nonnull Class<N> namespace,@Nonnull K identifier);
/**
/**
- *
* Returns all local values from supplied namespace.
*
* @param <K>
* Returns all local values from supplied namespace.
*
* @param <K>
@@
-72,11
+69,9
@@
public interface EffectiveStatement<A, S extends DeclaredStatement<A>> extends M
<K, V, N extends IdentifierNamespace<K, V>> Map<K, V> getAll(@Nonnull Class<N> namespace);
/**
<K, V, N extends IdentifierNamespace<K, V>> Map<K, V> getAll(@Nonnull Class<N> 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<? extends EffectiveStatement<?, ?>> effectiveSubstatements();
-
+ @Nonnull Collection<? extends EffectiveStatement<?, ?>> effectiveSubstatements();
}
}