public interface IFieldErrorList
IErrorList containing only the methods relevant for
fields| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllItemTextsOfField(String sSearchFieldName)
Get a list with all texts for the specified field name.
|
List<String> |
getAllItemTextsOfFields(String... aSearchFieldNames)
Get a list with all texts for the specified field names
|
List<String> |
getAllItemTextsOfFieldsRegExp(String sRegExp)
Get a list with all texts of entries that have field names matching the
passed regular expression.
|
List<String> |
getAllItemTextsOfFieldsStartingWith(String... aSearchFieldNames)
Get a list with all texts of entries that have field names starting with
one of the supplied names.
|
IFieldErrorList |
getListOfField(String sSearchFieldName)
Get a sub-list with all entries for the specified field name
|
IFieldErrorList |
getListOfFields(String... aSearchFieldNames)
Get a sub-list with all entries for the specified field names
|
IFieldErrorList |
getListOfFieldsRegExp(String sRegExp)
Get a sub-list with all entries that have field names matching the passed
regular expression.
|
IFieldErrorList |
getListOfFieldsStartingWith(String... aSearchFieldNames)
Get a sub-list with all entries that have field names starting with one of
the supplied names.
|
IMultiMapListBased<String,IError> |
getStructuredByFieldName() |
IMultiMapListBased<String,IError> |
getStructuredByID() |
boolean |
hasEntryForField(String sSearchFieldName)
Check if any entry for the specified field is present
|
boolean |
hasEntryForField(String sSearchFieldName,
IErrorLevel aErrorLevel)
Check if any entry for the specified field and the specified error level is
present
|
boolean |
hasEntryForFields(String... aSearchFieldNames)
Check if any entry for the specified fields are present
|
boolean |
hasNoEntryForField(String sSearchFieldName)
Check if no entry for the specified field is present
|
boolean |
hasNoEntryForFields(String... aSearchFieldNames)
Check if no entry for the specified fields are present
|
boolean hasNoEntryForField(@Nullable String sSearchFieldName)
sSearchFieldName - The field name to search.true if no entry for the specified field is presentboolean hasNoEntryForFields(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.true if no entry for any of the specified fields is
presentboolean hasEntryForField(@Nullable String sSearchFieldName)
sSearchFieldName - The field name to search.true if an entry for the specified field is presentboolean hasEntryForField(@Nullable String sSearchFieldName, @Nullable IErrorLevel aErrorLevel)
sSearchFieldName - The field name to search.aErrorLevel - The exact form error level to search. May not be nulltrue if an entry for the specified field is present
that has exactly the specified form error levelboolean hasEntryForFields(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.true if an entry for at least one of the specified
fields is present@Nonnull @ReturnsMutableCopy IFieldErrorList getListOfField(@Nullable String sSearchFieldName)
sSearchFieldName - The field name to search.null.@Nonnull @ReturnsMutableCopy IFieldErrorList getListOfFields(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.null.@Nonnull @ReturnsMutableCopy IFieldErrorList getListOfFieldsStartingWith(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.null.@Nonnull @ReturnsMutableCopy IFieldErrorList getListOfFieldsRegExp(@Nonnull @Nonempty @RegEx String sRegExp)
sRegExp - The regular expression to compare the entries against.null.@Nonnull @ReturnsMutableCopy List<String> getAllItemTextsOfField(@Nullable String sSearchFieldName)
sSearchFieldName - The field name to search.null.@Nonnull @ReturnsMutableCopy List<String> getAllItemTextsOfFields(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.null.@Nonnull @ReturnsMutableCopy List<String> getAllItemTextsOfFieldsStartingWith(@Nullable String... aSearchFieldNames)
aSearchFieldNames - The field names to search.null.@Nonnull @ReturnsMutableCopy List<String> getAllItemTextsOfFieldsRegExp(@Nonnull @Nonempty @RegEx String sRegExp)
sRegExp - The regular expression to compare the entries against.null.@Nonnull @ReturnsMutableCopy IMultiMapListBased<String,IError> getStructuredByID()
@Nonnull @ReturnsMutableCopy IMultiMapListBased<String,IError> getStructuredByFieldName()
Copyright © 2014–2015 Philip Helger. All rights reserved.