Class MappingValidator


  • public class MappingValidator
    extends Object
    Validator for mapped types
    • Constructor Detail

      • MappingValidator

        public MappingValidator​(MorphiaInstanceCreator objectFactory)
        Creates a mapping validator
        Parameters:
        objectFactory - the object factory to be used when creating throw away instances to use in validation
    • Method Detail

      • validate

        public void validate​(Mapper mapper,
                             EntityModel entityModel)
        Parameters:
        entityModel - the EntityModel to validate
        mapper - the Mapper to use for validation
        Developer note.
        This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.