Add Registration functionality and tidy up
[WeStealzYourDataz.git] / src / uk / ac / ntu / n0521366 / wsyd / libs / WSYD_Member.java
index 621e147..7bd1acd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * The MIT License
  *
- * Copyright 2015 TJ <hacker@iam.tj>.
+ * Copyright 2015 Eddie Berrisford-Lynch <dev@fun2be.me>.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -25,6 +25,7 @@ package uk.ac.ntu.n0521366.wsyd.libs;
 
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
+import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Date;
 import java.util.TreeSet;
@@ -44,9 +45,15 @@ import java.util.logging.Level;
  * WSYD_Member_Comparator_UserID supports sorted Maps with userID as the sort key
  * WSYD_Member_Comparator_UserName supports sorted Sets and Collections with userName as the sort key
  *
- * @author TJ <hacker@iam.tj>
+ * @author Eddie Berrisford-Lynch <dev@fun2be.me>
  */
 public class WSYD_Member implements java.io.Serializable, java.lang.Comparable<WSYD_Member> {
+    
+    /**
+     * Choices for _interests
+     */
+    public static String[] Interests = {"Computers","Driving","DIY","Gardening","Games","Gym","Music","Reading" };
+    
     public long _userID;
     public String _userName;
     public String _password;