com.infoengine.connector.dao
Class DAOGenerator
java.lang.Object
com.infoengine.connector.dao.DAOGenerator
- public class DAOGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
soapClass
private String soapClass
packageName
private String packageName
className
private String className
methods
private Vector methods
DAOGenerator
public DAOGenerator(String endPoint,
String soapClass)
throws Exception
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