Class EntityEntry.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • set

        public EntityEntry.Builder set​(String k,
                                       Object v)
        Adds the specified key/value pair.
        Parameters:
        k - The key.
        v - The value.
        Returns:
        This builder.
      • set

        public EntityEntry.Builder set​(Map<String,​Object> map)
        Adds all the entries in given map to the entity entry.
        Parameters:
        map - The map to add.
        Returns:
        This builder.
      • get

        public Object get​(String key)
        Gets the value given the pair.
        Parameters:
        key - The key.
        Returns:
        The object hold by the key.
      • build

        public EntityEntry build()
        Description copied from interface: Builder
        Builds the final immutable instance.
        Specified by:
        build in interface Builder<EntityEntry>
        Returns:
        The final immutable instance.