package org.rmatil.sync.version.api;

public enum AccessType {

    WRITE,

    READ,

    ACCESS_REMOVED
}

@@ -35,74 +35,616 @@
 i;%0A%0A
-public enum AccessType %7B%0A%0A    WRITE,%0A%0A    READ,%0A%0A    ACCESS_REMOVED
+/**%0A * The access types for a sharer.%0A * %3Cp%3E%0A * Note, that the order of the values%0A * is important, since they build an implicit%0A * chain of access: Every sharer having write access,%0A * has also access to read. However, a sharer having only read%0A * access does not have write access.%0A * %3Ccode%3EEnum.values()%3C/code%3E can be used to get the values%0A * in declared order%0A */%0Apublic enum AccessType %7B%0A%0A    /**%0A     * If a sharer lost his read/write access%0A     */%0A    ACCESS_REMOVED,%0A%0A    /**%0A     * If a sharer has read access%0A     */%0A    READ,%0A%0A    /**%0A     * If a sharer should have write access%0A     */%0A    WRITE
 %0A%7D%0A

Reorder access type enum