Class MapKeyTypeConstraint
- java.lang.Object
-
- dev.morphia.mapping.validation.fieldrules.PropertyConstraint
-
- dev.morphia.mapping.validation.fieldrules.MapKeyTypeConstraint
-
- All Implemented Interfaces:
ClassConstraint
public class MapKeyTypeConstraint extends PropertyConstraint
A constraint to validate key types of Map fields
-
-
Constructor Summary
Constructors Constructor Description MapKeyTypeConstraint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)
-
Methods inherited from class dev.morphia.mapping.validation.fieldrules.PropertyConstraint
check
-
-
-
-
Method Detail
-
check
protected void check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)
- Specified by:
check
in classPropertyConstraint
-
-