|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface describes methods needed in any Java model generator. A Java model generator is used to generate POJOs that match the structure of the table. Typically this includes:
Method Summary | |
FullyQualifiedJavaType |
getExampleType(FullyQualifiedTable table)
|
java.util.List |
getGeneratedJavaFiles(ColumnDefinitions columnDefinitions,
TableConfiguration tableConfiguration,
ProgressCallback callback)
This method returns a list of GenerateJavaFile objects. |
FullyQualifiedJavaType |
getPrimaryKeyType(FullyQualifiedTable table)
|
FullyQualifiedJavaType |
getRecordType(FullyQualifiedTable table)
|
FullyQualifiedJavaType |
getRecordWithBLOBsType(FullyQualifiedTable table)
|
void |
setProperties(java.util.Map properties)
Sets the properties of the generator taken from the JavaModelGeneratorConfiguration element. |
void |
setTargetPackage(java.lang.String targetPackage)
Sets the target package of the generator taken from the JavaModelGeneratorConfiguration element. |
void |
setTargetProject(java.lang.String targetProject)
Sets the target project of the generator taken from the JavaModelGeneratorConfiguration element. |
void |
setWarnings(java.util.List warnings)
Abator will supply a list to this method. |
Method Detail |
public void setProperties(java.util.Map properties)
properties
- the configuration element's propertiespublic void setWarnings(java.util.List warnings)
warnings
- public void setTargetPackage(java.lang.String targetPackage)
targetPackage
- the configuration element's target packagepublic void setTargetProject(java.lang.String targetProject)
targetProject
- the configuration element's target projectpublic FullyQualifiedJavaType getPrimaryKeyType(FullyQualifiedTable table)
public FullyQualifiedJavaType getRecordType(FullyQualifiedTable table)
table
- the table for which the name should be generated
public FullyQualifiedJavaType getExampleType(FullyQualifiedTable table)
table
- the table for which the name should be generated
public FullyQualifiedJavaType getRecordWithBLOBsType(FullyQualifiedTable table)
table
- the table for which the name should be generated
public java.util.List getGeneratedJavaFiles(ColumnDefinitions columnDefinitions, TableConfiguration tableConfiguration, ProgressCallback callback)
columnDefinitions
- tableConfiguration
- callback
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |