Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. package Members;
  2.  
  3.  
  4.  
  5. public class Administrator extends User {
  6.  
  7. protected long phone;
  8.  
  9. public Administrator(String username, String password, String email1, String email2, String firstname,
  10. String lastname, String aboutme, String photourl1, String photourl2, String photourl3, String streetname,
  11. String streetnumber, String majormunicipality, String governingdistrict, String postalarea, int usertypeid,
  12. int status,long phone) {
  13. super(username, password, email1, email2, firstname, lastname, aboutme, photourl1, photourl2, photourl3,
  14. streetname, streetnumber, majormunicipality, governingdistrict, postalarea, usertypeid, status);
  15. // TODO Auto-generated constructor stub
  16. this.phone=phone;
  17. }
  18.  
  19. public long getPhone() {
  20. return phone;
  21. }
  22.  
  23. public void setPhone(long phone) {
  24. this.phone = phone;
  25. }
  26.  
  27. @Override
  28. public String toString() {
  29. return "Administrator [phone=" + phone + ", username=" + username + ", password=" + password + ", email1="
  30. + email1 + ", email2=" + email2 + ", firstname=" + firstname + ", lastname=" + lastname + ", aboutme="
  31. + aboutme + ", photourl1=" + photourl1 + ", photourl2=" + photourl2 + ", photourl3=" + photourl3
  32. + ", streetname=" + streetname + ", streetnumber=" + streetnumber + ", majormunicipality="
  33. + majormunicipality + ", governingdistrict=" + governingdistrict + ", postalarea=" + postalarea
  34. + ", usertypeid=" + usertypeid + ", status=" + status + "]";
  35. }
  36.  
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement