Class ErrorList.ErrorData
- All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
- Enclosing class:
ErrorList
ErrorInfo inner class - contains information related to
a single error
- Author:
- knoxg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetField()Retrieves a comma-separated list of fields that caused this errorRetrieves the description for this errorintRetrieves the severity of this errorRetrieves the type for this errorinthashCode()toString()Retrieves a string representation of this errorMethods inherited from class HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, newHashMap, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Constructor Details
-
ErrorData
Creates a new ErrorInfo object.- Parameters:
shortText- a short, descriptive string for this errorlongText- a more lengthy description of this errorerrorField- comma-separated list of field names that caused this errorseverity- the severity of this error
-
-
Method Details
-
hashCode
-
equals
-
getShortText
-
getLongText
Retrieves the description for this error- Returns:
- the description for this error
-
getField
-
getSeverity
-
toString
-