jimm.datavision.testdata
Class Job

java.lang.Object
  extended by jimm.datavision.testdata.Job

public class Job
extends java.lang.Object

Generates test data for the jobs table. Used by the CreateData classes found in the database subdirectories.

Author:
Jim Menard, jimm@io.com

Field Summary
protected static java.lang.String[] CITIES
           
 java.lang.String company
           
 java.lang.String description
           
 int fk_office_id
           
 java.lang.Integer hourly_rate
           
 int id
           
 java.lang.String location
           
protected static long MILLISECS_PER_DAY
           
static int NUM_JOBS
           
 java.util.Calendar post_date
           
 java.lang.String title
           
 boolean visible
           
 
Constructor Summary
Job(java.util.Random rand, int i)
           
 
Method Summary
 java.lang.String hourlyRateAsString()
           
static java.util.Iterator jobs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_JOBS

public static final int NUM_JOBS
See Also:
Constant Field Values

MILLISECS_PER_DAY

protected static final long MILLISECS_PER_DAY
See Also:
Constant Field Values

CITIES

protected static final java.lang.String[] CITIES

id

public int id

fk_office_id

public int fk_office_id

hourly_rate

public java.lang.Integer hourly_rate

title

public java.lang.String title

company

public java.lang.String company

location

public java.lang.String location

description

public java.lang.String description

post_date

public java.util.Calendar post_date

visible

public boolean visible
Constructor Detail

Job

public Job(java.util.Random rand,
           int i)
Method Detail

jobs

public static java.util.Iterator jobs()

hourlyRateAsString

public java.lang.String hourlyRateAsString()