Class InvalidField


  • public class InvalidField
    extends Object
    InvalidField
    • Constructor Detail

      • InvalidField

        public InvalidField()
    • Method Detail

      • getMessage

        public String getMessage()
        Description of the validation error.
        Returns:
        message
      • setMessage

        public void setMessage​(String message)
      • getName

        public String getName()
        The field that has an invalid value.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getValue

        public String getValue()
        The invalid value.
        Returns:
        value
      • setValue

        public void setValue​(String value)
      • equals

        public boolean equals​(Object o)
        Return true if this InvalidField object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static InvalidField fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of InvalidField given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of InvalidField
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to InvalidField
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of InvalidField to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException