jcolibri.test.recommenders.rec12.moviesDB
Class User
java.lang.Object
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.
Constructor Summary |
User()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
User
public User()
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