#2075 - Refactor external mapping (i.e. named queries from ebean.xml etc) - extract api and separate module

This commit is contained in:
rob bygrave
2020-10-12 14:54:25 +13:00
parent f57db28f1c
commit 49b1bd54c3
52 changed files with 817 additions and 259 deletions
@@ -0,0 +1,26 @@
package io.ebeaninternal.xmapping.api;
import java.util.ArrayList;
import java.util.List;
/**
* External DTO mapping.
*/
public class XmapDto {
protected final String clazz;
protected final List<XmapRawSql> rawSql = new ArrayList<>();
public XmapDto(String clazz) {
this.clazz = clazz;
}
public String getClazz() {
return clazz;
}
public List<XmapRawSql> getRawSql() {
return rawSql;
}
}