Class FieldValue

    • Method Detail

      • of

        public static FieldValue of​(long value)
      • of

        public static FieldValue of​(double value)
      • of

        public static FieldValue of​(boolean value)
      • of

        public static FieldValue of​(java.lang.String value)
      • _toJsonString

        public java.lang.String _toJsonString()
      • isDouble

        public boolean isDouble()
        Is this variant instance of kind double?
      • doubleValue

        public double doubleValue()
        Get the double variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the double kind.
      • isLong

        public boolean isLong()
        Is this variant instance of kind long?
      • longValue

        public long longValue()
        Get the long variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the long kind.
      • isBoolean

        public boolean isBoolean()
        Is this variant instance of kind boolean?
      • booleanValue

        public boolean booleanValue()
        Get the boolean variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the boolean kind.
      • isString

        public boolean isString()
        Is this variant instance of kind string?
      • stringValue

        public java.lang.String stringValue()
        Get the string variant value.
        Throws:
        java.lang.IllegalStateException - if the current variant is not of the string kind.
      • isNull

        public boolean isNull()
        Is this variant instance of kind null?