net.sf.xmlform.data.SourceData Maven / Gradle / Ivy
package net.sf.xmlform.data;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import net.sf.xmlform.query.Query;
/**
* @author Liu Zhikun
*/
public class SourceData implements Serializable{
private static final long serialVersionUID = 245396904256552562L;
private List data=new ArrayList(1);
private SourceInfos sourceInfos=new SourceInfos();
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
public SourceInfos getSourceInfos() {
return sourceInfos;
}
public void setSourceInfos(SourceInfos sourceInfos) {
this.sourceInfos = sourceInfos;
}
public boolean isQuery(){
return data.size()>0&&(data.get(0) instanceof Query);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy