我想配置xml文件以映射到扩展类,但是获取UndefinedMappingException。我能找到的唯一相关主题是this
这是我的实施:
Dim ts As TimeSpan = DateTime.Now - serverDate
目的地类:
var newScrollLeft=$('#scrollquestion').scrollLeft();
var divWidth = $('#scrollquestion').outerWidth();
var scrollwidth =$('#scrollquestion').get(0).scrollWidth;
if(newScrollLeft === scrollwidth - divWidth){
alert('right end');
}
扩展类:
JMapper<RequestD, RequestS> mapper =
new JMapper<>(RequestD.class, RequestS.class, "jmapper.xml");
RequestD requestD = mapper.getDestination(someRequestS);
来源类:
public class RequestD extends RequestBase {
private static final long serialVersionUID = 1L;
}
jmapper.xml:
public abstract class RequestBase implements Serializable {
private static final long serialVersionUID = 1L;
private Language language;
private DateTime requestDateTime;
private String currency;
private Order order;
/**
* Getters and Setters
*/