Back to project page ormada.
The source code is released under:
Copyright (c) 2012 Jesse Rosalia Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sof...
If you think the Android project ormada 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 org.ormada.model; //from ww w .j a v a 2s.c o m /** * A built in model class used to hold metadata about the ORM database structure. * This allows us to do database/ORM versioning, and upgrade/replace tables * accordingly. * * NOTE: Some databases/APIs have this built in...this is for those that do not. * * @author Jesse Rosalia * */ public class ORMeta { private long id; private int ormVersion; private int dbVersion; public long getId() { return id; } public void setId(long id) { this.id = id; } public int getOrmVersion() { return ormVersion; } public void setOrmVersion(int ormVersion) { this.ormVersion = ormVersion; } public int getDbVersion() { return dbVersion; } public void setDbVersion(int dbVersion) { this.dbVersion = dbVersion; } }