|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.generator.DefaultSQLStructMapper
org.sandev.generator.PostgreSQLStructMapper
A StructMapper for PostgreSQL database tables. This addresses the following issues that make PostgreSQL different from the DefaultSQLStructMapper:
Rather than reimplementing methods that are the same, this class extends the default.
| Constructor Summary | |
PostgreSQLStructMapper()
|
|
| Method Summary | |
java.lang.String |
getMappedFieldName(com.sun.javadoc.ClassDoc struct,
com.sun.javadoc.FieldDoc field)
PostgreSQL prevents some reserved words from being used as column names unless they're quoted. |
| Methods inherited from class org.sandev.generator.DefaultSQLStructMapper |
getMappedFieldRelation, getMappedFieldRelationChild, getMappedFieldRelationIndex, getMappedFieldRelationParent, getMappedFieldType, getMappedStructName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.sandev.generator.StructMapper |
getMappedFieldRelation, getMappedFieldRelationChild, getMappedFieldRelationIndex, getMappedFieldRelationParent, getMappedFieldType, getMappedStructName |
| Constructor Detail |
public PostgreSQLStructMapper()
| Method Detail |
public java.lang.String getMappedFieldName(com.sun.javadoc.ClassDoc struct,
com.sun.javadoc.FieldDoc field)
getMappedFieldName in interface StructMappergetMappedFieldName in class DefaultSQLStructMapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||