|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.logging.validation.ValidationWarningMessage
public class ValidationWarningMessage
Date: 09.04.2011
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.logging.validation.ValidationMessage |
|---|
ValidationMessage.MessageType |
| Constructor Summary | |
|---|---|
ValidationWarningMessage(Element element,
String message)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Element |
getElement()
Returns the element that caused the error. |
String |
getMessage()
Returns the error message. |
int |
hashCode()
|
static ValidationWarningMessage |
of(Element element,
String message)
Creates a new validation warning message. |
static ValidationWarningMessage |
of(Element element,
String messageFormat,
Object... args)
Creates a new formatted validation warning message. |
String |
toString()
|
ValidationMessage.MessageType |
type()
The type of the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationWarningMessage(Element element,
String message)
| Method Detail |
|---|
public static ValidationWarningMessage of(Element element,
String message)
element - the element to create the message for.message - the message for the warning.
public static ValidationWarningMessage of(Element element,
String messageFormat,
Object... args)
element - the element to create the message for.messageFormat - the message format.args - the replacement arguments for String.format(java.lang.String, java.lang.Object[]).
public ValidationMessage.MessageType type()
ValidationMessage
type in interface ValidationMessagepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic Element getElement()
ValidationMessage
getElement in interface ValidationMessagepublic String getMessage()
ValidationMessage
getMessage in interface ValidationMessage
|
JBoss Logging I18n Tools 1.0.0.Beta7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||