/* * Paciente.java * * Created on 20 de Abril de 2006, 09:10 * * To change this template, choose Tools | Template Manager * and open the template in the editor. */ package business; /** * * @author 008802 */ public class Paciente { private String nome; private int idade; /** Creates a new instance of Paciente */ public Paciente() { } public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public int getIdade() { return idade; } public void setIdade(int idade) { this.idade = idade; } public String toString(){ return nome + " - " + idade; } }