org.jtheque.movies.persistence.od.impl
Class MovieCategoryRelation

java.lang.Object
  extended by org.jtheque.movies.persistence.od.impl.MovieCategoryRelation

public final class MovieCategoryRelation
extends Object

A relation between a category and a movie.

Author:
Baptiste Wicht

Constructor Summary
MovieCategoryRelation()
           
 
Method Summary
 int getCategory()
          Return the category of the relation.
 int getMovie()
          Return the movie of the relation.
 void setCategory(int category)
          Set the category of the relation.
 void setMovie(int movie)
          Set the movie of the relation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MovieCategoryRelation

public MovieCategoryRelation()
Method Detail

getCategory

public int getCategory()
Return the category of the relation.

Returns:
The category of the relation.

setCategory

public void setCategory(int category)
Set the category of the relation.

Parameters:
category - The category of the relation.

getMovie

public int getMovie()
Return the movie of the relation.

Returns:
The movie of the relation.

setMovie

public void setMovie(int movie)
Set the movie of the relation.

Parameters:
movie - The movie of the relation.


Copyright © 2010 JTheque. All Rights Reserved.