Back to project page Android-Perka.
The source code is released under:
Apache License
If you think the Android project Android-Perka 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 com.michaelbarany.perka; //from w w w. j a v a 2 s. c o m public class ApplicationForm { String first_name; String last_name; String email; String position_id = "ANDROID"; String explanation = "https://github.com/mbarany/Android-Perka"; String source; String resume; /** * resume gets validated later */ public boolean validates() { return !hasNulls() && first_name.length() > 0 && last_name.length() > 0 && email.length() > 0 && source.length() > 0; } private boolean hasNulls() { return null == first_name || null == last_name || null == email || null == source; } }