com.infoengine.connector.dao
Class DAOGenerator

java.lang.Object
  extended bycom.infoengine.connector.dao.DAOGenerator

public class DAOGenerator
extends Object


Field Summary
private  String className
           
private  Vector methods
           
private  String packageName
           
private  String soapClass
           
 
Constructor Summary
DAOGenerator(String endPoint, String soapClass)
           
 
Method Summary
private  String castReturn(DAOMethod m)
           
private  void castReturnArray(DAOMethod m, PrintWriter pw)
           
private  void comment(PrintWriter pw, DAOMethod m)
           
 void generateCode(PrintWriter pw)
           
 DAOMethod[] getMethods()
           
static void main(String[] args)
           
private  String newObject(DAOParm parm)
           
 void setClassName(String str)
           
 void setPackageName(String str)
           
private static void usage(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

soapClass

private String soapClass

packageName

private String packageName

className

private String className

methods

private Vector methods
Constructor Detail

DAOGenerator

public DAOGenerator(String endPoint,
                    String soapClass)
             throws Exception
Method Detail

getMethods

public DAOMethod[] getMethods()

setPackageName

public void setPackageName(String str)

setClassName

public void setClassName(String str)

comment

private void comment(PrintWriter pw,
                     DAOMethod m)
              throws IOException
Throws:
IOException

generateCode

public void generateCode(PrintWriter pw)
                  throws IOException
Throws:
IOException

newObject

private String newObject(DAOParm parm)

castReturn

private String castReturn(DAOMethod m)

castReturnArray

private void castReturnArray(DAOMethod m,
                             PrintWriter pw)

usage

private static void usage(String msg)

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception