예제 #1
0
  @SuppressWarnings("unchecked")
  protected void BindRow() {
    try {
      view_plantillas_modulo pNode = new view_plantillas_modulo();

      pNode.setID_Plantilla(m_RS.getInt("ID_Plantilla"));
      pNode.setbID_Empleado(m_RS.getBoolean("bID_Empleado"));
      pNode.setbNomina(m_RS.getBoolean("bNomina"));
      pNode.setbTipo_Nomina(m_RS.getBoolean("bTipo_Nomina"));
      pNode.setbCompania_Sucursal(m_RS.getBoolean("bCompania_Sucursal"));
      pNode.setCompania(m_RS.getString("Compania"));
      pNode.setFecha(m_RS.getDate("Fecha"));
      pNode.setID_Movimiento(m_RS.getInt("ID_Movimiento"));
      pNode.setID_Empleado(m_RS.getString("ID_Empleado"));
      pNode.setMovimiento(m_RS.getString("Movimiento"));
      pNode.setDescripcion(m_RS.getString("Descripcion"));
      pNode.setAplicacion(m_RS.getString("Aplicacion"));
      pNode.setCalcular(m_RS.getBoolean("Calcular"));
      m_Rows.addElement(pNode);

    } catch (SQLException e) {
      e.printStackTrace();
      throw new RuntimeException(e.toString());
    }
  }
  @SuppressWarnings("unchecked")
  protected void BindRow() {
    try {
      view_usuarios_submodulo_roles pNode = new view_usuarios_submodulo_roles();

      pNode.setID_Usuario(m_RS.getString("ID_Usuario"));
      pNode.setID_Rol(m_RS.getString("ID_Rol"));
      pNode.setNombre(m_RS.getString("Nombre"));
      pNode.setEnrolado(m_RS.getBoolean("Enrolado"));

      m_Rows.addElement(pNode);

    } catch (SQLException e) {
      e.printStackTrace();
      throw new RuntimeException(e.toString());
    }
  }
예제 #3
0
  @SuppressWarnings("unchecked")
  protected void BindRow() {
    try {
      view_cont_ce_modulo pNode = new view_cont_ce_modulo();

      pNode.setMes(m_RS.getByte("Mes"));
      pNode.setAno(m_RS.getInt("Ano"));
      pNode.setCerrado(m_RS.getBoolean("Cerrado"));
      pNode.setGenerado(m_RS.getString("Generado"));
      pNode.setErrores(m_RS.getInt("Errores"));
      pNode.setAlertas(m_RS.getInt("Alertas"));

      m_Rows.addElement(pNode);

    } catch (SQLException e) {
      e.printStackTrace();
      throw new RuntimeException(e.toString());
    }
  }
예제 #4
0
  @SuppressWarnings("unchecked")
  protected void BindRow() {
    try {
      TBL_CATALOGOS pNode = new TBL_CATALOGOS();

      pNode.setID_Catalogo(m_RS.getInt("ID_Catalogo"));
      pNode.setNombre(m_RS.getString("Nombre"));
      pNode.setSelect_Clause(m_RS.getString("Select_Clause"));
      pNode.setPriDefault(m_RS.getString("PriDefault"));
      pNode.setSecDefault(m_RS.getString("SecDefault"));
      pNode.setSeguridad(m_RS.getString("Seguridad"));
      pNode.setAplRep(m_RS.getBoolean("AplRep"));

      m_Rows.addElement(pNode);

    } catch (SQLException e) {
      e.printStackTrace();
      throw new RuntimeException(e.toString());
    }
  }