EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.model
Interface Problem

All Known Implementing Classes:
DefaultProblem

public interface Problem

A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.

Version:
2.4
Author:
Pascal Filion
Since:
2.4

Method Summary
 java.lang.String[] getMessageArguments()
          Returns the arguments associate with the problem's message.
 java.lang.String getMessageKey()
          Returns the key used to retrieve the localized message describing the problem found in the StateObject.
 StateObject getStateObject()
          Returns the StateObject where the problem was found.
 

Method Detail

getMessageArguments

java.lang.String[] getMessageArguments()
Returns the arguments associate with the problem's message.

Returns:
A non-null list of arguments that can be used to format the localized message

getMessageKey

java.lang.String getMessageKey()
Returns the key used to retrieve the localized message describing the problem found in the StateObject.

Returns:
The key used to retrieve the localized message

getStateObject

StateObject getStateObject()
Returns the StateObject where the problem was found.

Returns:
The StateObject where the problem was found

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference