Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Estructura de Datos - Facultad de Ingenieria - Universidad Nacional de Jujuy
- *
- * @Autor: Equipo 4.1
- */
- /* @integrantes: | @Carrera: | @LU:
- Flores ,Cesar Ismael | Lic. en Sistemas | 1782
- Llampa, Ariel Angel Gabriel | Ing. Informatica | 8445
- Machaca, Rodrigo Agustin | Ing. Informatica | 8512
- Perez, Emanuel Ismael | Ing. Informatica | 8393
- Quispe Rojas, Moises Esteban Nicolas | Ing. Informatica | 7286
- Clase correo
- */
- package Queue;
- public class Mail {
- private String sender; // Remitente
- private String isuue; // Asunto
- private String body; // Cuerpo
- public Mail(String sender, String isuue, String body) {
- this.sender = sender;
- this.isuue = isuue;
- this.body = body;
- }
- public String getSender() {
- return sender;
- }
- public void setSender(String sender) {
- this.sender = sender;
- }
- public String getIsuue() {
- return isuue;
- }
- public void setIsuue(String isuue) {
- this.isuue = isuue;
- }
- public String getBody() {
- return body;
- }
- public void setBody(String body) {
- this.body = body;
- }
- @Override
- public String toString() {
- return "Mail{" +
- "\n Remitente= " + sender +
- "\n Asunto= " + isuue +
- "\n Cuerpo= " + body +
- "\n}\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement