Class RetrievableCode

java.lang.Object
com.compomics.util.db.components.RetrievableCode

public class RetrievableCode
extends Object
This class generates the code to make a DBAccessor an implementation of the Retrieveable interface.
Author:
Lennart Martens
  • Constructor Details

    • RetrievableCode

      public RetrievableCode()
      Empty default constructor
    • RetrievableCode

      public RetrievableCode​(DBMetaData aMeta)
      This constructor allows the generation of the code for the implementation of the Retrievable interface for a DBAccessor class, based on the specified metadata.
      Parameters:
      aMeta - DBMetaData with the metadata to generate the code for.
  • Method Details

    • toString

      public String toString()
      This method will report on the generated code.
      Overrides:
      toString in class Object
      Returns:
      String with the generated code.