- 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 StringBuilderappend(StringBuilder builder)booleanequals(Object obj)StringgetKey()ObjectgetValue()inthashCode()booleanisUsingFormatJson()booleanisUsingKeyKeyword()booleanisUsingValueKeyword()voidsetUsingFormatJson(boolean usingFormatJson)voidsetUsingKeyKeyword(boolean usingKeyKeyword)voidsetUsingValueKeyword(boolean usingValueKeyword)StringtoString()JsonKeyValuePairwithUsingFormatJson(boolean usingFormatJson)JsonKeyValuePairwithUsingKeyKeyword(boolean usingKeyKeyword)JsonKeyValuePairwithUsingValueKeyword(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)
-
-