Class JsonKeyValuePair

java.lang.Object
net.sf.jsqlparser.expression.JsonKeyValuePair
All Implemented Interfaces:
Serializable

public class JsonKeyValuePair extends Object implements Serializable
See Also:
  • Field Details

    • key

      private final String key
    • usingKeyKeyword

      private boolean usingKeyKeyword
    • value

      private final Object value
    • usingValueKeyword

      private boolean usingValueKeyword
    • usingFormatJson

      private boolean usingFormatJson
  • Constructor Details

    • JsonKeyValuePair

      public JsonKeyValuePair(String key, Object value, boolean usingKeyKeyword, boolean usingValueKeyword)
  • Method Details

    • isUsingKeyKeyword

      public boolean isUsingKeyKeyword()
    • setUsingKeyKeyword

      public void setUsingKeyKeyword(boolean usingKeyKeyword)
    • withUsingKeyKeyword

      public JsonKeyValuePair withUsingKeyKeyword(boolean usingKeyKeyword)
    • isUsingValueKeyword

      public boolean isUsingValueKeyword()
    • setUsingValueKeyword

      public void setUsingValueKeyword(boolean usingValueKeyword)
    • withUsingValueKeyword

      public JsonKeyValuePair withUsingValueKeyword(boolean usingValueKeyword)
    • isUsingFormatJson

      public boolean isUsingFormatJson()
    • setUsingFormatJson

      public void setUsingFormatJson(boolean usingFormatJson)
    • withUsingFormatJson

      public JsonKeyValuePair withUsingFormatJson(boolean usingFormatJson)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getKey

      public String getKey()
    • getValue

      public Object getValue()
    • append

      public StringBuilder append(StringBuilder builder)
    • toString

      public String toString()
      Overrides:
      toString in class Object