Class Constructors

java.lang.Object
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 Details

    • Constructors

      public Constructors()
      Empty default constructor
    • 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 Details

    • toString

      public String toString()
      This method outputs the generated code in String format.
      Overrides:
      toString in class Object
      Returns:
      String with the generated code.