<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
 
<beans>
  
  <bean name="bulkLoadProcessor" class="gov.nih.nci.ncicb.cadsr.bulkloader.CaDSRBulkLoadProcessor">
    <property name="transformer" ref="excelTransformer" />
    <property name="bulkLoader" ref="bulkLoader" />
  </bean>
                                <!-- Transformation -->
  
	<bean name="excelTransformer" class="gov.nih.nci.ncicb.cadsr.bulkloader.transformer.TransformerImpl" >
		<property name="unmarshaller" ref="excelUnMarshaller" />
		<property name="transformerValidation" ref="excelValidator" />
		<property name="transformation" ref="excelTransformation" />
		<property name="marshaller" ref="excelMarshaller" />
	</bean>
	
	<bean name="excelUnMarshaller" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.unmarshall.ExcelUnMarshaller" />
	<bean name="excelValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.validation.ExcelValidation" />
    <bean name="excelTransformation" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.transformation.ExcelTransformation" >
      <property name="dao" ref="DAOFacade" />
    </bean>
	<bean name="excelMarshaller" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.marshall.ExcelMarshaller" />


                                  <!-- Loading -->
  
	<bean name="bulkLoader" class="gov.nih.nci.ncicb.cadsr.bulkloader.loader.CaDSRBulkLoaderImpl" >
	  <property name="parser" ref="parser" />
	  <property name="validator" ref="validator" />
	  <property name="daoFacade" ref="DAOFacade" />
	  <property name="persister" ref="persister" />
	</bean>
  
  									<!-- Parser -->
  									
  <bean name="parser" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.ParserImpl" >
    <property name="schemaValidator" ref="schemaValidator" />
  	<property name="binder" ref="objectBinder" />
  	<property name="translator" ref="deTranslator" />
  </bean>
  
  <bean name="schemaValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.schema.validator.SchemaValidatorImpl"/>
  
									<!-- Binder -->
  									
  <bean name="objectBinder" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.bind.ISO11179SchemaBinder" />
    
  
  									<!-- Translators -->
  									  
  <bean name="deTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.DataElementTranslator" >
  	<property name="child" ref="decTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="decTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.DataElementConceptTranslator" >
  	<property name="child" ref="ocTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="ocTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ObjectClassTranslator" >
  	<property name="child" ref="propertiesTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="propertiesTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.PropertiesTranslator" >
  	<property name="child" ref="vdTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="vdTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ValueDomainTranslator" >
  	<property name="child" ref="cdTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="cdTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ConceptualDomainTranslator" >
  	<property name="child" ref="vmTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="vmTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ValueMeaningTranslator" >
  	<property name="child" ref="conceptsTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="conceptsTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ConceptsTranslator" >
  	<property name="child" ref="csTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="csTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ClassificationSchemeTranslator" >
  	<property name="child" ref="csiTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="csiTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ClassificationSchemeItemTranslator" >
    <property name="daoFacade" ref="DAOFacade" />
  </bean>


  									<!-- Validators -->
  									
  <bean name="validator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.ValidationImpl" >
  	<property name="validators">
  		<list>
  		  <ref bean="idValidator" />
  		  <ref bean="blConceptValidator" />
  		  <ref bean="csCSIValidator" />
  		  <ref bean="loaderValueDomainValidator"/>
  		  <ref bean="altNameTypeValidator"/>
  		  <ref bean="defLengthValidator"/>
  		  <ref bean="retElemValidator"/>
  		</list>
  	</property>
  </bean>
  
  <bean name="idValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.IdValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="blConceptValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.ConceptValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean> 
  <bean name="csCSIValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.CSCSIValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="altNameTypeValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.AlternateNameTypeValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="defLengthValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.DefinitionLengthValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="retElemValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.RetiredElementsValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
    
                              <!-- Persister -->
    
  <bean name="persister" class="gov.nih.nci.ncicb.cadsr.bulkloader.persist.PersisterImpl">
    <property name="dao" ref="DAOFacade" />
  </bean><commit_msg>validators reorganizing<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
 
