class MyBean {

    private Path path;

    private Date date;

    public Path getPath() {
        return path;
    }

    public void setPath(Path path) {
        this.path = path;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

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

        return "MyBean{" +
                "path=" + path +
                ", date=" + date +
                '}';
    
<no_super_class>