public static class LspsFormConnector.ValidationErrors extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Map<Variant.RecordVariant,UIComponent> |
errors
Contains instances of record "ui::ValidationError".
|
Constructor and Description |
---|
ValidationErrors() |
Modifier and Type | Method and Description |
---|---|
void |
add(Variant.RecordVariant record,
UIComponent scope)
Adds given ui::ValidationError record to the
errors map. |
void |
addAll(LspsFormConnector.ValidationErrors other)
Adds all validation errors contained by the other.
|
boolean |
hasErrors()
Indicates whether any validation error is present.
|
public final Map<Variant.RecordVariant,UIComponent> errors
present
.public boolean hasErrors()
true
if it contains at least one validation error.public void add(Variant.RecordVariant record, UIComponent scope)
errors
map.record
- the record, not null. Must be present
and subtype of ui::ValidationErrorscope
- the scope of the closure which produced this record, not null.public void addAll(LspsFormConnector.ValidationErrors other)
other
- Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.