|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openwms.common.domain.values.Problem
public class Problem
A Problem is used to signal an occurred failure.
Constructor Summary | |
---|---|
Problem()
Creates a new Problem instance. |
|
Problem(String message)
Create a new Problem instance with a message text. |
|
Problem(String message,
int messageNo)
Create a new Problem instance with a message text and a
message number. |
Method Summary | |
---|---|
String |
getMessage()
Get the message. |
int |
getMessageNo()
Get the messageNo. |
Date |
getOccurred()
Return the Date when the Problem has occurred. |
void |
setMessage(String message)
Set the message. |
void |
setMessageNo(int messageNo)
Set the messageNo. |
void |
setOccurred(Date occurred)
Set the Date when the Problem occurred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Problem()
Problem
instance.
public Problem(String message)
Problem
instance with a message text.
message
- text as Stringpublic Problem(String message, int messageNo)
Problem
instance with a message text and a
message number.
message
- text as StringmessageNo
- message numberMethod Detail |
---|
public Date getOccurred()
Problem
has occurred.
public void setOccurred(Date occurred)
Problem
occurred.
occurred
- The Date to set.public int getMessageNo()
public void setMessageNo(int messageNo)
messageNo
- The messageNo to set.public String getMessage()
public void setMessage(String message)
message
- The message to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |