Top Description Methods
org.eclipse.persistence.jpa.jpql.tools.model

public Interface Problem

Known Direct Implementers
org.eclipse.persistence.jpa.jpql.tools.model.DefaultProblem
Imports
org.eclipse.persistence.jpa.jpql.tools.model.query.StateObject

A problem describes an issue found in a JPQL query because it is either grammatically or semantically incorrect.
Author
Pascal Filion
Since
2.4
Version
2.4

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

A non-null list of arguments that can be used to format the localized message
getMessageArguments
()

Returns the arguments associate with the problem's message.

public String

Returns:

The key used to retrieve the localized message
getMessageKey
()

Returns the key used to retrieve the localized message describing the problem found in the StateObject.

public StateObject

Returns:

The StateObject where the problem was found
getStateObject
()

Returns the StateObject where the problem was found.

Method Detail

getMessageArgumentsback to summary
public String[] getMessageArguments()

Returns the arguments associate with the problem's message.

Returns:String[]

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

getMessageKeyback to summary
public String getMessageKey()

Returns the key used to retrieve the localized message describing the problem found in the StateObject.

Returns:String

The key used to retrieve the localized message

getStateObjectback to summary
public StateObject getStateObject()

Returns the StateObject where the problem was found.

Returns:StateObject

The StateObject where the problem was found