public String contorlDatabaseElementAndReplece(String strings_of_element,DataElementInterface DE) {
        int i = 0;
        String parse ="";
        switch (DE.getType()) {
           case DATE:
               if(controlDate(strings_of_element))
                    return strings_of_element;
                        else
                    return "";
           case TIME:
               if(controlTime(strings_of_element))
                    return strings_of_element;
                        else
               return "";
           case VARCHAR:
                         
                if(contolVarChar(strings_of_element,this.dataSize(DE)))
                    return strings_of_element;
                        else
                return strings_of_element.substring(0,this.dataSize(DE));
           case URL:
               if(contolVarChar(strings_of_element,this.dataSize(DE)))
                    return strings_of_element;
                        else
                    return "";
           default:
               throw new AssertionError(DE.getType().name());
        }
    }