@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    WidgetEntity that = (WidgetEntity) o;

    return Objects.equals(id, that.id);
  }
Sets the Tag used by the ui to store additional info e.g.:Name Service
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetEntity.java