Package de.espirit.firstspirit.agency
Interface ElementValidationReport
- All Superinterfaces:
Serializable
Combined validation report on an element.
- Since:
- 5.0.100
-
Method Summary
Modifier and TypeMethodDescription@NotNull IDProvider
Deprecated.@NotNull IDProvider
getElement
(SpecialistsBroker broker) Get the element this report is generated for.@Nullable MultiFormValidationReport
Get the report for a given scope.boolean
isValid()
Indicates the validated element to be valid and no reports being generated.
-
Method Details
-
isValid
boolean isValid()Indicates the validated element to be valid and no reports being generated.- Returns:
true
, if valid.- Since:
- 5.0.100
-
getElement
Deprecated.since 5.0.311, usegetElement(SpecialistsBroker)
instead.Get the element this report is generated for.Note: might throw
UnsupportedOperationException
, if used in a remote environment.- Returns:
- The validated element.
- Throws:
UnsupportedOperationException
- if used in a remote environment.- Since:
- 5.0.100
-
getElement
Get the element this report is generated for.- Parameters:
broker
- A broker to resolve the element.- Returns:
- The requested element.
- Throws:
NoSuchElementException
- if the referenced element does not exist.- Since:
- 5.0.31
-
getReport
Get the report for a given scope.- Parameters:
scope
- The scope to get reports for.- Returns:
- The according scope-related report or
null
, if no report is available for the given scope. - Since:
- 5.0.8
-
getElement(SpecialistsBroker)
instead.