<commit_before>package it.csttech.dbloader;

import it.csttech.dbloader.entities.*;
import it.csttech.dbloader.loader.*;
import it.csttech.dbloader.orm.*;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.lang.reflect.Method;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import java.lang.reflect.InvocationTargetException;

/**
* A cli interface to launch a simple ETL Suite
*
* <p>
* main che legge le prop con l'opt -D
* @see http://stackoverflow.com/questions/5045608/proper-usage-of-java-d-command-line-parameters
* </p>
*
* @author drago-orsone, MasterToninus
*
*/
public class UseDBLoader {

  static final Logger log = LogManager.getLogger();

  public static void main(String[] args ){


    Properties prop = readProperties(System.getProperty("prop.File"));

    try{
      BeanInfo beanInfo = Orm.buildInfo(prop.getProperty("bean.class"));
      beanInfo.test();

      Record record = new Record();
	//Object[] object {1, "Pippo", new Date(12/12/2012), 1.56, true};
      Method metodo = beanInfo.getSetters().get(0);
      //System.out.println(metodo.getName() + " " + metodo.getReturnType() + " " + metodo.getParameterTypes());
      metodo.invoke(record, 1);
      //System.out.format(" %s ", record.getName());
	System.out.println("\n");	
	for (int i = 0; i < 5; i++)
		System.out.println(beanInfo.getGetters().get(i).getName() + " " + beanInfo.getSetters().get(i).getName());




    } catch ( ClassNotFoundException | IllegalAccessException | InvocationTargetException ex){
      ex.printStackTrace();
    }

<commit_msg>Working tes on setters and getters<commit_after>package it.csttech.dbloader;

import it.csttech.dbloader.entities.*;
import it.csttech.dbloader.loader.*;
import it.csttech.dbloader.orm.*;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.lang.reflect.Method;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import java.lang.reflect.InvocationTargetException;

import java.util.Date;

/**
* A cli interface to launch a simple ETL Suite
*
* <p>
* main che legge le prop con l'opt -D
* @see http://stackoverflow.com/questions/5045608/proper-usage-of-java-d-command-line-parameters
* </p>
*
* @author drago-orsone, MasterToninus
*
*/
public class UseDBLoader {

  static final Logger log = LogManager.getLogger();

  public static void main(String[] args ){


    Properties prop = readProperties(System.getProperty("prop.File"));

    try{
      	BeanInfo beanInfo = Orm.buildInfo(prop.getProperty("bean.class"));
      	beanInfo.test();
      	Record record = new Record();
	Object[] object = {1, "Pippo", new Date(1450656000000L), 1.56, true};
	System.out.println("\n");
	for (int i = 0; i < 5; i++) {
		beanInfo.getSetters().get(i).invoke(record, object[i]);
		System.out.println(beanInfo.getGetters().get(i).invoke(record));
	}
    } catch ( ClassNotFoundException | IllegalAccessException | InvocationTargetException ex){
      ex.printStackTrace();
    }


{'fraction_non_alphanumeric': 0.1482780612244898, 'fraction_numerical': 0.016900510204081634, 'mean_word_length': 4.1851239669421485, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7137308', 'n_tokens_mistral': 1065, 'n_tokens_neox': 1032, 'n_words': 213}