|
|||||||||
| 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.MySQLStructMapper
public class MySQLStructMapper
A StructMapper for mySQL database tables. This addresses the following issues that make mySQL different from the DefaultSQLStructMapper:
Rather than reimplementing methods that are the same, this class extends the default.
| Constructor Summary | |
|---|---|
MySQLStructMapper()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getMappedFieldType(com.sun.javadoc.ClassDoc struct,
com.sun.javadoc.FieldDoc field)
Return the corresponding type for the field. |
| Methods inherited from class org.sandev.generator.DefaultSQLStructMapper |
|---|
getMappedFieldName, getMappedFieldRelation, getMappedFieldRelationChild, getMappedFieldRelationIndex, getMappedFieldRelationParent, 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 |
|---|
getMappedFieldName, getMappedFieldRelation, getMappedFieldRelationChild, getMappedFieldRelationIndex, getMappedFieldRelationParent, getMappedStructName |
| Constructor Detail |
|---|
public MySQLStructMapper()
| Method Detail |
|---|
public java.lang.String getMappedFieldType(com.sun.javadoc.ClassDoc struct,
com.sun.javadoc.FieldDoc field)
DefaultSQLStructMapper
getMappedFieldType in interface StructMappergetMappedFieldType in class DefaultSQLStructMapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||