Package com.mchange.v2.codegen.bean
Class InnerBeanPropertyBeanGenerator
- java.lang.Object
-
- com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator
-
- com.mchange.v2.codegen.bean.InnerBeanPropertyBeanGenerator
-
- All Implemented Interfaces:
PropertyBeanGenerator
public class InnerBeanPropertyBeanGenerator extends SimplePropertyBeanGenerator
-
-
Field Summary
-
Fields inherited from class com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator
generalImports, generatorExtensions, info, interfaceNames, interfaceTypes, iw, propertyTypes, props, specificImports, superclassType
-
-
Constructor Summary
Constructors Constructor Description InnerBeanPropertyBeanGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PropertyBeanGenerator
createInnerGenerator()
java.lang.String
getInnerBeanClassName()
void
setInnerBeanClassName(java.lang.String innerBeanClassName)
protected void
writeOtherClasses()
protected void
writeOtherFunctions()
protected void
writeOtherVariables()
protected void
writePropertyGetter(Property prop, java.lang.Class propType)
protected void
writePropertySetter(Property prop, java.lang.Class propType)
protected void
writePropertyVariable(Property prop)
-
Methods inherited from class com.mchange.v2.codegen.bean.SimplePropertyBeanGenerator
addExtension, addInternalImports, addInternalInterfaces, generate, generateClassJavaDocComment, getConstructorDefensiveCopyExpression, getGeneratorName, getGetterDefensiveCopyExpression, getJavaVersion, getSetterDefensiveCopyExpression, isForceUnmodifiable, isInner, main, removeExtension, resolveTypes, setForceUnmodifiable, setGeneratorName, setInner, setJavaVersion, writeBannerComments, writeBoundPropertyEventSourceMethods, writeClassDeclaration, writeConstrainedPropertyEventSourceMethods, writeCoreBody, writeGetterSetterPair, writeGetterSetterPairs, writeHeader, writeImports, writeInternalUtilityFunctions, writeJavaBeansChangeSupport, writePropertyMember, writePropertyMembers, writePropertyVariables
-
-
-
-
Method Detail
-
setInnerBeanClassName
public void setInnerBeanClassName(java.lang.String innerBeanClassName)
-
getInnerBeanClassName
public java.lang.String getInnerBeanClassName()
-
createInnerGenerator
protected PropertyBeanGenerator createInnerGenerator()
-
writeOtherVariables
protected void writeOtherVariables() throws java.io.IOException
- Overrides:
writeOtherVariables
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
writeOtherFunctions
protected void writeOtherFunctions() throws java.io.IOException
- Overrides:
writeOtherFunctions
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
writeOtherClasses
protected void writeOtherClasses() throws java.io.IOException
- Overrides:
writeOtherClasses
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
writePropertyVariable
protected void writePropertyVariable(Property prop) throws java.io.IOException
- Overrides:
writePropertyVariable
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
writePropertyGetter
protected void writePropertyGetter(Property prop, java.lang.Class propType) throws java.io.IOException
- Overrides:
writePropertyGetter
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
writePropertySetter
protected void writePropertySetter(Property prop, java.lang.Class propType) throws java.io.IOException
- Overrides:
writePropertySetter
in classSimplePropertyBeanGenerator
- Throws:
java.io.IOException
-
-