Package jimm.datavision.testdata

Examples of jimm.datavision.testdata.Office


class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', '"
         + (o.visible ? 'Y' : 'N') + "');");
    }
View Full Code Here


class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', "
         + (o.visible ? 1 : 0) + ");");
    }
View Full Code Here

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', "
         + (o.visible ? 1 : 0) + ");");
    }
View Full Code Here

class CreateData {

public static void main(String[] args) {
    System.out.println("delete from office;");
    for (Iterator iter = Office.offices(); iter.hasNext(); ) {
  Office o = (Office)iter.next();
  System.out.println("insert into office values (" + o.id + ", '"
         + o.name + "', '" + o.abbrev + "', '" + o.fax
         + "', '" + o.email + "', '"
         + (o.visible ? 't' : 'f') + "');");
    }
View Full Code Here

TOP

Related Classes of jimm.datavision.testdata.Office

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.