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

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

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

import io.legaldocml.akn.AknObject;
import io.legaldocml.business.builder.support.SupportBuilder;

/**
 * @author Jacques Militello
 */
public abstract class AbstractBusinessPartBuilder implements SupportBuilder {

    private final BusinessBuilder businessBuilder;
    private final T container;

    protected AbstractBusinessPartBuilder(BusinessBuilder businessBuilder, T container) {
        this.businessBuilder = businessBuilder;
        this.container = container;
    }

    public final BusinessBuilder getBusinessBuilder() {
        return businessBuilder;
    }

    @Override
    public final BusinessBuilder businessBuilder() {
        return businessBuilder;
    }

    @Override
    public T parent() {
        return this.container;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy