com.flickrrecsys.model
Class MyUser

java.lang.Object
  extended by com.flickrrecsys.model.MyUser
All Implemented Interfaces:
java.io.Serializable

public class MyUser
extends java.lang.Object
implements java.io.Serializable

User's model

Author:
Hossein Ghodsi
See Also:
Serialized Form

Constructor Summary
MyUser()
           
 
Method Summary
 java.sql.Timestamp getFirstphotouploaded()
          Get the date of the first uploaded photo
 java.lang.String getLocation()
          Get the location of user
 int getNoConnectedTo()
          Get number of contact that the user is connected to
 int getNophotos()
          Get the total number of users
 java.lang.String getNsid()
          Get user id from the Flickr website
 int getOcc()
          Get occourance
 double getPercentage()
          Get percentage of similarity
 java.lang.String getRealname()
          Get real name
 java.lang.String getToken()
          Get generated Token
 java.lang.String getUsername()
          Get username
 void setFirstphotouploaded(java.sql.Timestamp firstphotouploaded)
          Set the date of the first uploaded photo
 void setLocation(java.lang.String location)
          Set location of user
 void setNoConnectedTo(int noConnectedTo)
           
 void setNophotos(int nophotos)
          Set the total number of users
 void setNsid(java.lang.String nsid)
          Set user id from the Flickr website
 void setOcc(int occ)
          Set Occurrence
 void setPercentage(double percentage)
          Set percentage of Similarity
 void setRealname(java.lang.String realname)
          Set real name
 void setToken(java.lang.String token)
          Set generated Token
 void setUsername(java.lang.String username)
          Set username
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyUser

public MyUser()
Method Detail

getPercentage

public double getPercentage()
Get percentage of similarity

Returns:
percentage of similarity

setPercentage

public void setPercentage(double percentage)
Set percentage of Similarity

Parameters:
percentage - percentage of similarity in double

getNoConnectedTo

public int getNoConnectedTo()
Get number of contact that the user is connected to

Returns:
number of contacts

setNoConnectedTo

public void setNoConnectedTo(int noConnectedTo)
Parameters:
noConnectedTo -

getOcc

public int getOcc()
Get occourance

Returns:
Occurrence

setOcc

public void setOcc(int occ)
Set Occurrence

Parameters:
occ - Occurrence

getFirstphotouploaded

public java.sql.Timestamp getFirstphotouploaded()
Get the date of the first uploaded photo

Returns:
date of the first uploaded photo

setFirstphotouploaded

public void setFirstphotouploaded(java.sql.Timestamp firstphotouploaded)
Set the date of the first uploaded photo

Parameters:
firstphotouploaded - date of the first uploaded photo

getLocation

public java.lang.String getLocation()
Get the location of user

Returns:
Location

setLocation

public void setLocation(java.lang.String location)
Set location of user

Parameters:
location - location

getNophotos

public int getNophotos()
Get the total number of users

Returns:
number of photos

setNophotos

public void setNophotos(int nophotos)
Set the total number of users

Parameters:
nophotos - number of users

getNsid

public java.lang.String getNsid()
Get user id from the Flickr website

Returns:
user id from the Flickr website

setNsid

public void setNsid(java.lang.String nsid)
Set user id from the Flickr website

Parameters:
nsid - user Id from the Flickr website

getRealname

public java.lang.String getRealname()
Get real name

Returns:
real name

setRealname

public void setRealname(java.lang.String realname)
Set real name

Parameters:
realname - real name

getToken

public java.lang.String getToken()
Get generated Token

Returns:
generated token

setToken

public void setToken(java.lang.String token)
Set generated Token

Parameters:
token - generated token from frob

getUsername

public java.lang.String getUsername()
Get username

Returns:
username

setUsername

public void setUsername(java.lang.String username)
Set username

Parameters:
username - username