49 lines
1.3 KiB
Java
49 lines
1.3 KiB
Java
package org.greenrobot.greendao;
|
|
|
|
import org.greenrobot.greendao.query.WhereCondition;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class Property {
|
|
public final int a;
|
|
public final Class<?> b;
|
|
public final String c;
|
|
public final boolean d;
|
|
public final String e;
|
|
|
|
public Property(int i, Class<?> cls, String str, boolean z, String str2) {
|
|
this.a = i;
|
|
this.b = cls;
|
|
this.c = str;
|
|
this.d = z;
|
|
this.e = str2;
|
|
}
|
|
|
|
public WhereCondition a(Object obj) {
|
|
return new WhereCondition.PropertyCondition(this, "=?", obj);
|
|
}
|
|
|
|
public WhereCondition b(Object obj) {
|
|
return new WhereCondition.PropertyCondition(this, ">?", obj);
|
|
}
|
|
|
|
public WhereCondition c(Object obj) {
|
|
return new WhereCondition.PropertyCondition(this, "<=?", obj);
|
|
}
|
|
|
|
public WhereCondition d(Object obj) {
|
|
return new WhereCondition.PropertyCondition(this, "<>?", obj);
|
|
}
|
|
|
|
public WhereCondition a(String str) {
|
|
return new WhereCondition.PropertyCondition(this, " LIKE ?", str);
|
|
}
|
|
|
|
public WhereCondition b() {
|
|
return new WhereCondition.PropertyCondition(this, " IS NULL");
|
|
}
|
|
|
|
public WhereCondition a() {
|
|
return new WhereCondition.PropertyCondition(this, " IS NOT NULL");
|
|
}
|
|
}
|