Class ValueMappingOptions
java.lang.Object
org.mapstruct.ap.internal.model.source.ValueMappingOptions
Represents the mapping between one value constant and another.
- Author:
- Sjaak Derksen
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ValueMappingOptionsfromMappingGem(org.mapstruct.ap.internal.gem.ValueMappingGem mapping) static voidfromMappingsGem(org.mapstruct.ap.internal.gem.ValueMappingsGem mappingsGem, ExecutableElement method, FormattingMessager messager, Set<ValueMappingOptions> mappings) inthashCode()inverse()
-
Method Details
-
fromMappingsGem
public static void fromMappingsGem(org.mapstruct.ap.internal.gem.ValueMappingsGem mappingsGem, ExecutableElement method, FormattingMessager messager, Set<ValueMappingOptions> mappings) -
fromMappingGem
public static ValueMappingOptions fromMappingGem(org.mapstruct.ap.internal.gem.ValueMappingGem mapping) -
getSource
- Returns:
- the name of the constant in the source.
-
getTarget
- Returns:
- the name of the constant in the target.
-
getMirror
-
getSourceAnnotationValue
-
getTargetAnnotationValue
-
inverse
-
hashCode
public int hashCode() -
equals
-