com.compomics.util.db.components
Class RetrievableCode

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

public class RetrievableCode
extends java.lang.Object

This class generates the code to make a DBAccessor an implementation of the Retrieveable interface.

Author:
Lennart Martens

Constructor Summary
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.
 
Method Summary
 java.lang.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

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 Detail

toString

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

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


Copyright © 2013. All Rights Reserved.