|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cmu.survey.data.users.UserStub
public abstract class UserStub
Field Summary | |
---|---|
protected StringDataBit |
emailAddress
|
protected StringDataBit |
firstName
|
protected boolean |
isEditable
|
protected boolean |
isNew
|
protected StringDataBit |
lastName
|
protected StringDataBit |
password
|
protected java.lang.Integer |
uniqueID
|
protected UserAuthentication[] |
userAuthenticationTechniquesToTry
|
protected StringDataBit |
userID
|
Constructor Summary | |
---|---|
UserStub()
|
Method Summary | |
---|---|
boolean |
canSetPassword()
|
boolean |
canSetUserID()
|
java.util.Vector<DataBit> |
getDataBits()
|
java.lang.String |
getEmailAddress()
|
java.lang.String |
getFirstName()
|
java.lang.String |
getLastName()
|
java.util.List |
getOtherPropertiesKeySet()
Returns a List with string names for any other properties, editable or not, that this thing has. |
java.lang.Object |
getOtherProperty(java.lang.String key)
Will throw an IllegalArgumentException if there is no such key. |
protected UserAuthentication[] |
getUserAuthenticationTechniquesToTry()
Subclasses may override this to force a set of UserAuthentications to be used. |
java.lang.String |
getUserID()
|
boolean |
hasBeenModified()
|
boolean |
isEditable()
|
boolean |
isNew()
|
boolean |
isOtherPropertyEditable(java.lang.String key)
Will throw an IllegalArgumentException if there is no such key. |
boolean |
passwordMatches(java.lang.String passwordString)
|
void |
setEmailAddress(java.lang.String emailAddress)
|
void |
setFirstName(java.lang.String firstName)
|
void |
setLastName(java.lang.String lastName)
|
void |
setNew(boolean isNew)
|
void |
setOtherProperty(java.lang.String key,
java.lang.Object o)
Will throw an IllegalArgumentException if there is no such key. |
void |
setPassword(java.lang.String password)
|
void |
setUserID(java.lang.String userID)
Right now, this should never be changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Integer uniqueID
protected StringDataBit userID
protected StringDataBit emailAddress
protected StringDataBit firstName
protected StringDataBit lastName
protected StringDataBit password
protected UserAuthentication[] userAuthenticationTechniquesToTry
protected boolean isEditable
protected boolean isNew
Constructor Detail |
---|
public UserStub()
Method Detail |
---|
public boolean canSetPassword()
canSetPassword
in interface User
public boolean canSetUserID()
canSetUserID
in interface User
public boolean isEditable()
isEditable
in interface User
public boolean isNew()
public void setNew(boolean isNew)
isNew
- The isNew to set.public java.lang.String getEmailAddress()
getEmailAddress
in interface User
public void setEmailAddress(java.lang.String emailAddress)
setEmailAddress
in interface User
emailAddress
- The emailAddress to set.public java.lang.String getFirstName()
getFirstName
in interface User
public void setFirstName(java.lang.String firstName)
setFirstName
in interface User
firstName
- The firstName to set.public java.lang.String getLastName()
getLastName
in interface User
public void setLastName(java.lang.String lastName)
setLastName
in interface User
lastName
- The lastName to set.public void setPassword(java.lang.String password)
setPassword
in interface User
password
- The password to set.public java.lang.String getUserID()
getUserID
in interface User
public void setUserID(java.lang.String userID)
setUserID
in interface User
userID
- The userID to set.public boolean passwordMatches(java.lang.String passwordString)
passwordMatches
in interface User
public boolean hasBeenModified()
public java.util.List getOtherPropertiesKeySet()
User
getOtherPropertiesKeySet
in interface User
public java.lang.Object getOtherProperty(java.lang.String key)
User
getOtherProperty
in interface User
public void setOtherProperty(java.lang.String key, java.lang.Object o)
User
setOtherProperty
in interface User
public boolean isOtherPropertyEditable(java.lang.String key)
User
isOtherPropertyEditable
in interface User
protected UserAuthentication[] getUserAuthenticationTechniquesToTry()
public java.util.Vector<DataBit> getDataBits()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |