<commit_before>package org.intellij.ibatis.dom.sqlMap;

import com.intellij.javaee.model.xml.CommonDomModelRootElement;
import com.intellij.util.xml.DomElement;
import com.intellij.util.xml.GenericAttributeValue;
import com.intellij.util.xml.SubTagList;
import com.intellij.util.xml.SubTagsList;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * iBATIS sqlmap configuration file
 */
public interface SqlMap extends CommonDomModelRootElement {
    @Nullable
    public GenericAttributeValue<String> getNamesapce();

    @SubTagList("typeAlias")
    public List<TypeAlias> getTypeAlias();

    @SubTagList("parameterMap")
    public List<ParameterMap> getParameterMap();

    @SubTagList("resultMap")
    public List<ResultMap> getResultMaps();

    @SubTagList("sql")
    public List<Sql> getSqls();

    @SubTagList("select")
    public List<Select> getSelects();

    @SubTagList("insert")
    public List<Insert> getInserts();

    @SubTagList("update")
    public List<Update> getUpdates();

    @SubTagList("delete")
    public List<Delete> getDeletes();

    @SubTagList("statement")
    public List<Statement> getStatements();

    @SubTagList("procedure")
    public List<Procedure> getProcedures();

    @SubTagsList({"select", "insert", "delete", "update", "statement", "procedure"})
    public List<DomElement> getAllReference();

    @SubTagList("cacheModel")
    public List<CacheModel> getCacheModels();

}<commit_msg>add statement creation code<commit_after>package org.intellij.ibatis.dom.sqlMap;

import com.intellij.javaee.model.xml.CommonDomModelRootElement;
import com.intellij.util.xml.*;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * iBATIS sqlmap configuration file
 */
public interface SqlMap extends CommonDomModelRootElement {
    @Nullable
    public GenericAttributeValue<String> getNamesapce();

    @SubTagList("typeAlias")
    public List<TypeAlias> getTypeAlias();

    @SubTagList("parameterMap")
    public List<ParameterMap> getParameterMap();

    @SubTagList("resultMap")
    public List<ResultMap> getResultMaps();

    @SubTagList("sql")
    public List<Sql> getSqls();

    @SubTagList("select")
    public List<Select> getSelects();

    @NotNull
    public Select addSelect();

    @SubTagList("insert")
    public List<Insert> getInserts();

    @NotNull
    public Insert addInsert();

    @SubTagList("update")
    public List<Update> getUpdates();

    @NotNull
    public Update addUpdate();
    
    @SubTagList("delete")
    public List<Delete> getDeletes();

    @NotNull
    public Delete addDelete();
    
    @SubTagList("statement")
    public List<Statement> getStatements();

    @NotNull
    public Statement addStatement();

    @SubTagList("procedure")
    public List<Procedure> getProcedures();

    @NotNull
    public Procedure addProcedure();

    @SubTagsList({"select", "insert", "delete", "update", "statement", "procedure"})
    public List<DomElement> getAllReference();

    @SubTagList("cacheModel")
    public List<CacheModel> getCacheModels();

}
{'fraction_non_alphanumeric': 0.12780989081567115, 'fraction_numerical': 0.0, 'mean_word_length': 4.59245960502693, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, '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': '2227466', 'n_tokens_mistral': 963, 'n_tokens_neox': 925, 'n_words': 187}