com.mchange.v2.codegen.bean
Class PropertyReferenceableExtension

java.lang.Object
  extended by com.mchange.v2.codegen.bean.PropertyReferenceableExtension
All Implemented Interfaces:
GeneratorExtension

public class PropertyReferenceableExtension
extends Object
implements GeneratorExtension


Constructor Summary
PropertyReferenceableExtension()
           
 
Method Summary
 Collection extraGeneralImports()
           
 Collection extraInterfaceNames()
           
 Collection extraSpecificImports()
           
 void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw)
           
 String getFactoryClassName()
           
 boolean getUseExplicitReferenceProperties()
           
 void setFactoryClassName(String factoryClassName)
           
 void setUseExplicitReferenceProperties(boolean explicit_reference_properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyReferenceableExtension

public PropertyReferenceableExtension()
Method Detail

setUseExplicitReferenceProperties

public void setUseExplicitReferenceProperties(boolean explicit_reference_properties)

getUseExplicitReferenceProperties

public boolean getUseExplicitReferenceProperties()

setFactoryClassName

public void setFactoryClassName(String factoryClassName)

getFactoryClassName

public String getFactoryClassName()

extraGeneralImports

public Collection extraGeneralImports()
Specified by:
extraGeneralImports in interface GeneratorExtension

extraSpecificImports

public Collection extraSpecificImports()
Specified by:
extraSpecificImports in interface GeneratorExtension

extraInterfaceNames

public Collection extraInterfaceNames()
Specified by:
extraInterfaceNames in interface GeneratorExtension

generate

public void generate(ClassInfo info,
                     Class superclassType,
                     Property[] props,
                     Class[] propTypes,
                     IndentedWriter iw)
              throws IOException
Specified by:
generate in interface GeneratorExtension
Throws:
IOException