Class JsonLookup

java.lang.Object
com.sap.cloud.sdk.datamodel.odata.client.JsonLookup

public final class JsonLookup extends Object
An ordered collection of JsonPath.
  • Method Details

    • of

      @Nonnull public static JsonLookup of(@Nonnull JsonPath... paths)
      Static factory method for JsonLookup.
      Parameters:
      paths - An ordered enumeration of JsonPath, that is used for JSON lookup.
      Returns:
      A new instance.
    • empty

      @Nonnull public static JsonLookup empty()
      Static factory method for an empty JsonLookup.
      Returns:
      A new instance.
    • equals

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

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

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • getPaths

      @Nonnull public List<JsonPath> getPaths()