- java.lang.Object
-
- net.sf.jsqlparser.expression.JsonKeyValuePair
-
- All Implemented Interfaces:
Serializable
public class JsonKeyValuePair extends Object implements Serializable
- Author:
- Andreas Reichel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JsonKeyValuePair(String key, Object value, boolean usingKeyKeyword, boolean usingValueKeyword)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilder
append(StringBuilder builder)
boolean
equals(Object obj)
String
getKey()
Object
getValue()
int
hashCode()
boolean
isUsingFormatJson()
boolean
isUsingKeyKeyword()
boolean
isUsingValueKeyword()
void
setUsingFormatJson(boolean usingFormatJson)
void
setUsingKeyKeyword(boolean usingKeyKeyword)
void
setUsingValueKeyword(boolean usingValueKeyword)
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)
-
getKey
public String getKey()
-
getValue
public Object getValue()
-
append
public StringBuilder append(StringBuilder builder)
-
-