Interface IHasName

All Known Implementing Classes:
ObjectType
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IHasName
Base interface for all objects that have a mandatory INTERNAL name that is not multilingual but should be human interpretable. If you need to have a name that is displayed on the screen, please use the IHasDisplayName interface.
Author:
Philip Helger
  • Method Details

    • getName

      @NonNull String getName()
      Returns:
      The name of the object. May not be null.
    • getComparatorName

      static @NonNull Comparator<IHasName> getComparatorName()