class NotEmptyValidator implements AtlasValidator {

    @Override
    public boolean supports(Class<?> clazz) {
        return clazz.isAssignableFrom(List.class) || clazz.isAssignableFrom(Map.class)
                || clazz.isAssignableFrom(Set.class) || clazz.isAssignableFrom(Collection.class);
    }

    public  NotEmptyValidator(ValidationScope scope, String violationMessage);

}