|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrsvp.model.Response
public class Response
| Field Summary |
|---|
| Fields inherited from interface rsvp.model.ResponseInterface |
|---|
MAYBE, NO, serialVersionUID, YES |
| Constructor Summary | |
|---|---|
Response()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Response()
| Method Detail |
|---|
public EmailAddressInterface getEmail()
ResponseInterface
getEmail in interface ResponseInterfacepublic void setEmail(EmailAddressInterface email)
ResponseInterface
setEmail in interface ResponseInterfaceemail - a valid EmailAddresspublic java.lang.String getComment()
ResponseInterface
getComment in interface ResponseInterfacepublic void setComment(java.lang.String comment)
ResponseInterface
setComment in interface ResponseInterfacecomment - a String representing a comment.public int getStatus()
ResponseInterface
getStatus in interface ResponseInterfacepublic void setStatus(int status)
ResponseInterfacePrecondition: The supplied status must be Response.YES, Response.NO, or Response.MAYBE. If a different status is supplied, this method must throw a BogusParameterException.
setStatus in interface ResponseInterfacestatus - 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 | |||||||||