package org.intellij.ibatis.dom.configuration;

import com.intellij.javaee.model.xml.CommonDomModelRootElement;
import com.intellij.util.xml.SubTagList;
import com.intellij.util.xml.SubTagsList;

import java.util.List;

/**
 * iBATIS configuration xml file model
 */
public interface SqlMapConfig extends CommonDomModelRootElement {
    public Properties getProperties();

    public Settings getSettings();

    public ResultObjectFactory getResultObjectFactory();

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

    @SubTagList("sqlMap")
    public List<SqlMap> getSqlMaps();
}

@@ -153,51 +153,8 @@
 st;%0D
-%0Aimport com.intellij.util.xml.SubTagsList;%0D
 %0A%0D%0Ai
@@ -576,12 +576,73 @@
 Maps();%0D
+%0A%0D%0A    @SubTagList(%22sqlMap%22)%0D%0A    public SqlMap addSqlMap();%0D
 %0A%7D%0D%0A

create SqlMap added