org.faktorips.runtime
Interface IValidationContext

All Known Implementing Classes:
ValidationContext

public interface IValidationContext

A validation context is provided to the validate() method generated by Faktor-IPS. By means of the validation context the caller can provide additional information to the validate method like for example the business context in which the validation is to execute.

Author:
Peter Erzberger

Method Summary
 Locale getLocale()
          Returns the Locale that is to use for the creation of validation messages.
 Object getValue(String propertyName)
          Returns the value for property with the specified name.
 

Method Detail

getLocale

Locale getLocale()
Returns the Locale that is to use for the creation of validation messages.


getValue

Object getValue(String propertyName)
Returns the value for property with the specified name.



Copyright © 2015. All rights reserved.