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. ValidationMessages often find their origin in validation triggered by a constraint on a property. This information is additionally kept available in this ValidationMessage.


Field Summary
static String GLOBAL_PROPERTY
          The property name for messages that have a global scope i.e.
 
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.
 
Methods inherited from interface org.springframework.richclient.core.Message
getMessage, getSeverity, getTimestamp, renderMessage
 

Field Detail

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.

Method Detail

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.