Back to project page LinuxZaSve_mobile.
The source code is released under:
Apache License
If you think the Android project LinuxZaSve_mobile 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.linuxzasve.mobile.db; //from www . ja v a2 s. c o m import com.activeandroid.Model; import com.activeandroid.annotation.Column; import com.activeandroid.annotation.Table; import com.activeandroid.query.Select; import java.util.List; @Table(name = "COMMENT") public class Comment extends Model{ @Column(name = "NAME") public String name; @Column(name = "EMAIL") public String email; public Comment(){ super(); } public Comment(String name, String email){ super(); this.name = name; this.email = email; } public static List<Comment> all() { return new Select() .from(Comment.class) .execute(); } }