All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.legaldocml.business.builder.DefaultHierachyStrategy Maven / Gradle / Ivy

The newest version!
package io.legaldocml.business.builder;

/**
 * @author Jacques Militello
 */
public final class DefaultHierachyStrategy {

    public static final HierarchyStrategy HIGHER_DIVISION;
    public static final HierarchyStrategy BASIC_UNIT;
    public static final HierarchyStrategy SUB_DIVISION;

    public static final HierarchyStrategy COMPLETE;

    static {
        HIGHER_DIVISION = new HierarchyStrategyBuilder().tome().part().book().title().chapter().section().subSection().build();
        BASIC_UNIT = new HierarchyStrategyBuilder().article().section().rule().build();
        SUB_DIVISION = new HierarchyStrategyBuilder().subSection().alinea().clause().paragraph().provisio().subParagraph().division().point().build();

        COMPLETE = new HierarchyStrategyBuilder()
                .tome()
                .part()
                .book()
                .title()
                .chapter()
                .section()
                .subSection()
                .article()
                .section()
                .rule()
                .subSection()
                .alinea()
                .clause()
                .paragraph()
                .provisio()
                .subParagraph()
                .division()
                .point()
                .build();
    }

    private DefaultHierachyStrategy() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy