|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.ed.AbstractDataObject
edu.vt.middleware.ed.AbstractMutableDataObject
edu.vt.middleware.ed.PasswordQuestion
public class PasswordQuestion
Contains attributes that identify a password question.
| Field Summary | |
|---|---|
private Account |
account
account that owns this password question |
private String |
answer
answer |
private String |
question
question |
private static long |
serialVersionUID
serial version UID |
| Fields inherited from class edu.vt.middleware.ed.AbstractMutableDataObject |
|---|
modificationDate, modifiedBy |
| Fields inherited from class edu.vt.middleware.ed.AbstractDataObject |
|---|
createdBy, creationDate, uid |
| Constructor Summary | |
|---|---|
PasswordQuestion()
|
|
| Method Summary | |
|---|---|
void |
copyValues(PasswordQuestion dataObject)
Copies the non-relationship values from the supplied object into this object. |
Account |
getAccount()
Gets the account that owns this password. |
String |
getAnswer()
This returns the answer. |
String |
getQuestion()
This returns the question. |
Long |
getUid()
This returns the uid. |
boolean |
isCongruent(PasswordQuestion other)
Determines whether the given object is congruent/equivalent to this object via equals comparison on properties. |
void |
setAccount(Account acct)
Sets the account that owns this password. |
void |
setAnswer(String s)
This sets the answer. |
void |
setQuestion(String s)
This sets the question. |
| Methods inherited from class edu.vt.middleware.ed.AbstractMutableDataObject |
|---|
getModificationDate, getModifiedBy, setModificationDate, setModifiedBy |
| Methods inherited from class edu.vt.middleware.ed.AbstractDataObject |
|---|
compareTo, getCreatedBy, getCreationDate, setCreatedBy, setCreationDate, setUid, toString, validateProperties |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.vt.middleware.ed.DataObject |
|---|
getCreatedBy, getCreationDate, setCreatedBy, setCreationDate, setUid |
| Field Detail |
|---|
private static final long serialVersionUID
private String question
private String answer
private Account account
| Constructor Detail |
|---|
public PasswordQuestion()
| Method Detail |
|---|
public Long getUid()
getUid in interface DataObjectgetUid in class AbstractDataObjectLong - uidpublic Account getAccount()
public void setAccount(Account acct)
acct - Owning account.public String getQuestion()
Stringpublic void setQuestion(String s)
s - Stringpublic String getAnswer()
Stringpublic void setAnswer(String s)
s - Stringpublic void copyValues(PasswordQuestion dataObject)
copyValues in interface CarbonCopy<PasswordQuestion>dataObject - Source to copy from.public boolean isCongruent(PasswordQuestion other)
isCongruent in interface Congruence<PasswordQuestion>other - The object to compare to this instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||