* The interface for (VarpageBean, VarTableBean, VarrowBean or
* VarvarBean)
* @return
*/
private Element instanciateElement(VarBean varBean) {
Element element;
element = (Element) createElement(varBean.getType());
// System.out.println(varBean.getType() + " " + varBean.getId() + " " +
// varBean.getPrinting());
element.setAutoId(varBean.getAutoid());
element.setParentAutoId(varBean.getParentautoid());
element.setId(varBean.getId());
element.setParentId(varBean.getParentid());
element.setOrderNo(varBean.getOrdernumber().intValue());
element.setType(varBean.getType());
// element.setService(varBean.getService());
element.setExplanation(varBean.getExplanation());
element.setPrinting(varBean.getPrinting());
return element;
}