Class EmbeddedAndId

  • All Implemented Interfaces:
    ClassConstraint

    public class EmbeddedAndId
    extends java.lang.Object
    implements ClassConstraint
    Author:
    Uwe Schaefer, (us@thomas-daily.de)
    • Constructor Summary

      Constructors 
      Constructor Description
      EmbeddedAndId()  
    • Constructor Detail

      • EmbeddedAndId

        public EmbeddedAndId()
    • 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