Class PersistableCode

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

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

    • PersistableCode

      public PersistableCode()
      Empty default constructor
    • PersistableCode

      public PersistableCode​(DBMetaData aMeta)
      This constructor allows the generation of the code for the implementation of the Persistable 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.