com.compomics.util.db.components
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 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. |
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.
toString
public String toString()
- This method will report on the generated code.
- Overrides:
toString
in class Object
- Returns:
- String with the generated code.
Copyright © 2013. All Rights Reserved.