public class PropertyReferenceableExtension extends Object implements GeneratorExtension
| Constructor and Description |
|---|
PropertyReferenceableExtension() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public void setUseExplicitReferenceProperties(boolean explicit_reference_properties)
public boolean getUseExplicitReferenceProperties()
public void setFactoryClassName(String factoryClassName)
public String getFactoryClassName()
public Collection extraGeneralImports()
extraGeneralImports in interface GeneratorExtensionpublic Collection extraSpecificImports()
extraSpecificImports in interface GeneratorExtensionpublic Collection extraInterfaceNames()
extraInterfaceNames in interface GeneratorExtensionpublic void generate(ClassInfo info, Class superclassType, Property[] props, Class[] propTypes, IndentedWriter iw) throws IOException
generate in interface GeneratorExtensionIOException