@@ -0,0 +1,2734 @@
+// Copyright 2014 Tool Inc.%0A%0Apackage com.tool.emailbot.application.command;%0A%0Aimport com.tool.emailbot.common.application.command.Command;%0A%0Aimport java.util.Date;%0A%0A/**%0A * Command that specifies that a new email request should be created.%0A *%0A * @author Jovani Rico (jovanimtzrico@gmail.com)%0A */%0Apublic class RegisterEmailCommand implements Command %7B%0A%0A    private String name;%0A    private String fatherLastName;%0A    private String motherLastName;%0A    private Date fechaNacimiento;%0A    private String homoclave;%0A    private String numeroTrabajador;%0A    private String email;%0A    private String telephone;%0A    private String username;%0A%0A    public RegisterEmailCommand(String name, String fatherLastName, String motherLastName,%0A            Date fechaNacimiento, String homoclave, String numeroTrabajador, String email,%0A            String telephone, String username) %7B%0A        this.name = name;%0A        this.fatherLastName = fatherLastName;%0A        this.motherLastName = motherLastName;%0A        this.fechaNacimiento = fechaNacimiento;%0A        this.homoclave = homoclave;%0A        this.numeroTrabajador = numeroTrabajador;%0A        this.email = email;%0A        this.telephone = telephone;%0A        this.username = username;%0A    %7D%0A%0A    public String getName() %7B%0A        return name;%0A    %7D%0A%0A    public void setName(String name) %7B%0A        this.name = name;%0A    %7D%0A%0A    public String getFatherLastName() %7B%0A        return fatherLastName;%0A    %7D%0A%0A    public void setFatherLastName(String fatherLastName) %7B%0A        this.fatherLastName = fatherLastName;%0A    %7D%0A%0A    public String getMotherLastName() %7B%0A        return motherLastName;%0A    %7D%0A%0A    public void setMotherLastName(String motherLastName) %7B%0A        this.motherLastName = motherLastName;%0A    %7D%0A%0A    public Date getFechaNacimiento() %7B%0A        return fechaNacimiento;%0A    %7D%0A%0A    public void setFechaNacimiento(Date fechaNacimiento) %7B%0A        this.fechaNacimiento = fechaNacimiento;%0A    %7D%0A%0A    public String getHomoclave() %7B%0A        return homoclave;%0A    %7D%0A%0A    public void setHomoclave(String homoclave) %7B%0A        this.homoclave = homoclave;%0A    %7D%0A%0A    public String getNumeroTrabajador() %7B%0A        return numeroTrabajador;%0A    %7D%0A%0A    public void setNumeroTrabajador(String numeroTrabajador) %7B%0A        this.numeroTrabajador = numeroTrabajador;%0A    %7D%0A%0A    public String getEmail() %7B%0A        return email;%0A    %7D%0A%0A    public void setEmail(String email) %7B%0A        this.email = email;%0A    %7D%0A%0A    public String getTelephone() %7B%0A        return telephone;%0A    %7D%0A%0A    public void setTelephone(String telephone) %7B%0A        this.telephone = telephone;%0A    %7D%0A%0A    public String getUsername() %7B%0A        return username;%0A    %7D%0A%0A    public void setUsername(String username) %7B%0A        this.username = username;%0A    %7D%0A%7D%0A

Define a new command to register an email request