public interface Enquiry
extends java.io.Serializable
Recipients of enquiries may also finish the activity. In this case a reply is still needed and the reply will also be forwarded to the corresponding originator of the enquiry. This is done until the enquiry stack is empty and the first originator has received the corresponding reply. Since the enquiry can not be resumed in this case (it has already been finished), the receiver can remove it by replying (without providing a reply at all).
This interface represents one enquiry and encapsulates the necessary data, that is, the initiator of an enquiry, the recipients of an enquiry as well as the question/comment of the initiator and the corresponding reply.
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID
Generated ID for serialisation.
|
| Modifier and Type | Method and Description |
|---|---|
QualifiedAgent |
getOriginator()
Gets the agent who has initiated this enquiry.
|
java.lang.String |
getQuestion()
Gets the question (and therefore the reason) for this enquiry.
|
java.util.Set<QualifiedAgent> |
getRecipients()
Gets the agents who receive this enquiry.
|
QualifiedAgent |
getReplier()
Gets the agent that has replied this enquiry.
|
java.lang.String |
getReply()
Gets the reply for this enquiry which is set by the recipients of this
enquiry.
|
static final long serialVersionUID
QualifiedAgent getOriginator()
java.util.Set<QualifiedAgent> getRecipients()
java.lang.String getQuestion()
java.lang.String getReply()
QualifiedAgent getReplier()