io.atlasmap.core.validate.MappingFieldPairValidator.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4?
? I ?
I ?
? ? ? ? ? ? ? ? ?
?
? ?
?
I ? ? ? ? ?
? ? ? ?
? ? ?
? ? ?
?
? ? ?
? ?
? ? ?
? ? ?
? ? ?
?
? ?
? ? ? ? ? ? ? ? ? ? ?
? ? ?
? ?
I ?
?
? ?
? ? ?
? ? ? ? ? I ? ? ? ? ? ? ?
0 ?
*
? *
? *
LOG Lorg/slf4j/Logger; service 7Lio/atlasmap/core/validate/BaseModuleValidationService; Signature :Lio/atlasmap/core/validate/BaseModuleValidationService<*>; :(Lio/atlasmap/core/validate/BaseModuleValidationService;)V Code LineNumberTable LocalVariableTable this 5Lio/atlasmap/core/validate/MappingFieldPairValidator; LocalVariableTypeTable =(Lio/atlasmap/core/validate/BaseModuleValidationService<*>;)V validateFieldTypes V(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/v2/Field;)V sourceField Lio/atlasmap/v2/Field; validations Ljava/util/List; mappingId Ljava/lang/String; sourceFieldGroup Lio/atlasmap/v2/FieldGroup; targetField actionOutputType Lio/atlasmap/v2/FieldType; -Ljava/util/List;
StackMapTable ? s(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/FieldGroup;Lio/atlasmap/v2/Field;)V K(Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lio/atlasmap/v2/Field;)V sourceFields (Ljava/util/List; ?(Ljava/util/List;Ljava/lang/String;Ljava/util/List;Lio/atlasmap/v2/Field;)V K(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Ljava/util/List;)V targetFields ?(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Ljava/util/List;)V Q(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;)V n(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;)V doValidateFieldTypes k(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/FieldType;)V
validation Lio/atlasmap/v2/Validation; conversionInfo %Lio/atlasmap/spi/AtlasConversionInfo; sft methods [Ljava/lang/reflect/Method; sourceFieldType targetFieldType atlasConverter Ljava/util/Optional; 9Ljava/util/Optional;>; ?(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/Field;Lio/atlasmap/v2/FieldType;)V getActionOutputFieldType T(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldType; e Lio/atlasmap/api/AtlasException; f
lastAction Lio/atlasmap/v2/Action; detail Lio/atlasmap/v2/ActionDetail; ? ? q(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/Field;)Lio/atlasmap/v2/FieldType; populateConversionConcerns n(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/spi/AtlasConversionInfo;Ljava/lang/String;Ljava/lang/String;)V message atlasConversionConcern (Lio/atlasmap/spi/AtlasConversionConcern;
converterAnno sourceFieldName targetFieldName ?(Ljava/util/List;Ljava/lang/String;Lio/atlasmap/spi/AtlasConversionInfo;Ljava/lang/String;Ljava/lang/String;)V lambda$doValidateFieldTypes$2 \(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;Lio/atlasmap/spi/AtlasConversionInfo;)Z atlasConversionInfo lambda$doValidateFieldTypes$1 ((Lio/atlasmap/spi/AtlasConversionInfo;)Z lambda$doValidateFieldTypes$0 A(Ljava/lang/reflect/Method;)Lio/atlasmap/spi/AtlasConversionInfo; method Ljava/lang/reflect/Method; ()V
SourceFile MappingFieldPairValidator.java Q ? M N ? ? !"#$% io/atlasmap/v2/Field&'()*+, z {- f. f/01234# io/atlasmap/v2/Validation56789:; FConversion from '%s' to '%s' is required but no converter is available java/lang/Object<=>;?@ABCDEF% io/atlasmap/spi/AtlasConverterGHIJKLMN BootstrapMethodsOPQ ?RSTUVEW ?XYZ[\X]^_`P #io/atlasmap/spi/AtlasConversionInfoab ? ?cdefgFh io/atlasmap/v2/Actionijklm io/atlasmap/api/AtlasException K Lno# ActionDetail not foundpq 0Couldn't find a metadata for transformation '%s'r's,tuvwx ?yEz ?{ ?| ?} ?~A ??,???,??? 3io/atlasmap/core/validate/MappingFieldPairValidator??? io/atlasmap/v2/FieldType java/util/Iterator java/util/List java/lang/String io/atlasmap/v2/FieldGroup java/util/Optional io/atlasmap/v2/ActionDetail )[Lio/atlasmap/spi/AtlasConversionConcern; &io/atlasmap/spi/AtlasConversionConcern getField ()Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getDocId ()Ljava/lang/String; 5io/atlasmap/core/validate/BaseModuleValidationService matchDocIdOrNull (Ljava/lang/String;)Z getFieldType ()Lio/atlasmap/v2/FieldType; ANY COMPLEX getConversionService *()Lio/atlasmap/spi/AtlasConversionService; &io/atlasmap/spi/AtlasConversionService findMatchingConverter J(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/util/Optional; isPresent io/atlasmap/v2/ValidationScope MAPPING Lio/atlasmap/v2/ValidationScope; setScope #(Lio/atlasmap/v2/ValidationScope;)V setId (Ljava/lang/String;)V format 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
setMessage io/atlasmap/v2/ValidationStatus ERROR !Lio/atlasmap/v2/ValidationStatus; setStatus $(Lio/atlasmap/v2/ValidationStatus;)V add (Ljava/lang/Object;)Z get getClass ()Ljava/lang/Class; java/lang/Class
getMethods ()[Ljava/lang/reflect/Method; java/util/Arrays stream .([Ljava/lang/Object;)Ljava/util/stream/Stream;
?? &(Ljava/lang/Object;)Ljava/lang/Object;
I? apply ()Ljava/util/function/Function; java/util/stream/Stream map 8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
I? test ()Ljava/util/function/Predicate; filter 9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
I? T(Lio/atlasmap/v2/FieldType;Lio/atlasmap/v2/FieldType;)Ljava/util/function/Predicate; findFirst ()Ljava/util/Optional; orElse getFieldName *(Lio/atlasmap/v2/Field;)Ljava/lang/String;
getActions ()Ljava/util/ArrayList; java/util/ArrayList size ()I (I)Ljava/lang/Object; getFieldActionService +()Lio/atlasmap/spi/AtlasFieldActionService; 'io/atlasmap/spi/AtlasFieldActionService findActionDetail P(Lio/atlasmap/v2/Action;Lio/atlasmap/v2/FieldType;)Lio/atlasmap/v2/ActionDetail; org/slf4j/Logger isDebugEnabled error *(Ljava/lang/String;Ljava/lang/Throwable;)V getDisplayName
getTargetType concerns +()[Lio/atlasmap/spi/AtlasConversionConcern;
getMessage 9(Lio/atlasmap/spi/AtlasConversionInfo;)Ljava/lang/String; NONE equals RANGE FORMAT FRACTIONAL_PART TIMEZONE WARN UNSUPPORTED
sourceType compareTo (Ljava/lang/Enum;)I
targetType java/lang/reflect/Method
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;??? ? ? ? ? ? ? "java/lang/invoke/LambdaMetafactory metafactory? Lookup InnerClasses ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! I K L M N O P Q R S X
*? *+? ? T - . / U
V W
M N X
M P O Y Z [ S h W*+,-? :-? ? :? ? ;? ? :*? ? ?
? ?*+,? ? ? ? ???? T &