// private void getAllVariableElements(Connection con,
// Map<String, Collection<VarattributeBean>> attributeMap,
// Collection<VarBean> col) {
private void getAllVariableElements(Connection con, Collection<VarBean> col) {
StandardVariable variable;
for (VarBean varBean : col) {
// Populate (make an instance) of the element
variable = (StandardVariable) instanciateElement(varBean);
// Set the row name
// variable.setParentId(varBean.getParentid());
variable.setDataId(((VarvarBean) varBean).getDataid());
// Set the help text ID, and description ID
variable.setHelpTextID(variable.getId() + "_H");
variable.setDescriptionID(variable.getId() + "_D");
// set scripts, intervals, services, attributes
populateDynamics(con, variable);
// Populate with attributes
// populateAttributes(attributeMap, variable, variable.getId());