Package net.sf.jsqlparser.expression
Class JsonKeyValuePair
- java.lang.Object
-
- net.sf.jsqlparser.expression.JsonKeyValuePair
-
- All Implemented Interfaces:
java.io.Serializable
public class JsonKeyValuePair extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
key
private boolean
usingFormatJson
private boolean
usingKeyKeyword
private boolean
usingValueKeyword
private java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description JsonKeyValuePair(java.lang.String key, java.lang.Object value, boolean usingKeyKeyword, boolean usingValueKeyword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilder
append(java.lang.StringBuilder builder)
boolean
equals(java.lang.Object obj)
java.lang.String
getKey()
java.lang.Object
getValue()
int
hashCode()
boolean
isUsingFormatJson()
boolean
isUsingKeyKeyword()
boolean
isUsingValueKeyword()
void
setUsingFormatJson(boolean usingFormatJson)
void
setUsingKeyKeyword(boolean usingKeyKeyword)
void
setUsingValueKeyword(boolean usingValueKeyword)
java.lang.String
toString()
JsonKeyValuePair
withUsingFormatJson(boolean usingFormatJson)
JsonKeyValuePair
withUsingKeyKeyword(boolean usingKeyKeyword)
JsonKeyValuePair
withUsingValueKeyword(boolean usingValueKeyword)
-
-
-
Method Detail
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
-
getValue
public java.lang.Object getValue()
-
append
public java.lang.StringBuilder append(java.lang.StringBuilder builder)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-