Examples/src/main/java/org/openestate/io/examples/ImmobiliareItWritingExample.java
protected static PictureExtended createPictureExtended() {
        PictureExtended pic = FACTORY.createPictureExtended();
        pic.setPosition(BigInteger.valueOf(RandomUtils.nextLong(0, 100)));
        pic.setValue("image-" + RandomUtils.nextInt(0, 999) + ".jpg");
        pic.setUrl("http://mywebsite.org/" + pic.getValue());
        return pic;
    }
protected static PictureExtended createPictureExtended() {
        PictureExtended pic = FACTORY.createPictureExtended();
        pic.setPosition(BigInteger.valueOf(RandomUtils.nextLong(0, 100)));
        pic.setValue("image-" + RandomUtils.nextInt(0, 999) + ".jpg");
        pic.setUrl("http://mywebsite.org/" + pic.getValue());
        return pic;
    }
Create a {@link PictureExtended} with some example data.

@return created example object