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

poussecafe.doc.model.BoundedContextComponentDoc Maven / Gradle / Ivy

There is a newer version: 0.29.0
Show newest version
package poussecafe.doc.model;

import poussecafe.doc.model.boundedcontextdoc.BoundedContextDocId;
import poussecafe.domain.ValueObject;

public class BoundedContextComponentDoc implements ValueObject {

    public static class Builder {

        private BoundedContextComponentDoc doc = new BoundedContextComponentDoc();

        public Builder componentDoc(ComponentDoc componentDoc) {
            doc.componentDoc = componentDoc;
            return this;
        }

        public Builder boundedContextDocId(BoundedContextDocId boundedContextDocId) {
            doc.boundedContextDocId = boundedContextDocId;
            return this;
        }

        public BoundedContextComponentDoc build() {
            return doc;
        }
    }

    private BoundedContextComponentDoc() {

    }

    private ComponentDoc componentDoc;

    public ComponentDoc componentDoc() {
        return componentDoc;
    }

    private BoundedContextDocId boundedContextDocId;

    public BoundedContextDocId boundedContextDocId() {
        return boundedContextDocId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy