Class ContainsEmbeddedWithId
- java.lang.Object
-
- dev.morphia.mapping.validation.classrules.ContainsEmbeddedWithId
-
- All Implemented Interfaces:
ClassConstraint
public class ContainsEmbeddedWithId extends java.lang.Object implements ClassConstraint
- Author:
- josephpachod
-
-
Constructor Summary
Constructors Constructor Description ContainsEmbeddedWithId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(Mapper mapper, MappedClass mc, java.util.Set<ConstraintViolation> ve)
Check that a MappedClass meets the constraint
-
-
-
Method Detail
-
check
public void check(Mapper mapper, MappedClass mc, java.util.Set<ConstraintViolation> ve)
Description copied from interface:ClassConstraint
Check that a MappedClass meets the constraint- Specified by:
check
in interfaceClassConstraint
- Parameters:
mapper
- the Mapper to use for validationmc
- the MappedClass to checkve
- the set of violations
-
-