public class Reader extends Object
Constructor and Description |
---|
Reader() |
Reader(String email) |
Reader(String lastName,
String firstName,
String email,
String deskPhone,
String mobilePhone,
String pager,
String screenName,
String imService,
String uid,
String pwd,
boolean administrator) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true iff obj is a reader and admin status, id, deskPhone, mobilePhone,
email, firstName, lastName, imService, pager, screenName and uid fields match
the values of this exactly.
|
String |
getDeskPhone() |
String |
getEmail() |
String |
getFirstName() |
long |
getId() |
String |
getImService() |
String |
getLastName() |
String |
getMobilePhone() |
String |
getPager() |
String |
getPwd() |
String |
getScreenName() |
String |
getUid() |
int |
hashCode() |
boolean |
isAdministrator() |
String |
normalizePhone(String phoneString)
Normalizes phone numbers to nnn-nnn-nnnn format by stripping
all non-numeric chars and replacing with "-", other than initial
chars and sequences of more than one non-numeric char (skipped)
|
void |
setAdministrator(boolean administrator) |
void |
setDeskPhone(String deskPhone) |
void |
setEmail(String email) |
void |
setFirstName(String firstName) |
void |
setId(Integer id) |
void |
setId(long id) |
void |
setId(Long id) |
void |
setImService(String imService) |
void |
setLastName(String lastName) |
void |
setMobilePhone(String mobilePhone) |
void |
setPager(String pager) |
void |
setPwd(String pwd) |
void |
setScreenName(String screenName) |
void |
setUid(String uid) |
String |
toString() |
public Reader()
public Reader(String lastName, String firstName, String email, String deskPhone, String mobilePhone, String pager, String screenName, String imService, String uid, String pwd, boolean administrator)
public Reader(String email)
public String getFirstName()
public long getId()
public String getLastName()
public void setFirstName(String firstName)
public void setId(long id)
public void setId(Long id)
public void setId(Integer id)
public void setLastName(String lastName)
public String getDeskPhone()
public void setDeskPhone(String deskPhone)
public String getEmail()
public void setEmail(String email)
public String getImService()
public void setImService(String imService)
public String getMobilePhone()
public void setMobilePhone(String mobilePhone)
public String getPager()
public void setPager(String pager)
public String getPwd()
public void setPwd(String pwd)
public String getScreenName()
public void setScreenName(String screenName)
public String getUid()
public void setUid(String uid)
public boolean isAdministrator()
public void setAdministrator(boolean administrator)
public String normalizePhone(String phoneString)
phoneString
- - the input phone number stringpublic boolean equals(Object obj)
Copyright © 2003-2017 The Virtual Library Team. All Rights Reserved.