Class ContainsEmbeddedWithId

  • All Implemented Interfaces:
    ClassConstraint

    public class ContainsEmbeddedWithId
    extends java.lang.Object
    implements ClassConstraint
    Author:
    josephpachod
    • Constructor Detail

      • ContainsEmbeddedWithId

        public ContainsEmbeddedWithId()
    • 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 interface ClassConstraint
        Parameters:
        mapper - the Mapper to use for validation
        mc - the MappedClass to check
        ve - the set of violations