public class EnumMappingOptions extends DelegatingOptions
Modifier and Type | Method and Description |
---|---|
static EnumMappingOptions |
getInstanceOn(ExecutableElement method,
MapperOptions mapperOptions,
Map<String,EnumTransformationStrategy> enumTransformationStrategies,
FormattingMessager messager) |
String |
getNameTransformationConfiguration() |
String |
getNameTransformationStrategy() |
TypeMirror |
getUnexpectedValueMappingException() |
boolean |
hasAnnotation() |
boolean |
hasNameTransformationStrategy() |
EnumMappingOptions |
inverse() |
boolean |
isInverse() |
boolean |
isValid() |
componentModel, getBuilder, getCollectionMappingStrategy, getInjectionStrategy, getMappingControl, getMappingInheritanceStrategy, getNullValueCheckStrategy, getNullValueMappingStrategy, getNullValuePropertyMappingStrategy, implementationName, implementationPackage, imports, isDisableSubMappingMethodsGeneration, toDeclaredTypes, typeConversionPolicy, unmappedSourcePolicy, unmappedTargetPolicy, uses
public boolean hasAnnotation()
hasAnnotation
in class DelegatingOptions
public boolean isValid()
public boolean hasNameTransformationStrategy()
public String getNameTransformationStrategy()
public String getNameTransformationConfiguration()
public TypeMirror getUnexpectedValueMappingException()
getUnexpectedValueMappingException
in class DelegatingOptions
public boolean isInverse()
public EnumMappingOptions inverse()
public static EnumMappingOptions getInstanceOn(ExecutableElement method, MapperOptions mapperOptions, Map<String,EnumTransformationStrategy> enumTransformationStrategies, FormattingMessager messager)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.