org.bejug.javacareers.feeder.model
Class JobList

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.ArrayList
              extended byorg.bejug.javacareers.feeder.model.JobList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class JobList
extends java.util.ArrayList

List of JobEntries with a common source

Version:
$Revision: 1.2 $ - $Date: 2005/09/13 08:11:17 $
Author:
Bavo (last modified by $Author: schauwvliege $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
JobList(java.lang.String source)
          Creates a new collection (List) of JobEntry elements from a given source
JobList(java.lang.String source, java.util.Collection items)
          Creates a new collection (List) of JobEntry elements from a given source
 
Method Summary
 void addJobOffer(org.bejug.javacareers.jobs.model.JobOffer entry)
          Adds a job entry to the list
 java.lang.String getSource()
          Gets the name of the source
 java.lang.String toString()
          Gets a string representation of this Object
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

JobList

public JobList(java.lang.String source)
Creates a new collection (List) of JobEntry elements from a given source

Parameters:
source - Source where the entries originated from

JobList

public JobList(java.lang.String source,
               java.util.Collection items)
Creates a new collection (List) of JobEntry elements from a given source

Parameters:
source - Source where the entries originated from
items - Collection of items to start with
Method Detail

addJobOffer

public void addJobOffer(org.bejug.javacareers.jobs.model.JobOffer entry)
Adds a job entry to the list

Parameters:
entry - the job entry

getSource

public java.lang.String getSource()
Gets the name of the source

Returns:
name of the source (usually website)

toString

public java.lang.String toString()
Gets a string representation of this Object

Returns:
String representation


Copyright © 2005-2006 BeJUG. All Rights Reserved.