/javadoc/hoipolloi/Person.html
http://hoipolloi.googlecode.com/ · HTML · 2260 lines · 2009 code · 233 blank · 18 comment · 0 complexity · 114a52b3bf5d1b0f356fbe5818aabf1a MD5 · raw file
Large files are truncated click here to view the full file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!--NewPage-->
- <HTML>
- <HEAD>
- <!-- Generated by javadoc (build 1.6.0_02) on Wed Dec 26 23:05:16 CST 2007 -->
- <TITLE>
- Person
- </TITLE>
- <META NAME="date" CONTENT="2007-12-26">
- <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
- <SCRIPT type="text/javascript">
- function windowTitle()
- {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="Person";
- }
- }
- </SCRIPT>
- <NOSCRIPT>
- </NOSCRIPT>
- </HEAD>
- <BODY BGCOLOR="white" onload="windowTitle();">
- <HR>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <A NAME="navbar_top"><!-- --></A>
- <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
- <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
- <TR>
- <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
- <A NAME="navbar_top_firstrow"><!-- --></A>
- <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
- <TR ALIGN="center" VALIGN="top">
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../hoipolloi/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
- <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
- <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
- </EM>
- </TD>
- </TR>
- <TR>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../hoipolloi/MainMenu.MenuAction.html" title="class in hoipolloi"><B>PREV CLASS</B></A>
- <A HREF="../hoipolloi/PrintUtilities.html" title="class in hoipolloi"><B>NEXT CLASS</B></A></FONT></TD>
- <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
- <A HREF="../index.html?hoipolloi/Person.html" target="_top"><B>FRAMES</B></A>
- <A HREF="Person.html" target="_top"><B>NO FRAMES</B></A>
- <SCRIPT type="text/javascript">
- <!--
- if(window==top) {
- document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
- }
- //-->
- </SCRIPT>
- <NOSCRIPT>
- <A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
- </NOSCRIPT>
- </FONT></TD>
- </TR>
- <TR>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
- <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
- </TR>
- </TABLE>
- <A NAME="skip-navbar_top"></A>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <HR>
- <!-- ======== START OF CLASS DATA ======== -->
- <H2>
- <FONT SIZE="-1">
- hoipolloi</FONT>
- <BR>
- Class Person</H2>
- <PRE>
- java.lang.Object
- <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>hoipolloi.Person</B>
- </PRE>
- <DL>
- <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Comparable</DD>
- </DL>
- <HR>
- <DL>
- <DT><PRE>public class <B>Person</B><DT>extends java.lang.Object<DT>implements java.lang.Comparable</DL>
- </PRE>
- <P>
- The Person Class stores people objects and has methods to send and retrieve their information from the database.
- <P>
- <P>
- <DL>
- <DT><B>Since:</B></DT>
- <DD>November 20, 2006</DD>
- <DT><B>Version:</B></DT>
- <DD>0.99n December 26, 2007</DD>
- <DT><B>Author:</B></DT>
- <DD>Brandon Tanner</DD>
- </DL>
- <HR>
- <P>
- <!-- =========== FIELD SUMMARY =========== -->
- <A NAME="field_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Field Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.ArrayList<<A HREF="../hoipolloi/Address.html" title="class in hoipolloi">Address</A>></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#addresses">addresses</A></B></CODE>
- <BR>
- The List of Addresses for this Person</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#birthday">birthday</A></B></CODE>
- <BR>
- The Person's Birthday in IS0-8601 Format YYYY-MM-DD</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.ArrayList<<A HREF="../hoipolloi/KeyValue.html" title="class in hoipolloi">KeyValue</A>></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#categories">categories</A></B></CODE>
- <BR>
- The List of Categories that this Person is in (each category is a KeyValue pair in this ArrayList)</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.ArrayList<<A HREF="../hoipolloi/Contact.html" title="class in hoipolloi">Contact</A>></CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#contacts">contacts</A></B></CODE>
- <BR>
- The List of Contacts for this Person</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#description">description</A></B></CODE>
- <BR>
- A Description of this Person or any other optional information</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#eyeColor">eyeColor</A></B></CODE>
- <BR>
- The Person's Eye Color, Green/Hazel/Black etc</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#firstName">firstName</A></B></CODE>
- <BR>
- The Person's First Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#gender">gender</A></B></CODE>
- <BR>
- The Person's Gender, Male or Female</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#hairColor">hairColor</A></B></CODE>
- <BR>
- The Person's Hair Color</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#height">height</A></B></CODE>
- <BR>
- The Person's Height (Customary or Metric)</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#lastName">lastName</A></B></CODE>
- <BR>
- The Person's Last Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#lastUpdate">lastUpdate</A></B></CODE>
- <BR>
- The Date When this Person's Profile Was Last Updated in ISO-8601 Format YYYY-MM-DD</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#maidenName">maidenName</A></B></CODE>
- <BR>
- The Person's Maiden Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#middleName">middleName</A></B></CODE>
- <BR>
- The Person's Middle Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#nationality">nationality</A></B></CODE>
- <BR>
- The Person's Nationality like American, Thai or Singaporean</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#nickName">nickName</A></B></CODE>
- <BR>
- The Person's Nick Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#occupation">occupation</A></B></CODE>
- <BR>
- The Person's Occupation</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#personID">personID</A></B></CODE>
- <BR>
- The Person ID for this Person in the Database</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#photoBinary">photoBinary</A></B></CODE>
- <BR>
- The Person's Profile Picture in Binary or BASE64 Format</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#photoFileName">photoFileName</A></B></CODE>
- <BR>
- The File Name of the Person's Profile Picture</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#prefix">prefix</A></B></CODE>
- <BR>
- The Prefix for this Person, like Mr or Dr</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#suffix">suffix</A></B></CODE>
- <BR>
- The Suffix for this Person, like Jr or Sr</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#weight">weight</A></B></CODE>
- <BR>
- The Person's Weight (Customary or Metric)</TD>
- </TR>
- </TABLE>
-
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <A NAME="constructor_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Constructor Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#Person()">Person</A></B>()</CODE>
- <BR>
- Creates a new instance of Person (for Adding a new one)</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#Person(int)">Person</A></B>(int pid)</CODE>
- <BR>
- Creates a new instance of Person given a Person ID and populates it from the database.</TD>
- </TR>
- </TABLE>
-
- <!-- ========== METHOD SUMMARY =========== -->
- <A NAME="method_summary"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
- <B>Method Summary</B></FONT></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#addAddress(hoipolloi.Address)">addAddress</A></B>(<A HREF="../hoipolloi/Address.html" title="class in hoipolloi">Address</A> newAddress)</CODE>
- <BR>
- Adds an Address to this Person</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#addCategory(int)">addCategory</A></B>(int categoryTypeID)</CODE>
- <BR>
- Adds this Person to a Category
- This method can only be called for new people
- after saveToDatabase has been called at least once.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#addContact(int, java.lang.String)">addContact</A></B>(int contactTypeID,
- java.lang.String contact)</CODE>
- <BR>
- Add a Contact for a Person.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#compareTo(java.lang.Object)">compareTo</A></B>(java.lang.Object o)</CODE>
- <BR>
- </TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.ArrayList</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getAddresses()">getAddresses</A></B>()</CODE>
- <BR>
- Gets the Person's Address List</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected long</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getAgeThisYear()">getAgeThisYear</A></B>()</CODE>
- <BR>
- Gets the Person's Age this Year.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getBirthday()">getBirthday</A></B>()</CODE>
- <BR>
- Gets the Person's Birthday</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.util.ArrayList</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getCategories()">getCategories</A></B>()</CODE>
- <BR>
- Gets the list of Categories this Person is in</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getCategoriesAsString()">getCategoriesAsString</A></B>()</CODE>
- <BR>
- Gets the Categories that the Person is in as a String</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getContactIDFromStrings(java.lang.String, java.lang.String)">getContactIDFromStrings</A></B>(java.lang.String strContactType,
- java.lang.String strContact)</CODE>
- <BR>
- Gets the ID number of a contact given the contact and type as strings.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected java.util.ArrayList</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getContacts()">getContacts</A></B>()</CODE>
- <BR>
- Gets the Person's Contact List</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> long</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getCurrentAge()">getCurrentAge</A></B>()</CODE>
- <BR>
- Gets the Person's current Age.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getDescription()">getDescription</A></B>()</CODE>
- <BR>
- Gets the Person's Description</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getEyeColor()">getEyeColor</A></B>()</CODE>
- <BR>
- Gets the Person's Eye Color</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getFirstName()">getFirstName</A></B>()</CODE>
- <BR>
- Gets the Person's First Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getGender()">getGender</A></B>()</CODE>
- <BR>
- Gets the Person's Gender</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getHairColor()">getHairColor</A></B>()</CODE>
- <BR>
- Gets the Person's Hair Color</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getHeight()">getHeight</A></B>()</CODE>
- <BR>
- Gets the Person's Height</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getLastName()">getLastName</A></B>()</CODE>
- <BR>
- Gets the Person's Last Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getLastUpdate()">getLastUpdate</A></B>()</CODE>
- <BR>
- Gets the date when the Person's profile was last updated.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getMaidenName()">getMaidenName</A></B>()</CODE>
- <BR>
- Gets the Person's Maiden Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getMiddleName()">getMiddleName</A></B>()</CODE>
- <BR>
- Gets the Person's Middle Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getNationality()">getNationality</A></B>()</CODE>
- <BR>
- Gets the Person's Nationality</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getNickName()">getNickName</A></B>()</CODE>
- <BR>
- Gets the Person's Nick Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getOccupation()">getOccupation</A></B>()</CODE>
- <BR>
- Gets the Person's Occupation</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> int</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getPersonID()">getPersonID</A></B>()</CODE>
- <BR>
- Gets the Person's ID</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getPhotoBinary()">getPhotoBinary</A></B>()</CODE>
- <BR>
- Gets the Person's Photo</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getPhotoFileName()">getPhotoFileName</A></B>()</CODE>
- <BR>
- Gets the Person's Photo Filename.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getPrefix()">getPrefix</A></B>()</CODE>
- <BR>
- Gets the Person's Name Prefix</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getSuffix()">getSuffix</A></B>()</CODE>
- <BR>
- Gets the Person's Name Suffix</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#getWeight()">getWeight</A></B>()</CODE>
- <BR>
- Gets the Person's Weight</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>private boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#loadAddressesFromDB()">loadAddressesFromDB</A></B>()</CODE>
- <BR>
- Loads the Addresses for this Person from the Database.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>private boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#loadCategoriesFromDB()">loadCategoriesFromDB</A></B>()</CODE>
- <BR>
- Loads the Categories that this Person is in.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>private boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#loadContactsFromDB()">loadContactsFromDB</A></B>()</CODE>
- <BR>
- Loads the Contacts for this Person from the Database.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#loadFromDatabase()">loadFromDatabase</A></B>()</CODE>
- <BR>
- Load all the information for this Person from the Database.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>static void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
- <BR>
- Used for testing and debugging methods in this class.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#removeAddress(int)">removeAddress</A></B>(int addressID)</CODE>
- <BR>
- Removes an Address for this Person</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#removeCategory(int)">removeCategory</A></B>(int categoryTypeID)</CODE>
- <BR>
- Removes this Person from a Category.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#removeContact(int)">removeContact</A></B>(int contactID)</CODE>
- <BR>
- Removes a Contact for this Person.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>protected boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#removeContact(java.lang.String, java.lang.String)">removeContact</A></B>(java.lang.String contactType,
- java.lang.String contact)</CODE>
- <BR>
- Removes a Contact for this Person.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#saveToDatabase()">saveToDatabase</A></B>()</CODE>
- <BR>
- Saves the contents of this object to the database.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setBirthday(java.lang.String)">setBirthday</A></B>(java.lang.String birthday)</CODE>
- <BR>
- Sets the Person's Birthday.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String desc)</CODE>
- <BR>
- Sets the Description for this Person</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setEyeColor(java.lang.String)">setEyeColor</A></B>(java.lang.String eyeColor)</CODE>
- <BR>
- Sets the Person's Eye Color</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setFirstName(java.lang.String)">setFirstName</A></B>(java.lang.String firstname)</CODE>
- <BR>
- Sets the Person's First Name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setGender(java.lang.String)">setGender</A></B>(java.lang.String gender)</CODE>
- <BR>
- Sets the Person's Gender.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setHairColor(java.lang.String)">setHairColor</A></B>(java.lang.String hairColor)</CODE>
- <BR>
- Sets the Person's Hair Color</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setHeight(java.lang.String)">setHeight</A></B>(java.lang.String height)</CODE>
- <BR>
- Sets the Person's Height</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setLastName(java.lang.String)">setLastName</A></B>(java.lang.String lastname)</CODE>
- <BR>
- Sets the Person's Last Name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setLastUpdate()">setLastUpdate</A></B>()</CODE>
- <BR>
- Sets the Person's Last Profile Update to right now.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setMaidenName(java.lang.String)">setMaidenName</A></B>(java.lang.String maidenname)</CODE>
- <BR>
- Sets the Person's Maiden Name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setMiddleName(java.lang.String)">setMiddleName</A></B>(java.lang.String middlename)</CODE>
- <BR>
- Sets the Person's Middle Name.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setNationality(java.lang.String)">setNationality</A></B>(java.lang.String nationality)</CODE>
- <BR>
- Sets the Person's Nationality</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE>private boolean</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setNewPersonID()">setNewPersonID</A></B>()</CODE>
- <BR>
- Sets the Person ID of a newly added Person.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setNickName(java.lang.String)">setNickName</A></B>(java.lang.String nickname)</CODE>
- <BR>
- Sets the Person's Nick Name</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setOccupation(java.lang.String)">setOccupation</A></B>(java.lang.String occupation)</CODE>
- <BR>
- Sets the Person's Occupation</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setPhotoBinary(java.lang.String)">setPhotoBinary</A></B>(java.lang.String photoblob)</CODE>
- <BR>
- Stores the Person's Photo as a binary blob.</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setPhotoFileName(java.lang.String)">setPhotoFileName</A></B>(java.lang.String filename)</CODE>
- <BR>
- Sets the Person's Photo Filename</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setPrefix(java.lang.String)">setPrefix</A></B>(java.lang.String prefix)</CODE>
- <BR>
- Sets the Person's Prefix (Mr, Mrs, Dr etc).</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setSuffix(java.lang.String)">setSuffix</A></B>(java.lang.String suffix)</CODE>
- <BR>
- Sets the Person's Suffix (Jr, Sr, III etc).</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> void</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#setWeight(java.lang.String)">setWeight</A></B>(java.lang.String weight)</CODE>
- <BR>
- Sets the Person's Weight</TD>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
- <CODE> java.lang.String</CODE></FONT></TD>
- <TD><CODE><B><A HREF="../hoipolloi/Person.html#toString()">toString</A></B>()</CODE>
- <BR>
- Outputs the Person's Full Name including Prefix, First Name, Middle Name, Last Name and Suffix.</TD>
- </TR>
- </TABLE>
- <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
- <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
- </TR>
- <TR BGCOLOR="white" CLASS="TableRowColor">
- <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
- </TR>
- </TABLE>
-
- <P>
- <!-- ============ FIELD DETAIL =========== -->
- <A NAME="field_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Field Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="personID"><!-- --></A><H3>
- personID</H3>
- <PRE>
- protected int <B>personID</B></PRE>
- <DL>
- <DD>The Person ID for this Person in the Database
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="prefix"><!-- --></A><H3>
- prefix</H3>
- <PRE>
- protected java.lang.String <B>prefix</B></PRE>
- <DL>
- <DD>The Prefix for this Person, like Mr or Dr
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="suffix"><!-- --></A><H3>
- suffix</H3>
- <PRE>
- protected java.lang.String <B>suffix</B></PRE>
- <DL>
- <DD>The Suffix for this Person, like Jr or Sr
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="firstName"><!-- --></A><H3>
- firstName</H3>
- <PRE>
- protected java.lang.String <B>firstName</B></PRE>
- <DL>
- <DD>The Person's First Name
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="middleName"><!-- --></A><H3>
- middleName</H3>
- <PRE>
- protected java.lang.String <B>middleName</B></PRE>
- <DL>
- <DD>The Person's Middle Name
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="lastName"><!-- --></A><H3>
- lastName</H3>
- <PRE>
- protected java.lang.String <B>lastName</B></PRE>
- <DL>
- <DD>The Person's Last Name
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="maidenName"><!-- --></A><H3>
- maidenName</H3>
- <PRE>
- protected java.lang.String <B>maidenName</B></PRE>
- <DL>
- <DD>The Person's Maiden Name
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="gender"><!-- --></A><H3>
- gender</H3>
- <PRE>
- protected java.lang.String <B>gender</B></PRE>
- <DL>
- <DD>The Person's Gender, Male or Female
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="eyeColor"><!-- --></A><H3>
- eyeColor</H3>
- <PRE>
- protected java.lang.String <B>eyeColor</B></PRE>
- <DL>
- <DD>The Person's Eye Color, Green/Hazel/Black etc
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="hairColor"><!-- --></A><H3>
- hairColor</H3>
- <PRE>
- protected java.lang.String <B>hairColor</B></PRE>
- <DL>
- <DD>The Person's Hair Color
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="height"><!-- --></A><H3>
- height</H3>
- <PRE>
- protected java.lang.String <B>height</B></PRE>
- <DL>
- <DD>The Person's Height (Customary or Metric)
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="weight"><!-- --></A><H3>
- weight</H3>
- <PRE>
- protected java.lang.String <B>weight</B></PRE>
- <DL>
- <DD>The Person's Weight (Customary or Metric)
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="birthday"><!-- --></A><H3>
- birthday</H3>
- <PRE>
- protected java.lang.String <B>birthday</B></PRE>
- <DL>
- <DD>The Person's Birthday in IS0-8601 Format YYYY-MM-DD
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="description"><!-- --></A><H3>
- description</H3>
- <PRE>
- protected java.lang.String <B>description</B></PRE>
- <DL>
- <DD>A Description of this Person or any other optional information
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="nickName"><!-- --></A><H3>
- nickName</H3>
- <PRE>
- protected java.lang.String <B>nickName</B></PRE>
- <DL>
- <DD>The Person's Nick Name
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="nationality"><!-- --></A><H3>
- nationality</H3>
- <PRE>
- protected java.lang.String <B>nationality</B></PRE>
- <DL>
- <DD>The Person's Nationality like American, Thai or Singaporean
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="photoBinary"><!-- --></A><H3>
- photoBinary</H3>
- <PRE>
- protected java.lang.String <B>photoBinary</B></PRE>
- <DL>
- <DD>The Person's Profile Picture in Binary or BASE64 Format
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="photoFileName"><!-- --></A><H3>
- photoFileName</H3>
- <PRE>
- protected java.lang.String <B>photoFileName</B></PRE>
- <DL>
- <DD>The File Name of the Person's Profile Picture
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="lastUpdate"><!-- --></A><H3>
- lastUpdate</H3>
- <PRE>
- protected java.lang.String <B>lastUpdate</B></PRE>
- <DL>
- <DD>The Date When this Person's Profile Was Last Updated in ISO-8601 Format YYYY-MM-DD
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="categories"><!-- --></A><H3>
- categories</H3>
- <PRE>
- protected java.util.ArrayList<<A HREF="../hoipolloi/KeyValue.html" title="class in hoipolloi">KeyValue</A>> <B>categories</B></PRE>
- <DL>
- <DD>The List of Categories that this Person is in (each category is a KeyValue pair in this ArrayList)
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="contacts"><!-- --></A><H3>
- contacts</H3>
- <PRE>
- protected java.util.ArrayList<<A HREF="../hoipolloi/Contact.html" title="class in hoipolloi">Contact</A>> <B>contacts</B></PRE>
- <DL>
- <DD>The List of Contacts for this Person
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="addresses"><!-- --></A><H3>
- addresses</H3>
- <PRE>
- protected java.util.ArrayList<<A HREF="../hoipolloi/Address.html" title="class in hoipolloi">Address</A>> <B>addresses</B></PRE>
- <DL>
- <DD>The List of Addresses for this Person
- <P>
- <DL>
- </DL>
- </DL>
- <HR>
- <A NAME="occupation"><!-- --></A><H3>
- occupation</H3>
- <PRE>
- protected java.lang.String <B>occupation</B></PRE>
- <DL>
- <DD>The Person's Occupation
- <P>
- <DL>
- </DL>
- </DL>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <A NAME="constructor_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Constructor Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="Person()"><!-- --></A><H3>
- Person</H3>
- <PRE>
- public <B>Person</B>()</PRE>
- <DL>
- <DD>Creates a new instance of Person (for Adding a new one)
- <P>
- </DL>
- <HR>
- <A NAME="Person(int)"><!-- --></A><H3>
- Person</H3>
- <PRE>
- public <B>Person</B>(int pid)
- throws <A HREF="../hoipolloi/EmptyQueryException.html" title="class in hoipolloi">EmptyQueryException</A></PRE>
- <DL>
- <DD>Creates a new instance of Person given a Person ID and populates it from the database.
- <P>
- <DL>
- <DT><B>Parameters:</B><DD><CODE>pid</CODE> - The Person ID
- <DT><B>Throws:</B>
- <DD><CODE>Throws</CODE> - an EmptyQueryException if there is an SQL error or if the PersonID doesn't exist.
- <DD><CODE><A HREF="../hoipolloi/EmptyQueryException.html" title="class in hoipolloi">EmptyQueryException</A></CODE></DL>
- </DL>
- <!-- ============ METHOD DETAIL ========== -->
- <A NAME="method_detail"><!-- --></A>
- <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
- <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
- <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
- <B>Method Detail</B></FONT></TH>
- </TR>
- </TABLE>
- <A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
- compareTo</H3>
- <PRE>
- public int <B>compareTo</B>(java.lang.Object o)</PRE>
- <DL>
- <DD>
- <P>
- <DD><DL>
- <DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL>
- </DD>
- <DD><DL>
- </DL>
- </DD>
- </DL>
- <HR>
- <A NAME="toString()"><!-- --></A><H3>
- toString</H3>
- <PRE>
- public java.lang.String <B>toString</B>()</PRE>
- <DL>
- <DD>Outputs the Person's Full Name including Prefix, First Name, Middle Name, Last Name and Suffix.
- If any of the parts of their name are blank or null, they are excluded. White space is also
- trimmed from the beginning and end. Each part is seperated by a space.
- <P>
- <DD><DL>
- <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>The Full Name of the Person, each part seperated by spaces.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setNewPersonID()"><!-- --></A><H3>
- setNewPersonID</H3>
- <PRE>
- private boolean <B>setNewPersonID</B>()</PRE>
- <DL>
- <DD>Sets the Person ID of a newly added Person.
- saveToDatabase() calls this method internally
- after inserting a new Person into the database.
- This method sets the Person ID in this object to
- the ID of that newly added Person.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, otherwise false.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="saveToDatabase()"><!-- --></A><H3>
- saveToDatabase</H3>
- <PRE>
- public boolean <B>saveToDatabase</B>()</PRE>
- <DL>
- <DD>Saves the contents of this object to the database.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, Otherwise False.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadCategoriesFromDB()"><!-- --></A><H3>
- loadCategoriesFromDB</H3>
- <PRE>
- private boolean <B>loadCategoriesFromDB</B>()</PRE>
- <DL>
- <DD>Loads the Categories that this Person is in.
- When called, the categories list for this person
- is cleared and the categories that this person is
- in are reloaded from the database.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, otherwise false.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadContactsFromDB()"><!-- --></A><H3>
- loadContactsFromDB</H3>
- <PRE>
- private boolean <B>loadContactsFromDB</B>()</PRE>
- <DL>
- <DD>Loads the Contacts for this Person from the Database.
- When called, the contact list for this person
- is cleared and the contacts for this person are
- reloaded from the database.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, otherwise false.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadAddressesFromDB()"><!-- --></A><H3>
- loadAddressesFromDB</H3>
- <PRE>
- private boolean <B>loadAddressesFromDB</B>()</PRE>
- <DL>
- <DD>Loads the Addresses for this Person from the Database.
- When called, the address list for this person
- is cleared and the addresses for this person are
- reloaded from the database.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, otherwise false.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="loadFromDatabase()"><!-- --></A><H3>
- loadFromDatabase</H3>
- <PRE>
- protected boolean <B>loadFromDatabase</B>()</PRE>
- <DL>
- <DD>Load all the information for this Person from the Database.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Returns:</B><DD>True if Successful, otherwise false.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setPrefix(java.lang.String)"><!-- --></A><H3>
- setPrefix</H3>
- <PRE>
- public void <B>setPrefix</B>(java.lang.String prefix)</PRE>
- <DL>
- <DD>Sets the Person's Prefix (Mr, Mrs, Dr etc).
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The Person's Prefix.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setSuffix(java.lang.String)"><!-- --></A><H3>
- setSuffix</H3>
- <PRE>
- public void <B>setSuffix</B>(java.lang.String suffix)</PRE>
- <DL>
- <DD>Sets the Person's Suffix (Jr, Sr, III etc).
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>suffix</CODE> - The Person's Suffix.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setFirstName(java.lang.String)"><!-- --></A><H3>
- setFirstName</H3>
- <PRE>
- public void <B>setFirstName</B>(java.lang.String firstname)</PRE>
- <DL>
- <DD>Sets the Person's First Name.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>firstname</CODE> - The Person's First Name.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setMiddleName(java.lang.String)"><!-- --></A><H3>
- setMiddleName</H3>
- <PRE>
- public void <B>setMiddleName</B>(java.lang.String middlename)</PRE>
- <DL>
- <DD>Sets the Person's Middle Name.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>middlename</CODE> - The Person's Middle Name</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setLastName(java.lang.String)"><!-- --></A><H3>
- setLastName</H3>
- <PRE>
- public void <B>setLastName</B>(java.lang.String lastname)</PRE>
- <DL>
- <DD>Sets the Person's Last Name.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>lastname</CODE> - The Person's Last Name</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setMaidenName(java.lang.String)"><!-- --></A><H3>
- setMaidenName</H3>
- <PRE>
- public void <B>setMaidenName</B>(java.lang.String maidenname)</PRE>
- <DL>
- <DD>Sets the Person's Maiden Name.
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>maidenname</CODE> - The Person's Maiden Name</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setGender(java.lang.String)"><!-- --></A><H3>
- setGender</H3>
- <PRE>
- public void <B>setGender</B>(java.lang.String gender)</PRE>
- <DL>
- <DD>Sets the Person's Gender.
- Hopefully Male or Female ;)
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</B><DD><CODE>gender</CODE> - The Person's Gender, Male or Female.</DL>
- </DD>
- </DL>
- <HR>
- <A NAME="setEyeColor(java.lang.String)"><!-- --></A><H3>
- setEyeColor</H3>
- <PRE>
- public void <B>setEyeColor</B>(java.lang.String eyeColor)</PRE>
- <DL>
- <DD>Sets the Person's Eye Color
- <P>
- <DD><DL>
- </DL>
- </DD>
- <DD><DL>
- <DT><B>Parameters:</…