Class Wrapper<T,KEY>

java.lang.Object
org.springframework.data.gemfire.repository.Wrapper<T,KEY>

public class Wrapper<T,KEY> extends Object
Simple value object holding an entity along with the external key in which the entity will be mapped.
  • Constructor Details

    • Wrapper

      public Wrapper(@NonNull T entity, @NonNull KEY key)
  • Method Details

    • getEntity

      public T getEntity()
    • getKey

      public KEY getKey()
    • toString

      public String toString()
      Overrides:
      toString in class Object