Interface IEntityDeserializationStateHolder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object get​(String key)
      Gets the value associated with the given key.
      <T> T get​(String key, Class<T> type)
      Gets the value associated with the given key, cast to the given type.
      void put​(String key, Object value)
      Associates the given value with the given key.
      void remove​(String key)
      Removes the association with the given key.
    • Method Detail

      • get

        Object get​(String key)
        Gets the value associated with the given key.
        Parameters:
        key - The key to look up.
        Returns:
        The value associated with the key, or null if no value is associated with the key.
      • get

        <T> T get​(String key,
                  Class<T> type)
        Gets the value associated with the given key, cast to the given type. Returns null when the value is of the wrong type or no value is associated with the key.
        Type Parameters:
        T - The type to cast the value to.
        Parameters:
        key - The key to look up.
        type - The type to cast the value to.
        Returns:
        The value associated with the key, or null if no value is associated with the key or the value is of the wrong type.
      • put

        void put​(String key,
                 Object value)
        Associates the given value with the given key. Removes the association if the value is null.
        Parameters:
        key - The key to associate the value with.
        value - The value to associate with the key.
      • remove

        void remove​(String key)
        Removes the association with the given key.
        Parameters:
        key - The key to remove the association for.