Class ItemTypeWriter
java.lang.Object
de.hybris.bootstrap.codegenerator.AbstractImportProvider
de.hybris.bootstrap.codegenerator.ClassWriter
de.hybris.bootstrap.codegenerator.jalo.JaloClassWriter
de.hybris.bootstrap.codegenerator.jalo.ItemTypeWriter
- All Implemented Interfaces:
CodeWriter
-
Field Summary
Fields inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
GENERATED_NOTICE -
Constructor Summary
ConstructorsConstructorDescriptionItemTypeWriter(CodeGenerator gen, YExtension ext, YComposedType cType, boolean managerMode, boolean jaloLogicFree) -
Method Summary
Modifier and TypeMethodDescriptionprotected AddToRelationprotected LocalizedAllGetterprotected LocalizedAllSetterprotected PrimitiveGettercreatePrimitiveGetter(TypedGetter original) protected PrimitiveSettercreatePrimitiveSetter(TypedSetter original) protected RemoveFromRelationprotected TypedGetterprotected TypedSetterprotected voidfill()protected voidfillTypedGetter(YAttributeDescriptor ad, String descr, boolean generatePrimitive) protected voidfillTypedSetter(YAttributeDescriptor ad, String descr, boolean generatePrimitive) protected StringfindCustomOrderingAttribute(YRelationEnd relationTarget, YRelationEnd relationSource) protected Set<YAttributeDescriptor>protected StringgetRelationHandlerMemberName(YAttributeDescriptor relationAttributeDescriptor) getType()booleanprotected booleanprotected booleanprotected booleanmustAddRelationMarkModifiedOverrideConstant(String relationName) protected booleanmustAddRelationOverrideConstant(String relationName) protected booleanprotected booleanbooleanMethods inherited from class de.hybris.bootstrap.codegenerator.jalo.JaloClassWriter
addAnnotations, getConstantsClassName, isJaloLogicFree, sortMethodsMethods inherited from class de.hybris.bootstrap.codegenerator.ClassWriter
addAnnotation, addAnnotationIfDeprecated, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, firstLetterUpperCase, getAnnotations, getClassName, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, processAnnotations, removeSelfImport, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, write, writeMethods, writeSignatureMethods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
Constructor Details
-
ItemTypeWriter
public ItemTypeWriter(CodeGenerator gen, YExtension ext, YComposedType cType, boolean managerMode, boolean jaloLogicFree)
-
-
Method Details
-
createNonAbstractClassWriter
-
createTypedGetter
-
createPrimitiveGetter
-
createLocalizedAllGetter
-
createTypedSetter
-
createPrimitiveSetter
-
createLocalizedAllSetter
-
createAddToRelation
-
createRemoveFromRelation
-
getAttributes
-
getRelationHandlerMemberName
-
mustGenerateSetter
-
isRedeclardAsWritable
-
mustGenerateGetter
-
isRedeclardAsReadable
-
mustAddRelationOverrideConstant
-
mustAddRelationMarkModifiedOverrideConstant
-
fill
protected void fill()- Overrides:
fillin classClassWriter
-
findCustomOrderingAttribute
protected String findCustomOrderingAttribute(YRelationEnd relationTarget, YRelationEnd relationSource) -
fillTypedGetter
-
fillTypedSetter
-
getType
- Returns:
- the type
-
isManagerMode
public boolean isManagerMode()- Returns:
- the managerMode
-
shouldGenerateWithMarkModified
public boolean shouldGenerateWithMarkModified()
-