class EstEidLdapFilter extends LdapFilter {

    @Override
    String filterString() {
        if (isSerialNumberSearch()) {
            return String.format(Locale.US, "(serialNumber= PNOEE-%s)", getQuery());
        } else {
            return String.format(Locale.US, "(cn= %s)", getQuery());
        }
    }

      EstEidLdapFilter(String query);

}