org.jtheque.movies.views.impl.fb
Class MovieFormBean

java.lang.Object
  extended by org.jtheque.movies.views.impl.fb.MovieFormBean
All Implemented Interfaces:
IMovieFormBean, org.jtheque.primary.controller.able.FormBean

public final class MovieFormBean
extends Object
implements IMovieFormBean

A form bean to keep data about movies.

Author:
Baptiste Wicht

Constructor Summary
MovieFormBean()
           
 
Method Summary
 void fillMovie(Movie movie)
          Fill the movie with the infos of the form bean.
 void setCategories(Collection<Category> categories)
          Set the categories of the movie.
 void setDuration(PreciseDuration duration)
          Set the duration of the form bean.
 void setFile(String file)
          Set the path to the file.
 void setNote(org.jtheque.core.utils.db.Note note)
          Set the note of the movie.
 void setResolution(Resolution resolution)
          Set the resolution of the form bean.
 void setTitle(String title)
          Set the title.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MovieFormBean

public MovieFormBean()
Method Detail

setTitle

public void setTitle(String title)
Description copied from interface: IMovieFormBean
Set the title.

Specified by:
setTitle in interface IMovieFormBean
Parameters:
title - The title.

setCategories

public void setCategories(Collection<Category> categories)
Description copied from interface: IMovieFormBean
Set the categories of the movie.

Specified by:
setCategories in interface IMovieFormBean
Parameters:
categories - The categories of the movie.

setFile

public void setFile(String file)
Description copied from interface: IMovieFormBean
Set the path to the file.

Specified by:
setFile in interface IMovieFormBean
Parameters:
file - The path to the file.

setNote

public void setNote(org.jtheque.core.utils.db.Note note)
Description copied from interface: IMovieFormBean
Set the note of the movie.

Specified by:
setNote in interface IMovieFormBean
Parameters:
note - The note of the movie.

setDuration

public void setDuration(PreciseDuration duration)
Description copied from interface: IMovieFormBean
Set the duration of the form bean.

Specified by:
setDuration in interface IMovieFormBean
Parameters:
duration - The duration of the form bean.

setResolution

public void setResolution(Resolution resolution)
Description copied from interface: IMovieFormBean
Set the resolution of the form bean.

Specified by:
setResolution in interface IMovieFormBean
Parameters:
resolution - The resolution of the form bean.

fillMovie

public void fillMovie(Movie movie)
Description copied from interface: IMovieFormBean
Fill the movie with the infos of the form bean.

Specified by:
fillMovie in interface IMovieFormBean
Parameters:
movie - The movie to fill.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 JTheque. All Rights Reserved.