org.springframework.binding.validation.support
Class DefaultValidationMessage

java.lang.Object
  extended by org.springframework.richclient.core.DefaultMessage
      extended by org.springframework.binding.validation.support.DefaultValidationMessage
All Implemented Interfaces:
Serializable, ValidationMessage, Message

public class DefaultValidationMessage
extends DefaultMessage
implements ValidationMessage

Default implementation of ValidationMessage

Author:
Oliver Hutchison
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.richclient.core.DefaultMessage
EMPTY_MESSAGE
 
Fields inherited from interface org.springframework.binding.validation.ValidationMessage
GLOBAL_PROPERTY
 
Constructor Summary
DefaultValidationMessage(String property, Severity severity, String message)
           
 
Method Summary
 boolean equals(Object o)
           
 String getProperty()
          The property that this validation message applies to; or GLOBAL_PROPERTY if this message does not apply to a specific property.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.springframework.richclient.core.DefaultMessage
getIcon, getMessage, getSeverity, getTimestamp, renderMessage
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.richclient.core.Message
getMessage, getSeverity, getTimestamp, renderMessage
 

Constructor Detail

DefaultValidationMessage

public DefaultValidationMessage(String property,
                                Severity severity,
                                String message)
Method Detail

getProperty

public String getProperty()
Description copied from interface: ValidationMessage
The property that this validation message applies to; or GLOBAL_PROPERTY if this message does not apply to a specific property.

Specified by:
getProperty in interface ValidationMessage

hashCode

public int hashCode()
Overrides:
hashCode in class DefaultMessage

equals

public boolean equals(Object o)
Overrides:
equals in class DefaultMessage

toString

public String toString()
Overrides:
toString in class DefaultMessage


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.