use of org.dbflute.logic.sql2entity.analyzer.DfSql2EntityMark in project dbflute-core by dbflute.
the class DfPmFileTableLoader method processSpecifiedDetect.
protected void processSpecifiedDetect(String fileText, Map<String, String> propertyNameTypeMap, Map<String, String> propertyNameOptionMap, Set<String> propertyNameSet) {
final List<DfSql2EntityMark> propertyTypeList = new DfSql2EntityMarkAnalyzer().getParameterBeanPropertyTypeList(fileText);
for (DfSql2EntityMark mark : propertyTypeList) {
final String content = mark.getContent();
final String propertyType = Srl.substringFirstFront(content, " ").trim();
final String propertyName = Srl.substringFirstRear(content, " ").trim();
propertyNameTypeMap.put(propertyName, resolvePackageName(propertyType));
propertyNameSet.add(propertyName);
}
}
use of org.dbflute.logic.sql2entity.analyzer.DfSql2EntityMark in project dbflute-core by dbflute.
the class DfMailFluteTableLoader method processSpecifiedDetect.
protected void processSpecifiedDetect(String fileText, Map<String, String> propertyNameTypeMap, Map<String, String> propertyNameOptionMap, Set<String> propertyNameSet) {
final List<DfSql2EntityMark> propertyTypeList = new DfSql2EntityMarkAnalyzer().getParameterBeanPropertyTypeList(fileText);
for (DfSql2EntityMark mark : propertyTypeList) {
final String content = mark.getContent();
final String propertyType = Srl.substringFirstFront(content, " ").trim();
final String propertyName = Srl.substringFirstRear(content, " ").trim();
propertyNameTypeMap.put(propertyName, resolvePackageName(propertyType));
propertyNameSet.add(propertyName);
}
}
Aggregations