Class AbstractAttributeMethodWriter
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.AbstractImportProvider
-
- de.hybris.bootstrap.codegenerator.MethodWriter
-
- de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
-
- All Implemented Interfaces:
CodeWriter
- Direct Known Subclasses:
AbstractPrimitiveAttributeMethod
,AbstractTypedAttributeMethod
,RelationCount
public abstract class AbstractAttributeMethodWriter extends MethodWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractAttributeMethodWriter.AttributeMode
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
PRIMITIVE_POSTFIX
-
Fields inherited from class de.hybris.bootstrap.codegenerator.MethodWriter
ABSTRACT, FINAL, STATIC, SYNCHRONIZED
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeMethodWriter(JaloClassWriter forClass, YAttributeDescriptor desc, java.lang.String returnTypeFull, java.lang.String methodName, boolean managerMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description YAttributeDescriptor
getAttribute()
protected java.lang.String
getConstantsClassNameShort()
protected JaloClassWriter
getEnclosingClass()
protected boolean
isInitialOnly()
protected boolean
managerMode()
-
Methods 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, writeContent, writeTextToFile
-
Methods inherited from class de.hybris.bootstrap.codegenerator.AbstractImportProvider
addRequiredImport
-
-
-
-
Field Detail
-
PRIMITIVE_POSTFIX
protected static final java.lang.String PRIMITIVE_POSTFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractAttributeMethodWriter
public AbstractAttributeMethodWriter(JaloClassWriter forClass, YAttributeDescriptor desc, java.lang.String returnTypeFull, java.lang.String methodName, boolean managerMode)
-
-
Method Detail
-
managerMode
protected boolean managerMode()
-
getAttribute
public YAttributeDescriptor getAttribute()
-
getConstantsClassNameShort
protected java.lang.String getConstantsClassNameShort()
-
getEnclosingClass
protected JaloClassWriter getEnclosingClass()
-
isInitialOnly
protected boolean isInitialOnly()
-
-