Back to project page simple-sqlite.
The source code is released under:
Apache License
If you think the Android project simple-sqlite 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.aldobo.simple.sqlite.entities; /*from w ww . j a va 2 s . c om*/ import com.aldobo.simple.sqlite.tags.Column; import com.aldobo.simple.sqlite.tags.Table; import com.aldobo.simple.sqlite.utils.Utils; public abstract class Model { public static Schema schema; @Column(type = SQLiteType.INT,primaryKey = true,autoIncrement = true) public Integer _id; public Model() { } public Schema getSchema() { if(schema==null) schema = Schema.Builder.initialize(getClass()); return schema; } }