public class ApplicationLoggerMessage extends java.lang.Object
ApplicationLogger
.Modifier and Type | Field and Description |
---|---|
static int |
NO_HELP_CODE |
static java.text.DateFormat |
TIME_FORMAT |
Constructor and Description |
---|
ApplicationLoggerMessage(ApplicationLoggerMessageType type,
java.lang.String message) |
ApplicationLoggerMessage(ApplicationLoggerMessageType type,
java.lang.String message,
int helpCode) |
Modifier and Type | Method and Description |
---|---|
int |
getHelpCode() |
java.lang.String |
getMessage() |
java.util.Date |
getTime() |
ApplicationLoggerMessageType |
getType() |
boolean |
hasHelpCode() |
void |
setHelpCode(int helpCode) |
void |
setMessage(java.lang.String message) |
void |
setTime(java.util.Date time) |
void |
setTime(long millis) |
void |
setTimeToNow() |
void |
setType(ApplicationLoggerMessageType type) |
java.lang.String |
toString() |
public static final int NO_HELP_CODE
public static final java.text.DateFormat TIME_FORMAT
public ApplicationLoggerMessage(ApplicationLoggerMessageType type, java.lang.String message)
public ApplicationLoggerMessage(ApplicationLoggerMessageType type, java.lang.String message, int helpCode)
public ApplicationLoggerMessageType getType()
public void setType(ApplicationLoggerMessageType type)
public java.util.Date getTime()
public void setTime(java.util.Date time)
public void setTime(long millis)
public void setTimeToNow()
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public int getHelpCode()
public void setHelpCode(int helpCode)
public boolean hasHelpCode()
public java.lang.String toString()
toString
in class java.lang.Object