
public class CreateDecimalFormat extends HelperMethod
DecimalFormat
DecimalFormat df = new DecimalFormat( numberFormat )
with setParseBigDecimal set to true.| Constructor and Description |
|---|
CreateDecimalFormat(TypeFactory typeFactory) |
| Modifier and Type | Method and Description |
|---|---|
String |
describe() |
Set<Type> |
getImportTypes()
Returns the types used by this method for which import statements need to be generated.
|
MappingMethodOptions |
getOptions() |
Parameter |
getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Type |
getReturnType()
Returns the return type of the method
|
doTypeVarsMatch, equals, getAccessibility, getContextParameter, getContextParameters, getContextProvidedMethods, getDeclaringMapper, getDefiningType, getExecutable, getMappingTargetParameter, getName, getParameterNames, getParameters, getResultType, getSourceParameters, getTargetTypeParameter, getThrownTypes, hashCode, isDefault, isLifecycleCallbackMethod, isObjectFactory, isStatic, isUpdateMethod, matches, overridesMethodclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMappingSourceType, isMappingTargetAssignableToReturnTypepublic CreateDecimalFormat(TypeFactory typeFactory)
public Set<Type> getImportTypes()
HelperMethodgetImportTypes in class HelperMethodpublic Parameter getParameter()
HelperMethodgetParameter in class HelperMethodpublic Type getReturnType()
Methodpublic MappingMethodOptions getOptions()
public String describe()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.