Back to project page ArrecebaAndroid.
The source code is released under:
GNU General Public License
If you think the Android project ArrecebaAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package br.com.projetointegrador.TO; //from www .java 2s.c o m public class User { public int UserId; public String Name, Email, Login, Password; public char Sexo, LembrarSenha; /** * * @return Msg de erro caso usurio no seja vlido ou null caso usurio for vlido */ public String valid() { if (Name.equals("")) { return "O nome obrigatrio!"; } else if (Email.equals("")) { return "O email obrigatrio!"; } else if (Login.equals("")) { return "O login obrigatrio!"; } else if (Password.equals("")) { return "A senha obrigatria!"; } return null; } }