jcolibri.test.recommenders.rec12.moviesDB
Class User

java.lang.Object
  extended by jcolibri.test.recommenders.rec12.moviesDB.User
All Implemented Interfaces:
CaseComponent

public class User
extends java.lang.Object
implements CaseComponent

Bean that represents a user.

Version:
1.0
Author:
Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.

Nested Class Summary
static class User.Gender
           
static class User.Occupation
           
 
Constructor Summary
User()
           
 
Method Summary
 java.lang.Integer getAge()
           
 User.Gender getGender()
           
 java.lang.Integer getId()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 User.Occupation getOccupation()
           
 java.lang.String getZipCode()
           
 void setAge(java.lang.Integer age)
           
 void setGender(User.Gender gender)
           
 void setId(java.lang.Integer id)
           
 void setOccupation(User.Occupation occupation)
           
 void setZipCode(java.lang.String zipCode)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

User

public User()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAge

public java.lang.Integer getAge()
Returns:
Returns the age.

setAge

public void setAge(java.lang.Integer age)
Parameters:
age - The age to set.

getGender

public User.Gender getGender()
Returns:
Returns the gender.

setGender

public void setGender(User.Gender gender)
Parameters:
gender - The gender to set.

getId

public java.lang.Integer getId()
Returns:
Returns the id.

setId

public void setId(java.lang.Integer id)
Parameters:
id - The id to set.

getOccupation

public User.Occupation getOccupation()
Returns:
Returns the occupation.

setOccupation

public void setOccupation(User.Occupation occupation)
Parameters:
occupation - The occupation to set.

getZipCode

public java.lang.String getZipCode()
Returns:
Returns the zipCode.

setZipCode

public void setZipCode(java.lang.String zipCode)
Parameters:
zipCode - The zipCode to set.

getIdAttribute

public Attribute getIdAttribute()
Description copied from interface: CaseComponent
Returns the attribute that identifies the component. An id-attribute must be unique for each component.

Specified by:
getIdAttribute in interface CaseComponent

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es