Back to project page sqlite-provider.
The source code is released under:
Apache License
If you think the Android project sqlite-provider 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.novoda.sqliteprovider.demo.domain; //from ww w.j a va 2s. c o m import android.text.TextUtils; import java.io.Serializable; public class UseCaseInfo implements Serializable { private final String uri; private final String sql; public UseCaseInfo(String uri, String sql) { this.uri = uri; this.sql = sql; } public String getUri() { return uri; } public String getSql() { return sql; } public boolean isValid() { return !TextUtils.isEmpty(uri) && !TextUtils.isEmpty(sql); } public static UseCaseInfo getNullSafe() { return new UseCaseInfo("", ""); } }