Interface MorphiaConvention

  • All Known Implementing Classes:
    MorphiaDefaultsConvention

    public interface MorphiaConvention
    Applies certain conventions specific for Morphia
    • Method Detail

      • apply

        void apply​(Datastore datastore,
                   EntityModelBuilder builder)
        This method applies this Convention to the given builder
        Parameters:
        datastore - the datastore to use
        builder - the builder to apply the convention to