jcolibri.test.recommenders.rec12.moviesDB
Class Rating
java.lang.Object
jcolibri.test.recommenders.rec12.moviesDB.Rating
- All Implemented Interfaces:
- CaseComponent
public class Rating
- extends java.lang.Object
- implements CaseComponent
Bean that represents a rating
- Version:
- 1.0
- Author:
- Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Rating
public Rating()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getId
public java.lang.Integer getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.Integer id)
- Parameters:
id
- The id to set.
getRating
public java.lang.Integer getRating()
- Returns:
- Returns the rating.
setRating
public void setRating(java.lang.Integer rating)
- Parameters:
rating
- The rating 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