Class IdDoesNotMix
- java.lang.Object
-
- dev.morphia.mapping.validation.fieldrules.PropertyConstraint
-
- dev.morphia.mapping.validation.fieldrules.IdDoesNotMix
-
- All Implemented Interfaces:
ClassConstraint
public class IdDoesNotMix extends PropertyConstraint
Checks that @Id is not with any other mapping annotation
-
-
Constructor Summary
Constructors Constructor Description IdDoesNotMix()
-
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
-
-