package org.diorite.utils.others;

public interface Dirtable
{
    boolean isDirty();

    boolean setDirty(final boolean dirty);

    default boolean setDirty()
    {
        return this.setDirty(true);
    }

    default boolean setClean()
    {
        return this.setDirty(false);
    }
}

@@ -32,183 +32,738 @@
 s;%0A%0A
-public interface Dirtable%0A%7B%0A    boolean isDirty();%0A%0A    boolean setDirty(final boolean dirty);%0A%0A    default boolean setDirty()%0A    %7B%0A        return this.setDirty(true);%0A    %7D%0A
+/**%0A * Represent object that can be %22dirty%22 - so it need some kind of update.%0A */%0Apublic interface Dirtable%0A%7B%0A    /**%0A     * Check if item is dirty.%0A     *%0A     * @return true if item is dirty.%0A     */%0A    boolean isDirty();%0A%0A    /**%0A     * Change dirty state, and return previous one.%0A     *%0A     * @param dirty new dirty state%0A     *%0A     * @return old dirty state.%0A     */%0A    boolean setDirty(final boolean dirty);%0A%0A    /**%0A     * Change dirty state to true, and return previous one.%0A     *%0A     * @return old dirty state.%0A     */%0A    default boolean setDirty()%0A    %7B%0A        return this.setDirty(true);%0A    %7D%0A%0A    /**%0A     * Change dirty state to false, and return previous one.%0A     *%0A     * @return old dirty state.%0A     */
 %0A   

Fix softUpdate + javadocs for Dirtable