com.compomics.util.db.components
Class GettersAndSetters
java.lang.Object
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. |
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.
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 © 2013. All Rights Reserved.