Interface NameRepository

  • All Known Implementing Classes:
    ImmutableNameRepository

    @Beta
    public interface NameRepository
    Indicates a repository of names for any object
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String nameFor​(java.lang.Object object)
      Returns the name for the specified object or null in case the repository does not know about the object.
    • Method Detail

      • nameFor

        java.lang.String nameFor​(java.lang.Object object)
        Returns the name for the specified object or null in case the repository does not know about the object.
        Parameters:
        object - the object for which to retrieve the nam
        Returns:
        a proper name for the given object, or null if the object is not known by the repository.