Android Open Source - logmein-android User Structure






From Project

Back to project page logmein-android.

License

The source code is released under:

GNU General Public License

If you think the Android project logmein-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/**
 *   LogMeIn - Automatically log into Panjab University Wifi Network
 *//from  ww w .  ja v  a2  s .c om
 *   Copyright (c) 2014 Shubham Chaudhary <me@shubhamchaudhary.in>
 *   Copyright (c) 2014 Tanjot Kaur <tanjot28@gmail.com>
 *
 *   This file is part of LogMeIn.
 *
 *   LogMeIn is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   LogMeIn is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with LogMeIn.  If not, see <http://www.gnu.org/licenses/>.
 */

package org.developfreedom.logmein;

import java.io.Serializable;

/**
 * DataStructure used to pass user information safely
 * b/w functions and classes.
 */
public class UserStructure implements Serializable {
    String username;
    String password;

    /**
     * Get this user's username
     * @return
     */
    public String getUsername() {
        return (username);
    }//end of getUsername()

    /**
     * Set this user's username to un
     * @param un
     */
    public void setUsername(String un) {
        username = un;
    }//end of setUsername(String)

    /**
     * Get this user's password
     * @return
     */
    public String getPassword() {
        return (password);
    }//end of getPassword()

    /**
     * Set this user's password to pwd
     * @param pwd
     */
    public void setPassword(String pwd) {
        password = pwd;
    }//end of set_password(String)
}
// vim: set ts=4 sw=4 tw=79 et :





Java Source Code List

org.developfreedom.logmein.DatabaseEngine.java
org.developfreedom.logmein.DatabaseOpenHelper.java
org.developfreedom.logmein.LoginService.java
org.developfreedom.logmein.NetworkEngine.java
org.developfreedom.logmein.UserStructure.java
org.developfreedom.logmein.ui.MainActivity.java
org.developfreedom.logmein.ui.ManagerUserServices.java
org.developfreedom.logmein.ui.SettingsActivity.java