Class JsonKeyValuePair

  • All Implemented Interfaces:
    java.io.Serializable

    public class JsonKeyValuePair
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • key

        private final java.lang.String key
      • usingKeyKeyword

        private boolean usingKeyKeyword
      • value

        private final java.lang.Object value
      • usingValueKeyword

        private boolean usingValueKeyword
      • usingFormatJson

        private boolean usingFormatJson
    • Constructor Detail

      • JsonKeyValuePair

        public JsonKeyValuePair​(java.lang.String key,
                                java.lang.Object value,
                                boolean usingKeyKeyword,
                                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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.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 class java.lang.Object