public class ErrorMessage extends Object implements org.jvnet.jaxb2_commons.lang.ToString
| Modifier and Type | Field and Description |
|---|---|
protected String |
errorCode |
protected String |
message |
protected Calendar |
timeOfError |
| Constructor and Description |
|---|
ErrorMessage() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
String |
getErrorCode()
Gets the value of the errorCode property.
|
String |
getMessage()
Gets the value of the message property.
|
Calendar |
getTimeOfError()
Gets the value of the timeOfError property.
|
void |
setErrorCode(String value)
Sets the value of the errorCode property.
|
void |
setMessage(String value)
Sets the value of the message property.
|
void |
setTimeOfError(Calendar value)
Sets the value of the timeOfError property.
|
String |
toString() |
ErrorMessage |
withErrorCode(String value) |
ErrorMessage |
withMessage(String value) |
ErrorMessage |
withTimeOfError(Calendar value) |
protected String errorCode
protected String message
protected Calendar timeOfError
public String getErrorCode()
Stringpublic void setErrorCode(String value)
value - allowed object is
Stringpublic String getMessage()
Stringpublic void setMessage(String value)
value - allowed object is
Stringpublic Calendar getTimeOfError()
Stringpublic void setTimeOfError(Calendar value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic ErrorMessage withErrorCode(String value)
public ErrorMessage withMessage(String value)
public ErrorMessage withTimeOfError(Calendar value)
Copyright © 2014. All Rights Reserved.