Class ReferenceToUnidentifiable
- java.lang.Object
-
- dev.morphia.mapping.validation.fieldrules.PropertyConstraint
-
- dev.morphia.mapping.validation.fieldrules.ReferenceToUnidentifiable
-
- All Implemented Interfaces:
ClassConstraint
public class ReferenceToUnidentifiable extends PropertyConstraint
Checks that references point to mapped types.
-
-
Constructor Summary
Constructors Constructor Description ReferenceToUnidentifiable()
-
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
-
-