Class ErrorFieldType


  • public class ErrorFieldType
    extends Object
    ErrorFieldType
    • Constructor Detail

      • ErrorFieldType

        public ErrorFieldType()
    • Method Detail

      • getErrorCode

        public Integer getErrorCode()
        The validation error code.
        Returns:
        errorCode
      • setErrorCode

        public void setErrorCode​(Integer errorCode)
      • getErrorDescription

        public String getErrorDescription()
        A description of the validation error.
        Returns:
        errorDescription
      • setErrorDescription

        public void setErrorDescription​(String errorDescription)
      • getFieldType

        public FieldType getFieldType()
        Get fieldType
        Returns:
        fieldType
      • setFieldType

        public void setFieldType​(FieldType fieldType)
      • equals

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

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

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

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