org.hibernate.validator.internal.engine.path
Class MessageAndPath

java.lang.Object
  extended by org.hibernate.validator.internal.engine.path.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, javax.validation.Path property)
           
 
Method Summary
 String getMessage()
           
 javax.validation.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,
                      javax.validation.Path property)
Method Detail

getMessage

public final String getMessage()

getPath

public final javax.validation.Path getPath()


Copyright © 2012 Oracle Corporation. All Rights Reserved.