mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2075 - Refactor external mapping (i.e. named queries from ebean.xml etc) - extract api and separate module
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user