com.compomics.util.db.components
Class PersistableCode

java.lang.Object
  extended by 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 Summary
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.
 
Method Summary
 String toString()
          This method will report on the generated code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

toString

public String toString()
This method will report on the generated code.

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


Copyright © 2012. All Rights Reserved.