class DataFormatCheckResult {

    private int status;

    private String message;
    
    private final static int SUCCESS = 1;
    private final static int FAIL = 0;

    public DataFormatCheckResult(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public boolean isSuccess() {
        if (status == SUCCESS) {
            return true;
        }
        return false;
    }

    public static DataFormatCheckResult success(String message) {
        return new DataFormatCheckResult(SUCCESS, message);
    }

    public static DataFormatCheckResult fail(String message) {
        return new DataFormatCheckResult(FAIL, message);
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}


}

        return "DataFormatCheckResult [status=" + status + ", message=" + message + "]";
    
<no_super_class>