Expand Identifiable documentation
[yangtools.git] / common / concepts / src / main / java / org / opendaylight / yangtools / concepts / Identifiable.java
index cf91864260f489409fd01881b264b62a3e8d4874..99d6b77197fc81b5ef13850e046b761dea776994 100644 (file)
@@ -7,7 +7,13 @@
  */
 package org.opendaylight.yangtools.concepts;
 
-public interface Identifiable<T> {
+import javax.annotation.Nonnull;
 
-    T getIdentifier();
+public interface Identifiable<T> {
+    /**
+     * Return this objects Identifier
+     *
+     * @return Object's identifier, must not be null.
+     */
+    @Nonnull T getIdentifier();
 }