Interface AttributeTranscoderRegistry.NamingFunction<T>

  • Type Parameters:
    T - type of object
    All Known Implementing Classes:
    BasicNamingFunction
    Enclosing interface:
    AttributeTranscoderRegistry

    public static interface AttributeTranscoderRegistry.NamingFunction<T>
    Interface to a naming function that allows an object to be turned into a unique string name.
    Since:
    4.1.0
    • Method Detail

      • getType

        @Nonnull
        Class<T> getType()
        Gets the type of object supported.
        Returns:
        object type
      • getFunction

        @Nonnull
        Function<T,​String> getFunction()
        Gets the function that produces a name for an input object.
        Returns:
        naming function