jimm.datavision.testdata
Class Office

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

public class Office
extends java.lang.Object

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

Author:
Jim Menard, jimm@io.com

Field Summary
 java.lang.String abbrev
           
 java.lang.String email
           
 java.lang.String fax
           
 int id
           
 java.lang.String name
           
static int NUM_OFFICES
           
 boolean visible
           
 
Constructor Summary
Office(int i, java.lang.String n, java.lang.String a, java.lang.String f, java.lang.String e, boolean v)
           
 
Method Summary
static java.util.Iterator offices()
          Returns an iterator over the office test data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_OFFICES

public static final int NUM_OFFICES
See Also:
Constant Field Values

id

public int id

name

public java.lang.String name

abbrev

public java.lang.String abbrev

fax

public java.lang.String fax

email

public java.lang.String email

visible

public boolean visible
Constructor Detail

Office

public Office(int i,
              java.lang.String n,
              java.lang.String a,
              java.lang.String f,
              java.lang.String e,
              boolean v)
Method Detail

offices

public static java.util.Iterator offices()
Returns an iterator over the office test data.

Returns:
an iterator over Office objects