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 java.lang.Object
implements GeneratorExtension


Constructor Summary
PropertyReferenceableExtension()
           
 
Method Summary
 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)
           
 
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(java.lang.String factoryClassName)

getFactoryClassName

public java.lang.String getFactoryClassName()

extraGeneralImports

public java.util.Collection extraGeneralImports()
Specified by:
extraGeneralImports in interface GeneratorExtension

extraSpecificImports

public java.util.Collection extraSpecificImports()
Specified by:
extraSpecificImports in interface GeneratorExtension

extraInterfaceNames

public java.util.Collection extraInterfaceNames()
Specified by:
extraInterfaceNames in interface GeneratorExtension

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 interface GeneratorExtension
Throws:
java.io.IOException