/*
 * Copyright 2015 Hewlett-Packard Development Company, L.P.
 * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
 */

package com.hp.autonomy.types.requests.idol.actions.tags;

import java.io.Serializable;

@SuppressWarnings("WeakerAccess")
public interface TagName extends Serializable {
    String getId();

    String getName();
}

@@ -284,16 +284,17 @@
 arnings(
+%7B
 %22WeakerA
@@ -299,16 +299,64 @@
 rAccess%22
+, %22ComparableImplementedButEqualsNotOverridden%22%7D
 )%0Apublic
@@ -394,16 +394,37 @@
 alizable
+, Comparable%3CTagName%3E
  %7B%0A    S
@@ -460,11 +460,130 @@
 tName();
+%0A%0A    @Override%0A    default int compareTo(final TagName other) %7B%0A        return getId().compareTo(other.getId());%0A    %7D
 %0A%7D%0A

Make TagName comparable (FIND-476)