io.github.dheid.roperty.mongodb.ValueDocumentTransformerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roperty-mongodb Show documentation
Show all versions of roperty-mongodb Show documentation
A MongoDB persistence implementation for Roperty
package io.github.dheid.roperty.mongodb;
import com.parship.roperty.DomainSpecificValueFactory;
import com.parship.roperty.KeyValuesFactory;
public class ValueDocumentTransformerFactory {
public ValueDocumentTransformer create(KeyValuesFactory keyValuesFactory, DomainSpecificValueFactory domainSpecificValueFactory) {
ValueDocumentTransformer valueDocumentTransformer = new ValueDocumentTransformer();
valueDocumentTransformer.setKeyValuesFactory(keyValuesFactory);
valueDocumentTransformer.setDomainSpecificValueFactory(domainSpecificValueFactory);
return valueDocumentTransformer;
}
}