com.facetmap.example.movies
Class MovieList

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by com.facetmap.example.movies.MovieList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class MovieList
extends java.util.Hashtable

This represents the storage of Movie resources that we want to browse via Facetmap. Movies are stored in a Map (not a java List) because each Movie must be retrievable with a unique ID that stays constant during the life of the Facetmap component. (If we just used the index numbering in a java List as each Movie's unique ID, the IDs would change if we ever deleted a Movie from the list.

See Also:
Serialized Form

Constructor Summary
MovieList()
           
 
Method Summary
 java.util.List createMovieList()
           
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MovieList

public MovieList()
          throws java.text.ParseException,
                 UnknownReferenceException
Throws:
java.text.ParseException
UnknownReferenceException
Method Detail

createMovieList

public java.util.List createMovieList()
                               throws java.text.ParseException,
                                      UnknownReferenceException
Throws:
java.text.ParseException
UnknownReferenceException