/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.redoutevant.gitproject;

/**
 *
 * @author Luís Oliveira
 * @serial 2171026 09:47
 */
public class ValidarLogin {

    private String username;

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

}

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.redoutevant.gitproject;

/**
 *
 * @author Luís Oliveira
 * @serial 2171026 09:54
 */
public class ValidarLogin {

    private String username;

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }
    
    public static void main(String[] args) {
        
    }

}

Update ValidarLogin.java