| Constructor and Description |
|---|
DBTableClass(String tableName,
String tableSchema,
String packageName,
String className)
Constructor with required information for automatically creating a DBRow
class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
generateJavaSource(DBTableClassGenerator.Options options)
Transforms the information encapsulated within the DBTableClass into valid
Java source code.
|
String |
getClassName()
Support DBvolution at Patreon |
List<DBTableField> |
getFields()
Support DBvolution at Patreon |
String |
getFullyQualifiedName()
Returns the package and class name formatted for use in Java code.
|
String |
getJavaSource()
Support DBvolution at Patreon |
String |
getPackageName()
Support DBvolution at Patreon |
String |
getTableName()
Support DBvolution at Patreon |
public String getFullyQualifiedName()
For a class named AClass in the package com.acme.database getFullyQualifiedName() will return "com.acme.database.AClass".
Support DBvolution at Patreon
public String generateJavaSource(DBTableClassGenerator.Options options)
After all available information has been set for this DBTableClass, this method is called to generate the required Java source.
options - Support DBvolution at Patreon
public List<DBTableField> getFields()
Support DBvolution at Patreon
Copyright © 2018. All Rights Reserved.