com.compomics.util.db.components
Class GettersAndSetters

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

public class GettersAndSetters
extends Object

This class will generate (and subsequently output upon request) all relevant getters and setters for a DBAccessor.

Author:
Lennart Martens

Constructor Summary
GettersAndSetters(DBMetaData aMeta)
          The constructor takes care of generating all getters and setters, based on the speicifed metadata.
 
Method Summary
 String toString()
          This method generates the code for the getters and setters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GettersAndSetters

public GettersAndSetters(DBMetaData aMeta)
The constructor takes care of generating all getters and setters, based on the speicifed metadata.

Parameters:
aMeta - DBMetaData with the metadata to base the getters and setters on.
Method Detail

toString

public String toString()
This method generates the code for the getters and setters.

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


Copyright © 2011. All Rights Reserved.