Interface IFlagInstance

    • Method Detail

      • isRequired

        boolean isRequired()
        Determines if a flag value is required to be provided.
        Returns:
        true if a value is required, or false otherwise
      • isJsonKey

        default boolean isJsonKey()
        Determines if this flag's value is used as the property name for the JSON object that holds the remaining data based on this flag's containing definition.
        Returns:
        true if this flag is used as a JSON key, or false otherwise
      • isJsonValueKey

        default boolean isJsonValueKey()
        Determines if this flag is used as a JSON "value key". A "value key" is a flag who's value is used as the property name for the containing objects value.
        Returns:
        true if the flag is used as a JSON "value key", or false otherwise