com.compomics.util.db.components
Class Constructors

java.lang.Object
  extended by com.compomics.util.db.components.Constructors

public class Constructors
extends Object

This class will generate the code for a default and full constructor for a DBAccessor, defined by the metadata passed in via the constructor.

Author:
Lennart Martens

Constructor Summary
Constructors(DBMetaData aMeta)
          This constructor takes care of generating the code that represents the constructor for a DBAccessor for the given metadata.
 
Method Summary
 String toString()
          This method outputs the generated code in String format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Constructors

public Constructors(DBMetaData aMeta)
This constructor takes care of generating the code that represents the constructor for a DBAccessor for the given metadata.

Parameters:
aMeta - DBMetaData with the metadata for the DBAccessor to be generated.
Method Detail

toString

public String toString()
This method outputs the generated code in String format.

Overrides:
toString in class Object
Returns:
String with the generated code.


Copyright © 2011. All Rights Reserved.