Back to project page schat.
The source code is released under:
MIT License
If you think the Android project schat 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 data.contents; //from w w w .j a v a2 s. c o m import data.Content; /** * @author Gary Ye * @version 11/25/13 */ public class Login extends Content { private String id; /** * Create a Login content with the given id * @param id the id of the user to identify */ public Login(String id) { this.type = Type.LOGIN; this.id = id; } /** * Return the id * @return the id */ public String getId() { return id; } @Override public String toString() { return id; } }