org.hibernate.validator.engine
Class MessageAndPath

java.lang.Object
  extended by org.hibernate.validator.engine.MessageAndPath

public class MessageAndPath
extends Object

Container class for a validation error message and its corresponding path.

Author:
Hardy Ferentschik

Constructor Summary
MessageAndPath(String message, Path property)
           
 
Method Summary
 String getMessage()
           
 Path getPath()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageAndPath

public MessageAndPath(String message,
                      Path property)
Method Detail

getMessage

public final String getMessage()

getPath

public final Path getPath()


Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved