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

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

package io.legaldocml.business.builder;

import io.legaldocml.akn.DocumentType;
import io.legaldocml.business.AknIdentifier;
import io.legaldocml.iso.Language;

/**
 * @author Jacques Militello
 */
public abstract class MetaBuilder {

    private final BusinessBuilder businessBuilder;

    protected MetaBuilder(BusinessBuilder businessBuilder) {
        this.businessBuilder = businessBuilder;
    }

    public void setAknIdentifier(AknIdentifier identifier) {
        if (identifier == null) {
            throw new BusinessBuilderException();
        }
        identifier.apply(this.businessBuilder.getAkomaNtoso());
    }

    public void setLanguage(Language language) {

    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy