Class AbstractPrimitiveAttributeMethod
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.AbstractImportProvider
-
- de.hybris.bootstrap.codegenerator.MethodWriter
-
- de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
-
- de.hybris.bootstrap.codegenerator.jalo.AbstractPrimitiveAttributeMethod
-
- All Implemented Interfaces:
CodeWriter
- Direct Known Subclasses:
PrimitiveGetter,PrimitiveSetter
public abstract class AbstractPrimitiveAttributeMethod extends AbstractAttributeMethodWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
AbstractAttributeMethodWriter.AttributeMode
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringPRIMITIVE_POSTFIX-
Fields inherited from class de.hybris.bootstrap.codegenerator.MethodWriter
ABSTRACT, FINAL, STATIC, SYNCHRONIZED
-
-
Constructor Summary
Constructors Constructor Description AbstractPrimitiveAttributeMethod(AbstractTypedAttributeMethod realOne, java.lang.String returnType, java.lang.String postfix)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodWritercreateNonCtxDelegateMethod()protected static java.lang.ClassgetPrimitiveType(YAttributeDescriptor desc)protected java.lang.StringgetPrimitveDefaultValueString(java.lang.Class primitve)AbstractTypedAttributeMethodgetRealOne()static booleanisPrimitive(YAttributeDescriptor desc)-
Methods inherited from class de.hybris.bootstrap.codegenerator.jalo.AbstractAttributeMethodWriter
getAttribute, getConstantsClassNameShort, getEnclosingClass, isInitialOnly, 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
-
AbstractPrimitiveAttributeMethod
public AbstractPrimitiveAttributeMethod(AbstractTypedAttributeMethod realOne, java.lang.String returnType, java.lang.String postfix)
-
-
Method Detail
-
isPrimitive
public static boolean isPrimitive(YAttributeDescriptor desc)
-
getPrimitiveType
protected static java.lang.Class getPrimitiveType(YAttributeDescriptor desc)
-
createNonCtxDelegateMethod
public MethodWriter createNonCtxDelegateMethod()
-
getPrimitveDefaultValueString
protected java.lang.String getPrimitveDefaultValueString(java.lang.Class primitve)
-
getRealOne
public AbstractTypedAttributeMethod getRealOne()
- Returns:
- the realOne
-
-