public void loadXML(Node entrynode, ArrayList databases) throws KettleXMLException { try { setName(XMLHandler.getTagValue(entrynode, "name")); setDescription(XMLHandler.getTagValue(entrynode, "description")); String stype = XMLHandler.getTagValue(entrynode, "type"); setType(JobEntryCopy.getType(stype)); } catch (Exception e) { throw new KettleXMLException("Unable to load base info for job entry", e); } }
public JobEntryBase(JobEntryBase jeb) { setName(jeb.getName()); setDescription(jeb.getDescription()); setType(jeb.getType()); setID(jeb.getID()); }