import org.checkerframework.checker.regex.qual.Regex;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
+import org.opendaylight.yangtools.concepts.Immutable;
/**
* Dedicated object identifying a YANG module revision.
*
- * <h3>API design note</h3>
+ * <h2>API design note</h2>
* This class defines the contents of a revision statement, but modules do not require to have a revision (e.g. they
* have not started to keep track of revisions).
*
*
* @author Robert Varga
*/
-public final class Revision implements Comparable<Revision>, Serializable {
+public final class Revision implements Comparable<Revision>, Immutable, Serializable {
// Note: since we are using writeReplace() this version is not significant.
private static final long serialVersionUID = 1L;