|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jpa.jpql.model.DefaultProblem
public final class DefaultProblem
The default implementation of Problem
.
Constructor Summary | |
---|---|
DefaultProblem(StateObject stateObject,
java.lang.String messageKey,
java.lang.String[] arguments)
Creates a new DefaultProblem . |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultProblem(StateObject stateObject, java.lang.String messageKey, java.lang.String[] arguments)
DefaultProblem
.
stateObject
- The StateObject
where the problem was foundmessageKey
- The key used to retrieve the localized message describing the problem found
with the current state of this StateObject
arguments
- A list of arguments that can be used to complete the message or an empty list
if no additional information is necessaryMethod Detail |
---|
public java.lang.String[] getMessageArguments()
getMessageArguments
in interface Problem
null
list of arguments that can be used to format the localized
messagepublic java.lang.String getMessageKey()
StateObject
.
getMessageKey
in interface Problem
public StateObject getStateObject()
StateObject
where the problem was found.
getStateObject
in interface Problem
StateObject
where the problem was foundpublic java.lang.String toString()
toString
in class java.lang.Object
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |