io.atlasmap.xml.module.XmlValidationService.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4 ?
. g h i
j k - l
- m n o p q
r s t u - v w x y z { | } x ~
?
? x ? ? ? ? ? ? ?
? ?
?
?
? ?
? ? ?
? ? ? ?
- ?
- ? ?
+ ? ? ? validatorMap Ljava/util/Map; Signature CLjava/util/Map; moduleDetail #Lio/atlasmap/spi/AtlasModuleDetail; T(Lio/atlasmap/spi/AtlasConversionService;Lio/atlasmap/spi/AtlasFieldActionService;)V Code LineNumberTable LocalVariableTable this -Lio/atlasmap/xml/module/XmlValidationService; conversionService (Lio/atlasmap/spi/AtlasConversionService; fieldActionService )Lio/atlasmap/spi/AtlasFieldActionService; init ()V javaFileNameNonNullValidator )Lio/atlasmap/validators/NonNullValidator; javaFilePathNonNullValidator inputFieldTypeNonNullValidator outputFieldTypeNonNullValidator fieldTypeNonNullValidator destroy getModuleDetail %()Lio/atlasmap/spi/AtlasModuleDetail; getFieldType ()Ljava/lang/Class; 2()Ljava/lang/Class; getModuleFieldName 1(Lio/atlasmap/xml/v2/XmlField;)Ljava/lang/String; field Lio/atlasmap/xml/v2/XmlField;
StackMapTable ? validateModuleField b(Ljava/lang/String;Lio/atlasmap/xml/v2/XmlField;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V
validation Lio/atlasmap/v2/Validation; mappingId Ljava/lang/String; direction Lio/atlasmap/spi/FieldDirection; validations Ljava/util/List; LocalVariableTypeTable -Ljava/util/List; (Ljava/lang/String;Lio/atlasmap/xml/v2/XmlField;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V *(Lio/atlasmap/v2/Field;)Ljava/lang/String; [(Ljava/lang/String;Lio/atlasmap/v2/Field;Lio/atlasmap/spi/FieldDirection;Ljava/util/List;)V VLio/atlasmap/core/validate/BaseModuleValidationService;
SourceFile XmlValidationService.java 5 6 io/atlasmap/xml/module/XmlModule !io/atlasmap/spi/AtlasModuleDetail ? ? ? 3 4 @ A 'io/atlasmap/validators/NonNullValidator ? ? ? +The name element must not be null nor empty 5 ? +The path element must not be null nor empty 'Field type should not be null nor empty 'Filed type should not be null nor empty / 0 xml.field.type.not.null ? ? ? xml.field.name.not.null xml.field.path.not.null input.field.type.not.null output.field.type.not.null ? A io/atlasmap/xml/v2/XmlField ? ? ? ? ? ? io/atlasmap/spi/AtlasValidator ? ? ? ? ? ? ? [ K ? io/atlasmap/v2/Validation 5 A ? ? ? ? %One of path or name must be specified ? ? ? ? ? ? ? ? ? ? ? N O T U java/util/HashMap +io/atlasmap/xml/module/XmlValidationService 5io/atlasmap/core/validate/BaseModuleValidationService java/lang/String java/lang/Class
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; io/atlasmap/v2/ValidationScope MAPPING Lio/atlasmap/v2/ValidationScope; 5(Lio/atlasmap/v2/ValidationScope;Ljava/lang/String;)V
java/util/Map put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; clear getName ()Ljava/lang/String; getPath get &(Ljava/lang/Object;)Ljava/lang/Object; io/atlasmap/v2/ValidationStatus WARN !Lio/atlasmap/v2/ValidationStatus; validate X(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;Lio/atlasmap/v2/ValidationStatus;)V io/atlasmap/spi/FieldDirection SOURCE ()Lio/atlasmap/v2/FieldType; setScope #(Lio/atlasmap/v2/ValidationScope;)V setId (Ljava/lang/String;)V
setMessage ERROR setStatus $(Lio/atlasmap/v2/ValidationStatus;)V java/util/List add (Ljava/lang/Object;)Z 7(Ljava/lang/Object;Ljava/util/List;Ljava/lang/String;)V ! - .
/ 0 1 2 3 4
5 6 7 c *+,? *? ? ? *? ? 8 ( % ) * 9 : ; <