jcolibri.test.recommenders.rec12.moviesDB
Class Rating

java.lang.Object
  extended by 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.

Constructor Summary
Rating()
           
 
Method Summary
 java.lang.Integer getId()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.Integer getRating()
           
 void setId(java.lang.Integer id)
           
 void setRating(java.lang.Integer rating)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rating

public Rating()
Method Detail

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

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