com.compomics.util.db
Class DBAccessor
java.lang.Object
com.compomics.util.db.DBAccessor
public class DBAccessor
- extends Object
This class represents an accessor class' sourcecode as generated by the DBAccessorGenerator
class.
- Author:
- Lennart Martens
Constructor Summary |
DBAccessor(DBMetaData aMeta,
String aPackage,
boolean debug)
This constructor creates all code for the accessor,
based on the specified metadata. |
Method Summary |
String |
toString()
This method returns the generated code as a String. |
DBAccessor
public DBAccessor(DBMetaData aMeta,
String aPackage,
boolean debug)
- This constructor creates all code for the accessor,
based on the specified metadata.
- Parameters:
aMeta
- DBMetaData with the metadata to generate
the accessor for.aPackage
- String with the packagename for the class ('null' if none is desired).debug
- boolean to indicate whether output to stdout is necessary (or desired).
toString
public String toString()
- This method returns the generated code as a String.
- Overrides:
toString
in class Object
- Returns:
- String with the generated code.
Copyright © 2012. All Rights Reserved.