public class SimpleWarningMessage extends Object implements WarningMessageInterface
Constructor and Description |
---|
SimpleWarningMessage(boolean warning,
String warningMessage) |
Modifier and Type | Method and Description |
---|---|
String |
getWarningMessage() |
boolean |
isWarning() |
void |
setWarning(boolean warning) |
void |
setWarningMessage(String warningMessage) |
public SimpleWarningMessage(boolean warning, String warningMessage)
warning
- warningMessage
- public String getWarningMessage()
getWarningMessage
in interface WarningMessageInterface
public void setWarningMessage(String warningMessage)
warningMessage
- the warningMessage to setpublic boolean isWarning()
isWarning
in interface WarningMessageInterface
public void setWarning(boolean warning)
warning
- the warning to set