|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseInterface
Field Summary | |
---|---|
static int |
MAYBE
Response status indicating "might attend." This should have the value 0. |
static int |
NO
Response status indicating "will not attend." This should have the value -1. |
static long |
serialVersionUID
|
static int |
YES
Response status indicating "will attend." This should have the value 1. |
Method Summary | |
---|---|
java.lang.String |
getComment()
Gets this Response's comment. |
EmailAddressInterface |
getEmail()
Gets the email address of the respondent. |
int |
getStatus()
Returns the status of this response: one of Response.YES, Response.NO, or Response.MAYBE. |
void |
setComment(java.lang.String comment)
Sets the comment for this Response. |
void |
setEmail(EmailAddressInterface email)
Sets the email address of the respondent. |
void |
setStatus(int status)
Sets the status of this response; throws a BogusParameterException if the status supplied is invalid. |
Field Detail |
---|
static final long serialVersionUID
static final int YES
static final int NO
static final int MAYBE
Method Detail |
---|
EmailAddressInterface getEmail()
void setEmail(EmailAddressInterface email)
email
- a valid EmailAddressjava.lang.String getComment()
void setComment(java.lang.String comment)
comment
- a String representing a comment.int getStatus()
void setStatus(int status)
Precondition: The supplied status must be Response.YES, Response.NO, or Response.MAYBE. If a different status is supplied, this method must throw a BogusParameterException.
status
- one of Response.YES, Response.NO, or Response.MAYBE.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |