Package com.mchange.v2.codegen.bean
Class PropertyReferenceableExtension
- java.lang.Object
-
- com.mchange.v2.codegen.bean.PropertyReferenceableExtension
-
- All Implemented Interfaces:
GeneratorExtension
public class PropertyReferenceableExtension extends java.lang.Object implements GeneratorExtension
-
-
Constructor Summary
Constructors Constructor Description PropertyReferenceableExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection
extraGeneralImports()
java.util.Collection
extraInterfaceNames()
java.util.Collection
extraSpecificImports()
void
generate(ClassInfo info, java.lang.Class superclassType, Property[] props, java.lang.Class[] propTypes, IndentedWriter iw)
java.lang.String
getFactoryClassName()
boolean
getUseExplicitReferenceProperties()
void
setFactoryClassName(java.lang.String factoryClassName)
void
setUseExplicitReferenceProperties(boolean explicit_reference_properties)
-
-
-
Method Detail
-
setUseExplicitReferenceProperties
public void setUseExplicitReferenceProperties(boolean explicit_reference_properties)
-
getUseExplicitReferenceProperties
public boolean getUseExplicitReferenceProperties()
-
setFactoryClassName
public void setFactoryClassName(java.lang.String factoryClassName)
-
getFactoryClassName
public java.lang.String getFactoryClassName()
-
extraGeneralImports
public java.util.Collection extraGeneralImports()
- Specified by:
extraGeneralImports
in interfaceGeneratorExtension
-
extraSpecificImports
public java.util.Collection extraSpecificImports()
- Specified by:
extraSpecificImports
in interfaceGeneratorExtension
-
extraInterfaceNames
public java.util.Collection extraInterfaceNames()
- Specified by:
extraInterfaceNames
in interfaceGeneratorExtension
-
generate
public void generate(ClassInfo info, java.lang.Class superclassType, Property[] props, java.lang.Class[] propTypes, IndentedWriter iw) throws java.io.IOException
- Specified by:
generate
in interfaceGeneratorExtension
- Throws:
java.io.IOException
-
-