<beans>
  
  <bean name="bulkLoadProcessor" class="gov.nih.nci.ncicb.cadsr.bulkloader.CaDSRBulkLoadProcessor">
    <property name="transformer" ref="excelTransformer" />
    <property name="bulkLoader" ref="bulkLoader" />
  </bean>
                                <!-- Transformation -->
  
	<bean name="excelTransformer" class="gov.nih.nci.ncicb.cadsr.bulkloader.transformer.TransformerImpl" >
		<property name="unmarshaller" ref="excelUnMarshaller" />
		<property name="transformerValidation" ref="excelValidator" />
		<property name="transformation" ref="excelTransformation" />
		<property name="marshaller" ref="excelMarshaller" />
	</bean>
	
	<bean name="excelUnMarshaller" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.unmarshall.ExcelUnMarshaller" />
	<bean name="excelValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.validation.ExcelValidation" />
    <bean name="excelTransformation" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.transformation.ExcelTransformation" >
      <property name="dao" ref="DAOFacade" />
    </bean>
	<bean name="excelMarshaller" class="gov.nih.nci.ncicb.cadsr.bulkloader.excel.transformer.marshall.ExcelMarshaller" />


                                  <!-- Loading -->
  
	<bean name="bulkLoader" class="gov.nih.nci.ncicb.cadsr.bulkloader.loader.CaDSRBulkLoaderImpl" >
	  <property name="parser" ref="parser" />
	  <property name="validator" ref="validator" />
	  <property name="daoFacade" ref="DAOFacade" />
	  <property name="persister" ref="persister" />
	</bean>
  
  									<!-- Parser -->
  									
  <bean name="parser" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.ParserImpl" >
    <property name="schemaValidator" ref="schemaValidator" />
  	<property name="binder" ref="objectBinder" />
  	<property name="translator" ref="deTranslator" />
  </bean>
  
  <bean name="schemaValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.schema.validator.SchemaValidatorImpl"/>
  
									<!-- Binder -->
  									
  <bean name="objectBinder" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.bind.ISO11179SchemaBinder" />
    
  
  									<!-- Translators -->
  									  
  <bean name="deTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.DataElementTranslator" >
  	<property name="child" ref="decTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="decTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.DataElementConceptTranslator" >
  	<property name="child" ref="ocTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="ocTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ObjectClassTranslator" >
  	<property name="child" ref="propertiesTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="propertiesTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.PropertiesTranslator" >
  	<property name="child" ref="vdTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="vdTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ValueDomainTranslator" >
  	<property name="child" ref="cdTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="cdTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ConceptualDomainTranslator" >
  	<property name="child" ref="vmTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="vmTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ValueMeaningTranslator" >
  	<property name="child" ref="conceptsTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="conceptsTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ConceptsTranslator" >
  	<property name="child" ref="csTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="csTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ClassificationSchemeTranslator" >
  	<property name="child" ref="csiTranslator" />
    <property name="daoFacade" ref="DAOFacade" />
  </bean>
  
  <bean name="csiTranslator" class="gov.nih.nci.ncicb.cadsr.bulkloader.parser.translate.ClassificationSchemeItemTranslator" >
    <property name="daoFacade" ref="DAOFacade" />
  </bean>


  									<!-- Validators -->
  									
  <bean name="validator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.ValidationImpl" >
  	<property name="validators">
  		<list>
  		  <!-- Bulk Loader Validators -->
  		  
  		  <ref bean="blConceptValidator" />
  		  <ref bean="propValidator" />
  		  <ref bean="ocValidator" />
  		  <ref bean="decValidator"/>
  		  <ref bean="blVDValidator"/>
  		  <ref bean="deValidator"/>
  		  
  		  <!-- UML Loader Validators -->
  		  <ref bean="loaderValueDomainValidator"/>
  		</list>
  	</property>
  </bean>
  
  <bean name="deValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.DataElementValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="decValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.DataElementConceptValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="ocValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.ObjectClassValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="propValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.PropertyValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="blVDValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.ValueDomainValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean>
  <bean name="blConceptValidator" class="gov.nih.nci.ncicb.cadsr.bulkloader.validate.validators.ConceptValidator" >
    <property name="dao" ref="DAOFacade" />
  </bean> 
    
                              <!-- Persister -->
    
  <bean name="persister" class="gov.nih.nci.ncicb.cadsr.bulkloader.persist.PersisterImpl">
    <property name="dao" ref="DAOFacade" />
  </bean>
{'fraction_non_alphanumeric': 0.16221749744074337, 'fraction_numerical': 0.0012599417276950942, 'mean_word_length': 4.011838989739542, 'pattern_counts': {'":': 0, '<': 229, '<?xml version=': 2, '>': 229, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5204518', 'n_tokens_mistral': 4763, 'n_tokens_neox': 4605, 'n_words': 532}