Class TypedSetter
- All Implemented Interfaces:
CodeWriter
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
AbstractAttributeMethodWriter.AttributeMode -
Field Summary
Fields inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
PRIMITIVE_POSTFIXFields inherited from class de.hybris.bootstrap.codegenerator.MethodWriter
ABSTRACT, FINAL, STATIC, SYNCHRONIZED -
Constructor Summary
ConstructorsConstructorDescriptionTypedSetter(JaloClassWriter forClass, YAttributeDescriptor descriptor, boolean managerMode, Map<String, List<String>> customSettersSignatureInfoMap) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddThrownExceptionIfRequired(MethodWriter methodWriter) protected booleanprotected voidwriteContent(JavaFile file) Methods inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractTypedAttributeMethod
calculateReturnType, getQualifierConstantMethods inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
getAttribute, getConstantsClassNameShort, getEnclosingClass, isInitialOnly, managerModeMethods inherited from class de.hybris.bootstrap.codegenerator.MethodWriter
addAnnotation, addComment, addDeprecatedAnnotation, addParameter, addThrownException, analyzeAndStripReturnType, assembleSignature, assembleThrowsClause, extractClassNames, getAnnotations, getContent, getJavadoc, getModifiers, getName, getParameterType, getRequiredImports, getReturnType, getSignature, getThrownExceptions, getVisibility, isAbstract, isConstructor, modifiersToString, setAbstract, setConstructor, setContent, setContentPlain, setJavadoc, setModifiers, setReturnType, setVisibility, stripPackageName, write, writeTextToFileMethods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
Constructor Details
-
TypedSetter
public TypedSetter(JaloClassWriter forClass, YAttributeDescriptor descriptor, boolean managerMode, Map<String, List<String>> customSettersSignatureInfoMap)
-
-
Method Details
-
createNonCtxDelegateMethod
- Overrides:
createNonCtxDelegateMethodin classAbstractTypedAttributeMethod
-
writeContent
- Overrides:
writeContentin classMethodWriter
-
addThrownExceptionIfRequired
-
mustCastValueToSerializable
protected boolean mustCastValueToSerializable()
-