org.springframework.binding.validation
Interface ValidationMessage
- All Superinterfaces:
- Message
- All Known Implementing Classes:
- DefaultValidationMessage
public interface ValidationMessage
- extends Message
A specific type of message that relates to a property.
ValidationMessage
s often find their origin in validation
triggered by a constraint on a property. This information is additionally
kept available in this ValidationMessage
.
Method Summary |
String |
getProperty()
The property that this validation message applies to; or
GLOBAL_PROPERTY if this message does not apply to a
specific property. |
GLOBAL_PROPERTY
static final String GLOBAL_PROPERTY
- The property name for messages that have a global scope i.e. do not apply
to a specific property.
getProperty
String getProperty()
- The property that this validation message applies to; or
GLOBAL_PROPERTY
if this message does not apply to a
specific property.
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.