Package br.com.sistelecom.entity

Examples of br.com.sistelecom.entity.Estado


    try{
      ps = conn.prepareStatement("select * from estado");
      rs = ps.executeQuery();
      List<Estado> list = new ArrayList<Estado>();
      while(rs.next()) {
        list.add(new Estado(rs.getInt(1), rs.getString(2), rs.getString(3)));
      }
      return list;
    } catch (Exception e) {
      e.printStackTrace();
    }
View Full Code Here


  /**
   * @return the estado
   */
  public Estado getEstado() {
    if (this.estado == null) {
      this.estado = new Estado();
    }
    return estado;
  }
View Full Code Here

TOP

Related Classes of br.com.sistelecom.entity.Estado

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.