Package com.mchange.v2.codegen.bean
Class PropertyReferenceableExtension
java.lang.Object
com.mchange.v2.codegen.bean.PropertyReferenceableExtension
- All Implemented Interfaces:
GeneratorExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) boolean
void
setFactoryClassName
(String factoryClassName) void
setUseExplicitReferenceProperties
(boolean explicit_reference_properties)
-
Constructor Details
-
PropertyReferenceableExtension
public PropertyReferenceableExtension()
-
-
Method Details
-
setUseExplicitReferenceProperties
public void setUseExplicitReferenceProperties(boolean explicit_reference_properties) -
getUseExplicitReferenceProperties
public boolean getUseExplicitReferenceProperties() -
setFactoryClassName
-
getFactoryClassName
-
extraGeneralImports
- Specified by:
extraGeneralImports
in interfaceGeneratorExtension
-
extraSpecificImports
- Specified by:
extraSpecificImports
in interfaceGeneratorExtension
-
extraInterfaceNames
- Specified by:
extraInterfaceNames
in interfaceGeneratorExtension
-
generate
public void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) throws IOException - Specified by:
generate
in interfaceGeneratorExtension
- Throws:
IOException
-