Class VersionMisuse
- java.lang.Object
-
- dev.morphia.mapping.validation.fieldrules.PropertyConstraint
-
- dev.morphia.mapping.validation.fieldrules.VersionMisuse
-
- All Implemented Interfaces:
ClassConstraint
public class VersionMisuse extends PropertyConstraint
A constraint to validate any versioning field on a type
-
-
Constructor Summary
Constructors Constructor Description VersionMisuse()
-
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
-
-