Package | Description |
---|---|
com.jgoodies.validation |
Consists of the required validation framework core types.
|
com.jgoodies.validation.message |
Contains default implementations for validation messages.
|
com.jgoodies.validation.util |
Contains optional validation helper classes and
default implementations.
|
Modifier and Type | Method and Description |
---|---|
ValidationMessage |
ValidationResult.get(int index)
Returns the message at the specified position in this result.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationMessage> |
ValidationResult.getErrors()
Returns an unmodifiable List of the validation messages
that indicate errors.
|
List<ValidationMessage> |
ValidationResult.getMessages()
Returns an unmodifiable List of all validation messages.
|
List<ValidationMessage> |
ValidationResult.getWarnings()
Returns an unmodifiable List of the validation messages
that indicate warnings.
|
Iterator<ValidationMessage> |
ValidationResult.iterator()
Returns an iterator over the validation messages in this result
in proper sequence.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationResult.add(ValidationMessage validationMessage)
Adds a new ValidationMessage to the list of messages.
|
boolean |
ValidationResult.contains(ValidationMessage message)
Checks and answers whether this result contains the specified message.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationResult.addAll(List<ValidationMessage> messages)
Adds all messages from the given list to this validation result.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractValidationMessage
An abstract class that minimizes the effort required to implement the
ValidationMessage interface. |
class |
PropertyValidationMessage
An implementation of
ValidationMessage that holds a text message,
the validated object (target), a descriptions of the validated property,
and a description of the role this object takes in the validation context. |
class |
SimpleValidationMessage
A minimal implementation of
ValidationMessage that just holds a text. |
Constructor and Description |
---|
ValidationResultModelContainer(ValidationMessage collapsedMessage)
Constructs a
ValidationResultModelContainer using the
given validation message for the collapsed state. |
Copyright © 2003-2011 JGoodies Karsten Lentzsch. All Rights Reserved.