public class ItemTypeWriter extends JaloClassWriter
GENERATED_NOTICE| Constructor and Description |
|---|
ItemTypeWriter(CodeGenerator gen,
YExtension ext,
YComposedType cType,
boolean managerMode) |
getConstantsClassName, sortMethodsaddAnnotation, addConstantDeclaration, addConstantDeclaration, addConstructor, addDeclaration, addDeclaration, addDeclaration, addInterface, addMethod, assembleAbstractClassName, assembleClassName, containsAnnotation, disableSuppressPMD, firstLetterUpperCase, getAnnotations, getClassName, getClassToExtend, getConstantDeclarations, getConstructors, getCopyright, getDeclarations, getExtension, getGenerator, getInfo, getInterfaces, getJavadoc, getMethods, getModifiers, getPackageName, getRequiredImports, getVisibility, isGeneratePartOf, setClassToExtend, setCopyright, setJavadoc, setModifiers, setPackageName, setVisibility, write, writeMethods, writeSignatureaddRequiredImportpublic ItemTypeWriter(CodeGenerator gen, YExtension ext, YComposedType cType, boolean managerMode)
public ClassWriter createNonAbstractClassWriter()
protected TypedGetter createTypedGetter(YAttributeDescriptor desc)
protected PrimitiveGetter createPrimitiveGetter(TypedGetter original)
protected LocalizedAllGetter createLocalizedAllGetter(YAttributeDescriptor desc)
protected TypedSetter createTypedSetter(YAttributeDescriptor desc)
protected PrimitiveSetter createPrimitiveSetter(TypedSetter original)
protected LocalizedAllSetter createLocalizedAllSetter(YAttributeDescriptor desc)
protected AddToRelation createAddToRelation(YAttributeDescriptor desc)
protected RemoveFromRelation createRemoveFromRelation(YAttributeDescriptor desc)
protected Set<YAttributeDescriptor> getAttributes()
protected String getRelationHandlerMemberName(YAttributeDescriptor relationAttributeDescriptor)
protected boolean mustGenerateSetter(YAttributeDescriptor ad)
protected boolean isRedeclardAsWritable(YAttributeDescriptor ad)
protected boolean mustGenerateGetter(YAttributeDescriptor ad)
protected boolean isRedeclardAsReadable(YAttributeDescriptor ad)
protected boolean mustAddRelationOverrideConstant(String relationName)
protected boolean mustAddRelationMarkModifiedOverrideConstant(String relationName)
protected void fill()
fill in class ClassWriterprotected String findCustomOrderingAttribute(YRelationEnd relationTarget, YRelationEnd relationSource)
protected void fillTypedGetter(YAttributeDescriptor ad, String descr, boolean generatePrimitive)
protected void fillTypedSetter(YAttributeDescriptor ad, String descr, boolean generatePrimitive)
public YComposedType getType()
public boolean isManagerMode()
Copyright © 2017 SAP SE. All Rights Reserved.