Class HotRodStringPair

java.lang.Object
org.keycloak.models.map.storage.hotRod.common.HotRodStringPair

@Indexed public class HotRodStringPair extends Object
!!! Please do not change this class !!! If some change is needed please create a new version of this class and solve the migration on top-level entities. Indexed Hot Rod pair entity where both key and value are String type. The entity should be used when there is a need to search by key or/and value. Otherwise HotRodPair<String,String> should be used.
  • Field Details

    • key

      @Basic(sortable=true) @ProtoField(number=1) public String key
    • value

      @Basic(sortable=true) @ProtoField(number=2) public String value
  • Constructor Details

    • HotRodStringPair

      public HotRodStringPair()
    • HotRodStringPair

      public HotRodStringPair(String key, String value)
  • Method Details

    • getKey

      public String getKey()
    • getValue

      public String getValue()
    • setKey

      public void setKey(String key)
    • setValue

      public void setValue(String value)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object