//$Id: user.js,v 1.5 2007/06/08 02:11:50 nick Exp $

User = function(id, firstName, lastName, email, homeString, workString, avatar, facebookId)
{
	this.id=id;
	this.firstName=firstName;
	this.lastName=lastName;
	this.primaryEmail=email;
	this.homeString=homeString;
	this.workString=workString;
	this.avatar=avatar;
	this.facebookId=facebookId;
}

// accessors 
User.prototype.getId = function()	{return this.id;}
User.prototype.getFirstName = function()	{return this.firstName;}
User.prototype.getLastName = function()	{return this.lastName;}
User.prototype.getFullName = function() {return this.firstName + ' ' + this.lastName;}
User.prototype.getPrimaryEmail = function() {return this.primaryEmail;}
User.prototype.getHomeString = function() {return this.homeString;}
User.prototype.getWorkString = function() {return this.workString;}
User.prototype.getAvatar = function()	{return this.avatar;}
User.prototype.getFacebookId = function()	{return this.facebookId;}
// end accessors

// start queries
// end queries