*/
package org.opendaylight.yangtools.concepts;
+import javax.annotation.Nonnull;
+
public interface Identifiable<T> {
-
- T getIdentifier();
+ /**
+ * Return this objects Identifier.
+ *
+ * @return Object's identifier, must not be null.
+ */
+ @Nonnull T getIdentifier();
}