Class Property<T>

java.lang.Object
redis.clients.jedis.graph.entities.Property<T>

public class Property<T> extends Object
A Graph entity property. Has a name, type, and value.
  • Field Details

    • name

      private final String name
    • value

      private final T value
  • Constructor Details

    • Property

      public Property(String name, T value)
  • Method Details

    • getName

      public String getName()
    • getValue

      public T getValue()
    • valueEquals

      private boolean valueEquals(Object value1, Object value2)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Default toString implementation
      Overrides:
      toString in class Object
      Returns:
      the String