|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkodo.jdbc.meta.KodoReverseCustomizer
public class KodoReverseCustomizer
Customizer that adds Kodo-specific reverse mappings, then delegates through to a given customizer.
| Constructor Summary | |
|---|---|
KodoReverseCustomizer()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
customize(ClassMapping cls)
|
void |
customize(FieldMapping field)
|
void |
endConfiguration()
|
String |
getClassCode(ClassMapping mapping)
|
String |
getClassName(Table table,
String defaultName)
|
ReverseCustomizer |
getCustomizer()
Delegate customizer, or null. |
String |
getDeclaration(FieldMapping field)
|
String |
getFieldCode(FieldMapping field)
|
String |
getFieldName(ClassMapping dec,
Column[] cols,
ForeignKey fk,
String defaultName)
|
String |
getInitialValue(FieldMapping field)
|
int |
getTableType(Table table,
int defaultType)
|
void |
setConfiguration(Configuration conf)
|
void |
setConfiguration(Properties props)
|
void |
setCustomizer(ReverseCustomizer delegate)
Delegate customizer, or null. |
void |
setCustomizer(String typeName)
Used during auto-configuration to set delegate type. |
void |
setInto(Options opts)
|
void |
setTool(ReverseMappingTool tool)
|
void |
startConfiguration()
|
boolean |
unmappedTable(Table table)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KodoReverseCustomizer()
| Method Detail |
|---|
public ReverseCustomizer getCustomizer()
public void setCustomizer(ReverseCustomizer delegate)
public void setCustomizer(String typeName)
public void setConfiguration(Properties props)
setConfiguration in interface ReverseCustomizerpublic void setTool(ReverseMappingTool tool)
setTool in interface ReverseCustomizer
public int getTableType(Table table,
int defaultType)
getTableType in interface ReverseCustomizer
public String getClassName(Table table,
String defaultName)
getClassName in interface ReverseCustomizerpublic void customize(ClassMapping cls)
customize in interface ReverseCustomizerpublic String getClassCode(ClassMapping mapping)
getClassCode in interface ReverseCustomizer
public String getFieldName(ClassMapping dec,
Column[] cols,
ForeignKey fk,
String defaultName)
getFieldName in interface ReverseCustomizerpublic void customize(FieldMapping field)
customize in interface ReverseCustomizerpublic String getInitialValue(FieldMapping field)
getInitialValue in interface ReverseCustomizerpublic String getDeclaration(FieldMapping field)
getDeclaration in interface ReverseCustomizerpublic String getFieldCode(FieldMapping field)
getFieldCode in interface ReverseCustomizerpublic boolean unmappedTable(Table table)
unmappedTable in interface ReverseCustomizerpublic void close()
close in interface ReverseCustomizerclose in interface Closeablepublic void setConfiguration(Configuration conf)
setConfiguration in interface Configurablepublic void startConfiguration()
startConfiguration in interface Configurablepublic void endConfiguration()
endConfiguration in interface Configurablepublic void setInto(Options opts)
setInto in interface GenericConfigurable
|
Kodo 4.2.0. generated on July 28 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||